[TUTORIAL] One way to appeal damaged items (+Item repair procedure) {Google Translate}

Started by Shiori on

Topic category: User side tutorials

Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[TUTORIAL] One way to appeal damaged items (+Item repair procedure) {Google Translate}
Wed, 02/05/2020 - 17:04 (edited)

Create a potion

Potion

 

We create an Item that we will appeal to

I1

I2

 

Create an Tool that will appeal

I3

I4

 

We create a procedure for Test Damaged Item

P1

 

We install it in inventory tick

I5

 

We create a procedure for Test Active Item

P2

We install it in inventory tick

I6

 

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

M1

M2

 

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

M3

Edited by Shiori on Wed, 02/05/2020 - 17:04
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i don't know how to
Sun, 02/16/2020 - 13:24

i don't know how to