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
if math.random() < 0.1 then
if player:get_inventory():contains_item("main", "moontest:spacesuit")
and player:get_breath() < 10 then
player:set_breath(10)
and player:get_breath() < 11 then
player:set_breath(11)
end
end
if math.random() > 0.99 then
@ -216,4 +216,4 @@ minetest.register_abm({
action = function(pos, node, active_object_count, active_object_count_wider)
moontest_appletree(pos)
end,
})
})