mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-21 06:43:17 -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
|
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
|
||||||
|
|
Loading…
Add table
Reference in a new issue