Hi, I had this script in a previous version based on Tfs 1.3 and worked fine, but now console show this error on Tfs 1.3 revscript. Im using 8.6 version. someone would help me fixing this script? Thanks in advance!
![regeneration tile.png]()
![regeneration tile.png]()
regen.lua
Error on regeneration tile


regen.lua
Lua:
local dirs = {
[0] = {x = 0, y = -1, nx = 7}, -- North
[1] = {x = 1, y = 0, nx = 5}, -- East
[2] = {x = 0, y = 1, nx = 4}, -- South...