This is the merciful release ending file for the human player in the sandbox. I have added my comments in dark red. These comments are based on my own analysis of the code and my experience in working with it. I do not have any special inside information from MuckyFoot about these files, and I may in some instances be wrong.
; make the player lose if he has no collector, collector crates, no energy (so couldn't build from technology anyway) ; First we make sure we only do the test every now and then :losenocollector0 if turn > 240 turn > losenocollector_counter then set losenocollector_counter (turn + 240) set losenocollector_test 1 end ; This is the actual test :losenocollector1 if losenocollector_test = 1 (cargoexists hard_plan_crate collector) = 0 not_destroyed_collector_count = 0 energy = 0 then say "Out of energy, and you have no collectors" lose disable end ; and if the test above fails, we need to make sure it doesn't keep trying until after the original delay :losenocollector2 if losenocollector_test = 1 ((cargoexists hard_plan_crate collector) + not_destroyed_collector_count) > 0 then set losenocollector_test 0 end