mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-25 02:00:37 +01:00
Added grave button texture and reduced lag when vacuuming graves
- Fixed item disappearance when retrieved while reducing amount of tests and drops when vacuuming - Added grave button texture
This commit is contained in:
parent
bf7a9b02be
commit
51e7c037c3
@ -58,7 +58,7 @@ function pclasses.api.vacuum_graveyard(player)
|
||||
|
||||
for i = 1,7*8 do
|
||||
local stack = grave_inv:get_stack("graveyard", i)
|
||||
if pclasses.api.util.can_have_item(pname, stack:get_name()) then
|
||||
if pclasses.data.reserved_items[stack:get_name()] and pclasses.api.util.can_have_item(pname, stack:get_name()) then
|
||||
grave_inv:set_stack("graveyard", i, nil)
|
||||
player_inv:set_stack("graveyard", i, nil)
|
||||
if player_inv:room_for_item("main", stack) then
|
||||
|
BIN
mods/pclasses/textures/pclasses_grave_button.png
Normal file
BIN
mods/pclasses/textures/pclasses_grave_button.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 241 B |
Loading…
Reference in New Issue
Block a user