mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-24 01:30:38 +01:00
Uboot and Nether fruit modified
- New nodes used for building uboots, new prices - Nether fruits now increase hungry level by 9
This commit is contained in:
parent
88b167c8ef
commit
ffb5553deb
@ -368,13 +368,8 @@ minetest.register_node("nether:apple", {
|
||||
end
|
||||
local amount = math.random(4, 6)
|
||||
local p_hunger = tonumber(hud.hunger[user:get_player_name()])
|
||||
<<<<<<< HEAD
|
||||
if not p_hunger then return end
|
||||
p_hunger = p_hunger+9
|
||||
=======
|
||||
--if not p_hunger then return end -- test si résoud notre problème avec le nether fruit
|
||||
p_hunger = p_hunger+3
|
||||
>>>>>>> a1529c8ce87c71e1cca87e885c36dcdacb2be296
|
||||
if p_hunger > 30 then p_hunger = 30 end
|
||||
hud.hunger[user:get_player_name()] = p_hunger
|
||||
hud.set_hunger(user)
|
||||
|
Loading…
Reference in New Issue
Block a user