Would someone be able to make an edit/take ownership of the mod Shuttle Train (https://mods.factorio.com/mods/simwir/ShuttleTrain) and include a module (like the FARL module) that gives functionality of a shuttle train to any locomotive?
Usage case would be bobs mods games where you get upgraded locomotives, but your personal shuttle train is still mk1 speed
[REQUEST] Make a "module" from Shuttle Trains
-
- Burner Inserter
- Posts: 9
- Joined: Sun Mar 12, 2017 4:20 am
- Contact:
Re: [REQUEST] Make a "module" from Shuttle Trains
I might take a stab at this.
Quick glance
Need to look in it deeper but might possible to just add the module check there.
Quick glance
Code: Select all
function isShuttle(locomotive)
if locomotive.name == "shuttleTrain" then
return true
else
return false
end
end
-
- Burner Inserter
- Posts: 9
- Joined: Sun Mar 12, 2017 4:20 am
- Contact:
Re: [REQUEST] Make a "module" from Shuttle Trains
Thanks for that, I thought it shouldnt be too difficult, I even had a look around in the FARL files myself to try and duplicate the functionality. But I'm no coder by any stretch of the imagination, and have zero experience with LUA.
I've tried to contact the author via the mod portal and tgeir website with no response, so hopefully you can help me out without too much trouble.
Thanks again, I really appreciate it
I've tried to contact the author via the mod portal and tgeir website with no response, so hopefully you can help me out without too much trouble.
Thanks again, I really appreciate it
Re: [REQUEST] Make a "module" from Shuttle Trains
Putting some finishing polishes on Shuttle Train V2, hope to have a release by this time tomorrow.