Making a weapon usable/giveable with CombatLib?

Hello,
I notice that, with CombatLib, if a weapon is made usable it'll display "use" in its verbs tab by default. However, unequiping the weapon will wipe "use" from the verbs tab, though the command will still function properly. I've tried skirting around this issue by trying to change a default Split function that ties into equipping and unequipping a weapon to include "use" but it was to no avail and only created more problems than it solved.
Does anyone have a workaround to this so that "use" doesn't disappear from the verbs tab?
Thanks


I don't know anything about the CombatLib, but do you know how to edit libraries with Notepad++ or another editor? Search for the code in the library where "use" is removed from weapons' inventory verbs list. The line of code will say something like list remove (weapon.inventoryverbs, "use"). Then delete that line.


Specifically, you need to look in the file "Items.xml". Lines 256 and 272 set the display verbs; you need to add "use" to the list (note each verb is separated with a semi-colon).


This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums