forked from mtcontrib/3d_armor
Italian translation corrections + armor:remove_all (#15)
* Added armor:remove_all function * Corrected README.txt * Corrected italian translation * Simplified Italian translation further * CRUSHFIX: Replaced self.function with self:function Co-authored-by: Giov4 <brancacciogiovanni1@gmail.com>
This commit is contained in:
@ -160,6 +160,10 @@ Adds wear to a single armor itemstack, triggers `on_damage` callbacks and
|
||||
updates the necessary inventories. Also handles item destruction callbacks
|
||||
and so should NOT be called from `on_unequip` to avoid an infinite loop.
|
||||
|
||||
armor:remove_all(player)
|
||||
|
||||
Removes all armors from the player's inventory without triggering any callback.
|
||||
|
||||
Item Callbacks:
|
||||
|
||||
on_equip = func(player, index, stack)
|
||||
|
Reference in New Issue
Block a user