Factorio mod that adds a shortcut key to toggle trains between auto and manual
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

data.lua 252B

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