Byrth / Lua-Byrth

Lua Addons and Scripts
3 stars 2 forks source link

Gearswap - Item command is targetting unusable items. #455

Open Selindrile opened 5 years ago

Selindrile commented 5 years ago

The /item command in gearswap apparently chooses the newest ID when multiple items of the same name exist in resources. (Info thanks to Ivaar)

This is a problem in the case of the new final upgrade for ranged weapons, if people still have the older weapons they're not able to use them with /item "Weapon Name" as it tries to use the newest version.

I've been told I could workaround it with /item 'Weapon Name' however this would prevent precast from working, and at least a couple of those that use my gearswaps have item precasts (for more DT gear when using an item while engaged) which would not work.