kieranmillar wrote:
We have events that fire when you pick up equipment or keys (Received Equipment, Received Key) but not when picking up health potions or stat gems.
I've added an event for each of these and exposed them to scripting.
PR
I note these had an internal event type that was overloaded with consuming a speed/invisibility potion. Currently, the event is only used to play the same "
power-up"
sound effect for each. I'm going to decouple this potion event from the atk/def/hp pickups and expose it as its own distinct script check as well.
I plan to add new sfx for the atk/def pickups. Maybe also swap out the "
potion"
sound when an invisibility/speed potion is activated for something else that sounds more like drinking a potion. Or we could do it the other way around: have one or more new sounds for the various types of HP pickups and keep the original for the invisibility/speed potions.
Opinions?
____________________________
Gandalf? Yes... That's what they used to call me.
Gandalf the Grey. That was my name.
I am Gandalf the White.
And I come back to you now at the turn of the tide.
[Last edited by mrimer at 11-07-2020 05:26 PM]