fixes as per code review completed

This commit is contained in:
Imre Péntek 2023-05-05 17:50:43 +02:00
parent 7ce365f4e4
commit 63f6abe52f
2 changed files with 110 additions and 92 deletions

View file

@ -85,11 +85,11 @@ e.g. `table.insert(bones.player_inventory_lists, "backpack")`
Additionally, callbacks can be registered to transfer items into the bones on death:
`bones.public.register_transfer_inventory_to_bones_on_player_death(function(player){})`
`bones.register_dead_player_inv_management(function(player,callback){})`
In the above functions this routine should be used to add itmes to the bones inventory:
In the above functions the provided callback should be used to add items to the bones inventory:
`bones.public.transfer_stack_to_bones(stack)`
`callback(stack)`
please note that the inventory these items were taken from still need to be disposed of.