Lbtg
Intermediate OT User
- Joined
- Nov 22, 2008
- Messages
- 2,297
- Reaction score
- 127
Hello i was thinking there is possible way somehow to make that all items kinda works like on movements.xml/weapons.xml ?
I mean, if i make for example new item for example Draggy boots with attributes for example ( protection all, or magic lvls or anything else), i have to register the item into movements.xml or weapons.xml so item works properly right, so...
Maybe there is way to make that any item that has attribute set in THE ITEM it starts working without the line needed to add in movements.xml ?
Any possible way ? Any hints please ?
Thats maybe a possible hint ?
Thanks in advance
Vanagas
I mean, if i make for example new item for example Draggy boots with attributes for example ( protection all, or magic lvls or anything else), i have to register the item into movements.xml or weapons.xml so item works properly right, so...
Maybe there is way to make that any item that has attribute set in THE ITEM it starts working without the line needed to add in movements.xml ?
Any possible way ? Any hints please ?
Thats maybe a possible hint ?
C++:
bool isItemAbilityEnabled(slots_t slot) const {
return inventoryAbilities[slot];
}
Thanks in advance
Vanagas