mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-20 22:33:16 -04:00
aesthetics...
This commit is contained in:
parent
53d1920f31
commit
687df311e9
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue