Factorio mod that adds a shortcut key to toggle trains between auto and manual
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12345678910
  1. if not data.raw["custom-input"] or not data.raw["custom-input"]["toggle-train-control"] then
  2. data:extend({
  3. {
  4. type = "custom-input",
  5. name = "toggle-train-control",
  6. key_sequence = "J"
  7. }
  8. })
  9. end