Restoration Spell Fix

SCREENSHOTS
Downloaded 20,223 times 515 Thanks 132 Favourited 48,130 Views
 Say Thanks!
Uploaded: 7th Jun 2015 at 3:58 PM
Intro
Think about Showtime's Magician Career. Done? Good.
Now forget it because that has nothing to do with this mod.

Mod Info
Developed and tested with game version 1.67.
Requires Supernatural EP (it's useless otherwise).

Mod Description
The screenshot is pretty self-explanatory, but here's the description anyway.
There's a check missing in the code of the Restoration spell, so, when casted
successfully, it affects also unspoiled food stored in a fridge with 2 virtually bad consequences:
- set quality to Neutral (maybe it was better than that)
- update the spoilage timer (maybe the timer was greater than 10 hours, the default value)

This mod fixes that so only the spoiled food in the fridge is affected by the spell
(like already happens correctly for food outside the fridge).

Compatibility
This is compatible with xml and ITUN override mods (presuming they exist) that tweak
that spell/interaction or those that tweak wands.

Special thanks
I'd like to thank icarus_allsorts for technical help (compatibility with ITUN mods).

Additional Credits:
All respective authors and contributors of the tools and tutorials for modding TS3.
MTS and all modders who made the game much more enjoyable.
eskie227, from which I learned about this issue.
Don Babylon and sweetdevil for help in testing the mod.