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:
Giov4
2020-09-19 13:30:39 +02:00
committed by GitHub
parent 2d9b0066bf
commit 9459400474
3 changed files with 28 additions and 14 deletions

View File

@ -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)