Froman2686
Wanderer
Minor change to FullVialsWRack
Whilst creating my invention system, I was testing the use of the Empty and Full vials with rack. Level 2 research requires an empty set of vials, and it fills them. I didn't want the player to have to purchase or make a new set of empty vials every time they wanted to research alchemy, so I added an OnDoubleClick method to the FullVialsWRack class. It deletes the full vials, replaces them with empty ones, plays a splashing sound (as though you poured out the contents onto the ground) and sends a message saying "You empty the vials." Figured someone might want that, if just for realism's sake.
This file goes in Scripts/Items/Misc/ and overwrites GlassItems.cs.
Whilst creating my invention system, I was testing the use of the Empty and Full vials with rack. Level 2 research requires an empty set of vials, and it fills them. I didn't want the player to have to purchase or make a new set of empty vials every time they wanted to research alchemy, so I added an OnDoubleClick method to the FullVialsWRack class. It deletes the full vials, replaces them with empty ones, plays a splashing sound (as though you poured out the contents onto the ground) and sends a message saying "You empty the vials." Figured someone might want that, if just for realism's sake.
This file goes in Scripts/Items/Misc/ and overwrites GlassItems.cs.