- [WIP] all game switches

This commit is contained in:
2022-10-27 18:52:13 +02:00
parent 1574809fe9
commit c7e2edd031

View File

@@ -3,9 +3,17 @@ switches={
wait=0, wait=0,
current_list=nil, current_list=nil,
current_index=-1, current_index=-1,
[11]={[21]={11, 57,45}},
[35]={[14]={32, 50,38,26,53,41,29}},
[53]={[14]={72, 42,30}},
[61]={[14]={54, 54,42}},
[76]={[19]={77, 50,38,26},
[22]={57, 53,41}},
[80]={[18]={36, 56,44}},
[39]={[27]={27, 62,63}}
} }
switches[11]={} --switches[11]={[21]={11, 57,45}}
switches[11][21]={11, 57,45} --switches[11][21]={11, 57,45}
function switches.start(hab,tile) function switches.start(hab,tile)
if switches.cooldown>0 then return end if switches.cooldown>0 then return end