Just incase you need.. that trigger calls this sub
Quote:
sub found_unlit_pipe (a,b,wildcard)
world.arrayset last_smoked & "pipe", "lit", 0
maintain_pipe
end sub
sub maintain_pipe
if auto_pipes = 1 then
if arrayget ("elmpipe", "filled") = 0 then
fill "elm"
end if
if arrayget ("valpipe", "filled") = 0 then
fill "val"
end if
if arrayget ("skupipe", "filled") = 0 then
fill "sku"
end if
if arrayget ("valpipe", "lit") = 0 then
light "val"
end if
if arrayget ("skupipe", "lit") = 0 then
light "sku"
end if
if arrayget ("elmpipe", "lit") = 0 then
light "elm"
end if
end if
end sub
|