Started by
Shiori
on
Topic category: User side tutorials
Create a potion

We create an Item that we will appeal to


Create an Tool that will appeal


We create a procedure for Test Damaged Item

We install it in inventory tick

We create a procedure for Test Active Item

We install it in inventory tick

A potion is needed to recognize an item (does the player have it in inventory)
Using these procedures, the following is done:
If the sword is damaged and there is an ingot in the inventory, then the ingot takes 10 durability for each unit of durability of the sword


If there are several ingots in the inventory, then the damage is divided equally between them

Edited by Shiori on Wed, 02/05/2020 - 17:04
appeal?
i don't know how to