Equipment system

Chaosy

Tutorial Reviewer
Level 40
Joined
Jun 9, 2011
Messages
13,176
There are two ways to make such a system.

1. Simply use a hashtable (or use item data) to save the item type, this needs to be done manually with every single item. Easier, but it takes time and it's boring.

2. Make a certain armor type be of a certain item class. Helmets are "permanent", shoulders are "Charged" etc.
 
Last edited:
Level 24
Joined
Aug 1, 2013
Messages
4,657
As soon as you have anything to classify them as a certain type of item (helmet/shield/boots/etc) you can then limit units to only wear a certain amount of them by checking if they already wear any of those.
If they do, you then either replace them or cancel the equip order.
 

Ardenian

A

Ardenian

IDS does that, at least the check. It should be easy to modify though, so you could also replace the item.
 
Top