Skip to content

Fix Morrowind.exe soul gem usage discrepancy #6901

Ivan Beloborodov requested to merge myrix/openmw:issue_6901 into master

Fixes #6901 (closed).

Adds a separate check for empty soul gems in the inventory's use item method via an override of the canBeEquipped method added to the miscellaneous object class.

In the equip script command, in case of a soul gem preferentially selects filled soul gems.

In both instances soul gems are detected by directly checking if the id starts with "misc_soulgem", as elsewhere in the code.

Merge request reports