• Tutorials

  • Home
  • EventTavernDrink

    Called when the engine is about to display the text for the "DRINK" option in a TAVERN event.

    Parameters

    Parameter [5] = name of the 'Drink'; "Beer", "Soda", "Ale", etc.

    Context

    None

    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."