HandyNotes Plugin Documentation

Documentation for the core framework used in Zarillion's HandyNotes expansion plugins.

View the Project on GitHub zarillion/handynotes-plugins

Reward Classes

All rewards are accessible via ns.reward


Section

Adds a separator between the Rewards.

Section("Title of the Section")

Spacer

The Spacer Reward just adds a blank line.

Example

Spacer()

Achievement

Example

-- From Azj-Kahet plugin - Zone exploration achievement
Achievement({id = 40840, criteria = 69392}) -- Adventurer of Azj-Kahet

-- From treasure nodes - Collection achievement with criteria
Achievement({id = 40625, criteria = 68993}) -- Azj-Kahet Treasures

-- Multiple criteria example
Achievement({id = 17736, criteria = {qty = true, id = 1}}) -- Counter-based achievement

Properties


Currency

Is Used to display a Currency in the Node rewards

Example

Currency({id = 2245}) -- Flightstones

Properties


Follower

Example

Follower({id = 467, icon = 608952}) -- Fen Tao

Properties


Item

The Item reward is used as the base class for other item related rewards

Example

-- From Azj-Kahet plugin - Basic currency item
Item({item = 224581}) -- Nerubian Doubloons

-- From vendor nodes - Equipment with quest tracking
Item({item = 223924, quest = 82745}) -- Web-Woven Hood

-- From profession treasures - Knowledge items with notes
Item({item = 226271, note = 'Alchemy Knowledge'}) -- Nerubian Mixing Salts

-- Treasure items with completion tracking
Item({item = 224584, quest = 82721}) -- Memory Fragments

Properties


Heirloom

Uses Item as its base class, all properties from Item can be used here too.

Example

Heirloom({item = 122250}) -- Tattered Dreadmist Mask

Properties


Mount

Uses Item as its base class, all properties from Item can be used here too.

Example

-- From project plugins - Standard mount reward
Mount({item = 212346, id = 2174}) -- Alliance War Horse

-- From rare encounters - Mount with completion tracking
Mount({item = 221760, id = 2205, quest = 81705}) -- Siesbarg

-- Mount from vendor with currency note
Mount({item = 205209, id = 1736, note = '170x Residual Memories'}) -- Boulder Hauler

Properties


Pet

Uses Item as its base class, all properties from Item can be used here too.

Example

-- From Azj-Kahet Kej Pet Vendor - Standard pet rewards
Pet({item = 221546, id = 4486}) -- Colossal Warsquid
Pet({item = 221547, id = 4487}) -- Kej'ra Wool Krolusk
Pet({item = 221548, id = 4485}) -- Invasive Kej'ra Drone
Pet({item = 221549, id = 4484}) -- Ominous K'arthok Broodling

-- Pet with currency note
Pet({item = 205120, id = 3537, note = '85x Residual Memories'}) -- Thimblerig

Properties


Quest

Example

Quest({id = 60}) -- Kobold Candles

Properties


Recipe

Uses Item as its base class, all properties from Item can be used here too.

Example

Recipe({item = 198104, profession = 185}) -- Recipe: Blubbery Muffin

Properties


Spell

Uses Item as its base class, all properties from Item can be used here too.

Is Used to track Items that reward a Spell

Example

Spell({item = item_id, spell = spell_id})

Properties


Title

Example

Title({id = title_id, pattern = '{title} {player}'})

Properties


Toy

Uses Item as its base class, all properties from Item can be used here too.

Example

Toy({item = item_id})

Properties


Transmog

Uses Item as its base class, all properties from Item can be used here too.

Example

Transmog({item = item_id, slot = L[slot_locale]})

Properties


Reputation

Example:

Reputation({id = 2590, gain = 150, quest = 84036, note = 'Example Note'})

Properties