-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdata.lua
More file actions
36 lines (31 loc) · 1.33 KB
/
data.lua
File metadata and controls
36 lines (31 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
local _, addon = ...
addon.data = {}
addon.ignoreOption = {}
--[[ data structure:
required:
- mapID
- x
- y
optional:
- atlas
- atlasSize
- highlightAtlas
- highlightAdd (uses 'ADD' blending mode instead of 'BLEND')
- tooltip (custom tooltip text)
- tooltipMap (uses map name by mapID)
- tooltipQuest (uses quest name by questID)
- tooltipQuests (uses quest name by questID, list alternative to the above)
- isTaxi (will use a pre-defined atlas, and render lines between pin and source)
- taxiIndex (used to define order of taxi routes for lines)
- taxiSourceIndex (index of the source pin instead of defaulting to the player)
- isQuest (will use a pre-defined atlas)
- parent (used to reference parent data object, will be selected before the child, see special.children)
- displayExtra (exactly the same as all of the above, sans parent, for displaying the option on additional maps/locations)
- noArrow (don't display bouncing arrow above pin)
- forceMapID (overrides the mapID the pin will open the map for)
- ignoreScale (don't scale with options)
- skippableCinematic (tell the handler that this option has a skippable cinematic tied to it)
- disabledOnQuests (don't render the destination if one of these quests are active)
special:
- children (exclusive with everything else, will iterate through objects in the data structure instead of itself)
--]]