Changeset - dea1cc99da1c
[Not reviewed]
default
0 2 0
Silverwing - 5 years ago 2019-07-17 17:38:03

Restore leviathan pumps on game load
2 files changed with 13 insertions and 0 deletions:
0 comments (0 inline, 0 general)
leviathan.lua
Show inline comments
 
@@ -1220,4 +1220,13 @@ function leviathan_init()
 
            end;
 
        end;
 
    end;
 
end;
 
 
function leviathan_start()
 
	print(submarine_leviathan.battery, submarine_leviathan.power_on, submarine_leviathan.airpump);
 
	if submarine_leviathan.battery and submarine_leviathan.power_on and submarine_leviathan.airpump then
 
		game.timer = leviathan_airpump_timer;
 
		timer:set(1000);
 
		lifeon(leviathan_airpump_control);
 
	end;
 
end;
 
\ No newline at end of file
startup.lua
Show inline comments
 
@@ -223,3 +223,7 @@ function init()
 
    pl.where = intro;
 
    ---debug
 
end;
 

	
 
function start()
 
    leviathan_start();
 
end;
 
\ No newline at end of file
0 comments (0 inline, 0 general)