aesthetics...

This commit is contained in:
Zsolt Bartha 2014-05-13 16:33:26 -06:00
parent 53d1920f31
commit 687df311e9

View file

@ -37,8 +37,8 @@ minetest.register_globalstep(function(dtime)
end end
if math.random() < 0.1 then if math.random() < 0.1 then
if player:get_inventory():contains_item("main", "moontest:spacesuit") if player:get_inventory():contains_item("main", "moontest:spacesuit")
and player:get_breath() < 10 then and player:get_breath() < 11 then
player:set_breath(10) player:set_breath(11)
end end
end end
if math.random() > 0.99 then if math.random() > 0.99 then