it is possible to give an item (for example an "axe") a durability.
I want it to be usable only 100 times and then break.
I also want to be able to repair it with a grindstone to set the durability back to 100.
Since it is not possible to create multiple slots in the inventory for the same item, I want to make sure that the item with the worst condition is always used first.
I've thought about working with list variables (but I'm not sure if this works)
If the player then puts 2 of 10 axes into a container, the worst one should always be moved first. (The container would have to store this information - if an axe is taken from there, this should be the worst of the 2 axes)
Unfortunately, I have not yet found a practicable solution for this.
Does anyone happen to have an idea how I could implement this?
Customer support service by UserEcho