I was wondering if somebody would make a source mod that allowed you to determine the exact type of item equipable items. For example if you getiteminfo(getequipid(ItemID),2) it will give you a 4 for a weapon and 5 for anything else (including accesories which is not listed in the doc/item_db.txt). I suggest expanding it to include the following item types: HEAD_TOP, ARMOR, HAND_L, HAND_R, GARMENT, SHOES, ACC_L, ACC_R, HEAD_MID, HEAD_LOW, SHIELD. This would very useful for a lot of features and checks expecially refiners where you might only want to restrict or only allow specific types of items for some reason. I'm not sure what the exact numbers would be for item types, possibly leave the 4/5 as it is and just use new numbers for what I listed before.
Question
Peopleperson49
I was wondering if somebody would make a source mod that allowed you to determine the exact type of item equipable items. For example if you getiteminfo(getequipid(ItemID),2) it will give you a 4 for a weapon and 5 for anything else (including accesories which is not listed in the doc/item_db.txt). I suggest expanding it to include the following item types: HEAD_TOP, ARMOR, HAND_L, HAND_R, GARMENT, SHOES, ACC_L, ACC_R, HEAD_MID, HEAD_LOW, SHIELD. This would very useful for a lot of features and checks expecially refiners where you might only want to restrict or only allow specific types of items for some reason. I'm not sure what the exact numbers would be for item types, possibly leave the 4/5 as it is and just use new numbers for what I listed before.
Peopleperson49
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.