- WIP EL_ALIEN AI
This commit is contained in:
4
mapa.lua
4
mapa.lua
@@ -1,5 +1,5 @@
|
||||
--mapa={}
|
||||
tiletype={void=0,stair=1,switch=2,half=3,block=4}
|
||||
tiletype={void=0,nonpc=1,stair=2,switch=3,half=4,block=5}
|
||||
mapa.wait=0
|
||||
mapa.step=0
|
||||
function mapa_do_backup()
|
||||
@@ -137,6 +137,8 @@ function check_tile(hab,x,y)
|
||||
return tiletype.switch
|
||||
elseif tile<64 then
|
||||
return tiletype.block
|
||||
elseif tile==111 then
|
||||
return tiletype.nonpc
|
||||
else
|
||||
return tiletype.void
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user