Nome: Moving Wagon
Versão do TFS: 1.x
Script: Printer
Preview
Script
actions.xml
<action fromaid="5000" toaid="5003" script="wagon.lua" />
wagon.lua
railDirection = {
[7123] = {DIRECTION_EAST, DIRECTION_SOUTH},
[7124] = {DIRECTION_WEST, DIRECTION_SOUTH},
[7125] = {DIRECTION_EAST, DIRECTION_NORTH},
[7126] = {DIRECTION_WEST, DIRECTION_NORTH}
}
}
local function getRail(position)
local tile = Tile(position)
if