1
2
3
4
5
6
2
3
4
5
6
addhook("movetile","breath")
function breath(id,x,y)
if tile(x,y,"property") == "water" then
timer(1000,"parse","slap "..id.." 5")
end
end
edited 3×, last 27.01.11 09:18:37 pm
Scripts
Under water breath function.
Under water breath function.
1

addhook("movetile","breath")
function breath(id,x,y)
if tile(x,y,"property") == "water" then
timer(1000,"parse","slap "..id.." 5")
end
end
TileMaterial = {
[4] = "water"
}
addhook("movetile","breath")
function breath(id,x,y)
if tile(x,y,"property") == 4 then
timer(1000,"parse","slap "..id.." 5")
end
end
[4] = "Obstacle (No Shadow)"
TileMaterial = {
[14] = "water"
}
addhook("movetile","breath")
function breath(id,x,y)
if tile(x,y,"property") == 14 then
timer(1000,"parse","slap "..id)
end
end
addhook("movetile","breath")
function breath(id,x,y)
if tile(x,y,"property") == 14 then
timer(1000,"parse","slap "..id.." 5")
end
end
timer(1000,"parse","slap "..id.." 5")
timer(1000,"parse","slap "..id)
timer(1000,"parse","slap "..id.." 5")
timer(1000,"parse","slap "..id)
timer(1000,"parse","slap "..id.." 5")
1
