Hierarchy

  • IDrawnMapEvents

Methods

  • Emitted when a treasure on this map is discovered by a human.

    Parameters

    • treasure: ITreasure

      The ITreasure that is discovered

    • discoverer: default<unknown, number, NPC | Player>

      The Human that discovered the treasure

    Returns any

  • Emitted when this map is read by a human.

    Parameters

    • item: default

      The map Item that is being read

    • reader: default<unknown, number, NPC | Player>

      The Human reading this map

    Returns any

Generated using TypeDoc