EventTavernDrink
Called when the engine is about to display the text for the “DRINK” option in a TAVERN event.
Hook Parameters
parameter[5] is the name of the 'Drink'; “Beer”, “Soda”, “Ale”, etc.
Context
No Context
Return Value
The value returned by this Hook is a string that will be displayed as the result of the player choosing the “Drink” menu option in the TAVERN event.
Example of use
The Tavern event normally displays the text (eg.) “You drink some beer”. You could change this to something like:
$RETURN “You gulp the “ + $GET_HOOK+PARAM() + “ down.”;
And then the displayed text would be: “You gulp the beer down.”