/[enigma]/enigma/data/levels/ralf13.lua
ViewVC logotype

Diff of /enigma/data/levels/ralf13.lua

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by reallysoft, Sat Aug 16 23:52:28 2003 UTC revision 1.2.2.1 by dheck, Sat Oct 4 10:42:27 2003 UTC
# Line 35  switches=0 Line 35  switches=0
35  function mirror_switch(x,y)  function mirror_switch(x,y)
36     switches=switches+1     switches=switches+1
37     local funcn = "swit_"..switches     local funcn = "swit_"..switches
38     dostring(funcn.." = function() switch("..switches..") end")      dostring(funcn.." = function() switch("..switches..") end")
39     set_stone("st-switch",x,y,{action="callback",target=funcn});     set_stone("st-switch",x,y,{action="callback",target=funcn});
40  end  end
41    
# Line 54  cells["/"] = cell{parent=cells[" "],ston Line 54  cells["/"] = cell{parent=cells[" "],ston
54  cells["%"] = cell{parent={cells[" "],named_mirror}}  cells["%"] = cell{parent={cells[" "],named_mirror}}
55  cells["x"] = cell{parent={cells[" "],mirror_switch}}  cells["x"] = cell{parent={cells[" "],mirror_switch}}
56    
57  cells["a"] = cell{parent=cells[" "],actor={"ac-whiteball", {player=0}}}  cells["a"] = cell{parent=cells[" "],actor={"ac-whiteball", {player=0, controllers=1}}}
58  cells["o"] = cell{oxyd}  cells["o"] = cell{oxyd}
59  cells["."] = cell{parent=cells[" "],stone={"st-laser-w", {on=1}}}  cells["."] = cell{parent=cells[" "],stone={"st-laser-w", {on=1}}}
60  cells["O"] = cell{parent=cells[" "],stone="st-fakeoxyd"}  cells["O"] = cell{parent=cells[" "],stone="st-fakeoxyd"}

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.2.2.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26