Documentation for the core framework used in Zarillion's HandyNotes expansion plugins.
All rewards are accessible via ns.reward
Adds a separator between the Rewards.
Section("Title of the Section")
The Spacer Reward just adds a blank line.
Spacer()
-- 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
id
(int) (required)
criteria
(int)
id
(id)
qty
(bool)
suffix
(string)
qty
to add a custom suffix.oneline
(boolean)
note
(string)
Is Used to display a Currency in the Node rewards
Currency({id = 2245}) -- Flightstones
id
(int) (required)
note
(string)
Follower({id = 467, icon = 608952}) -- Fen Tao
id
(int) (required)
icon
(name / int)
note
(string)
The Item reward is used as the base class for other item related rewards
-- 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
item
(int) (required)
type
(string)
note
(string)
type
string.status
(string)
bag
(boolean)
GetStatus()
function checks if the player has the item in his bag and sets status
to Green(L['completed'])
or Red(L['incomplete'])
quest
(int)
GetStatus()
function checks if the player has completed the quest and sets status
to Green(L['completed'])
or Red(L['incomplete'])
weekly
(int)
GetStatus()
function checks if the player has completed the quest and sets status
to Green(L['weekly'])
or Red(L['weekly'])
Uses Item as its base class, all properties from Item can be used here too.
Heirloom({item = 122250}) -- Tattered Dreadmist Mask
item
(int) (required)
type
(string)
L['heirloom']
by default.Uses Item as its base class, all properties from Item can be used here too.
-- 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
item
(int) (required)
id
(int) (required)
Uses Item as its base class, all properties from Item can be used here too.
-- 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
item
(int) (required)
id
(int) (required)
Quest({id = 60}) -- Kobold Candles
id
(int) (required)
Uses Item as its base class, all properties from Item can be used here too.
Recipe({item = 198104, profession = 185}) -- Recipe: Blubbery Muffin
item
(int) (required)
profession
(int) (required)
SkillLineID | Profession |
---|---|
129 | First Aid |
164 | Blacksmithing |
165 | Leatherworking |
171 | Alchemy |
182 | Herbalism |
185 | Cooking |
186 | Mining |
197 | Tailoring |
202 | Engineering |
333 | Enchanting |
356 | Fishing |
393 | Skinning |
755 | Jewelcrafting |
773 | Inscription |
794 | Archeology |
Uses Item as its base class, all properties from Item can be used here too.
Is Used to track Items that reward a Spell
Spell({item = item_id, spell = spell_id})
item
(int) (required)
spell
(int) (required)
Title({id = title_id, pattern = '{title} {player}'})
id
(int) (required)
pattern
(string) (required)
'{title} {player}'
'{player}, {title}'
type
(string)
note
(string)
Uses Item as its base class, all properties from Item can be used here too.
Toy({item = item_id})
item
(int) (required)
Uses Item as its base class, all properties from Item can be used here too.
Transmog({item = item_id, slot = L[slot_locale]})
item
(int) (required)
type
(string) (Locale)
slot
(string) (Locale)
type
.Reputation({id = 2590, gain = 150, quest = 84036, note = 'Example Note'})
id
(int) (required)
gain
(int) (required)
quest
(int)
GetStatus()
function checks if the player has completed the quest and sets status
to Green(L['claimed'])
or Red(L['unclaimed'])
note
(string)