Code: Select all
Lua/Entity
Lua/Player
Lua/Train
Lua/GUI (Lua/GuiElement?)
Lua/Inventory
While testing I found that game.createentity{name="diesel-locomotive", position=game.findnoncollidingposition("diesel-locomotive", game.player.position, 100, 1)} will fail "for an unknown reason", unless there are tracks close enough for it to be placed on, in which case it works (basically...I've found the reason lol).
script I used for testing if you care to see it
script
script output cause why not