It'd be great for tools (medical kits, supertool, lockpicks) have charges and deplete properly.
Not very hard to do by itself, but the problem is knowing when to spend a charge, because the result depends on the target object script and other things.
For example, Doctor skill can be used only 3 times per day in vanilla, but there's no information in UseObjOn hook about whether daily skill limit is hit, and thus the charge will be spent regardless. I wonder if there's some workaround.
This also should work with healing revision and #24.
It'd be great for tools (medical kits, supertool, lockpicks) have charges and deplete properly. Not very hard to do by itself, but the problem is knowing when to spend a charge, because the result depends on the target object script and other things. For example, Doctor skill can be used only 3 times per day in vanilla, but there's no information in
UseObjOn
hook about whether daily skill limit is hit, and thus the charge will be spent regardless. I wonder if there's some workaround. This also should work with healing revision and #24.