Op Code 243 (Item Drain) removing equipped items that can swap forms (cdtweaks)
Xans
Member Posts: 4
I'm attempting to resolve an item deletion bug(?) in my current playthrough that I have not noticed in previous playthroughs with the cdtweaks 1h <-> 2h for bastard swords(etc) installed.
Basically the items are set up with a 1 charge use that creates the alternate version of the item, eg using a 1h creates a 2h, and then delete the original because When drained: Item vanishes (1). However, as an example, with SCS installed, SPIN550.spl (Anti-Magic Ray) drains 5 uses from all items which deletes the base weapon without creating the alternate form.
Is there any workaround short of editing all affected items to not be removed when drained(duping), removing item drain from everywhere it appears, or editing all affected items to be indestructible(a bunch of critical items seems like a bad idea)? Ideally changing opcode 243 so it doesn't remove the last charge.
Basically the items are set up with a 1 charge use that creates the alternate version of the item, eg using a 1h creates a 2h, and then delete the original because When drained: Item vanishes (1). However, as an example, with SCS installed, SPIN550.spl (Anti-Magic Ray) drains 5 uses from all items which deletes the base weapon without creating the alternate form.
Is there any workaround short of editing all affected items to not be removed when drained(duping), removing item drain from everywhere it appears, or editing all affected items to be indestructible(a bunch of critical items seems like a bad idea)? Ideally changing opcode 243 so it doesn't remove the last charge.
0
Comments
I'm not sure because I couldn't tell if that was caused by cdtweaks itself or some other modification you made.