mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-11 18:40:25 +01:00
Removed all the set_hp(20) calls in homedecor
- Sofas, furnitures and longsofas don't get players to recover their hp anymore.
This commit is contained in:
parent
bf4f6e70e2
commit
8b7ca866fb
@ -158,7 +158,6 @@ for i in ipairs(chaircolors) do
|
|||||||
on_rightclick = function(pos, node, clicker)
|
on_rightclick = function(pos, node, clicker)
|
||||||
pos.y = pos.y-0.1 -- player's sit position.
|
pos.y = pos.y-0.1 -- player's sit position.
|
||||||
sit_exec(pos, node, clicker)
|
sit_exec(pos, node, clicker)
|
||||||
clicker:set_hp(20)
|
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -116,7 +116,6 @@ for i in ipairs(longsofas_list) do
|
|||||||
end
|
end
|
||||||
pos.y = pos.y-0.5
|
pos.y = pos.y-0.5
|
||||||
clicker:setpos(pos)
|
clicker:setpos(pos)
|
||||||
clicker:set_hp(20)
|
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -89,7 +89,6 @@ for i in ipairs(sofas_list) do
|
|||||||
end
|
end
|
||||||
pos.y = pos.y-0.5
|
pos.y = pos.y-0.5
|
||||||
clicker:setpos(pos)
|
clicker:setpos(pos)
|
||||||
clicker:set_hp(20)
|
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user