summaryrefslogtreecommitdiff
path: root/Crossroads/nodes/(-5710,2,-3917).lua
diff options
context:
space:
mode:
authorautocommitter <autocommitter@linux-forks.de>2024-04-22 14:52:07 +0200
committerautocommitter <autocommitter@linux-forks.de>2024-04-22 14:52:07 +0200
commitc21692e0a830e434675014dd7b54736d180ce71d (patch)
treee928ac06b872bb5fa7697736f8cb78873e1424d2 /Crossroads/nodes/(-5710,2,-3917).lua
parentc6612d4e4b59a03d097a494eee4c714f8b88f123 (diff)
downloadluaatc_envs-c21692e0a830e434675014dd7b54736d180ce71d.tar.gz
luaatc_envs-c21692e0a830e434675014dd7b54736d180ce71d.tar.bz2
luaatc_envs-c21692e0a830e434675014dd7b54736d180ce71d.zip
State at 2020-06-24
Diffstat (limited to 'Crossroads/nodes/(-5710,2,-3917).lua')
-rw-r--r--Crossroads/nodes/(-5710,2,-3917).lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/Crossroads/nodes/(-5710,2,-3917).lua b/Crossroads/nodes/(-5710,2,-3917).lua
index 65f7991..ad9f2d5 100644
--- a/Crossroads/nodes/(-5710,2,-3917).lua
+++ b/Crossroads/nodes/(-5710,2,-3917).lua
@@ -1,14 +1,14 @@
local testpos=POS(-5716,2,-3919)
local chn="out"
-local newstate=nil
+local newstate='off'
if event.type=="punch" then
if is_passive(testpos) then
- if newstate==nil then digiline_send(chn," true\n "..getstate(testpos))
+ if newstate==nil then digiline_send(chn,"true | "..getstate(testpos))
else
- digiline_send(chn," true\n "..getstate(testpos).."\n "..newstate)
+ digiline_send(chn,"true | "..getstate(testpos).." | "..tostring(newstate))
setstate(testpos,newstate)
end
- else digiline_send(chn," false")
+ else digiline_send(chn,"false")
end
end \ No newline at end of file