Merge pull request #579 from argonui/offering-token
Added offering token
This commit is contained in:
commit
0527d97055
@ -388,6 +388,64 @@
|
|||||||
},
|
},
|
||||||
"Value": 0,
|
"Value": 0,
|
||||||
"XmlUI": ""
|
"XmlUI": ""
|
||||||
|
},
|
||||||
|
"8": {
|
||||||
|
"AltLookAngle": {
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"z": 0
|
||||||
|
},
|
||||||
|
"Autoraise": true,
|
||||||
|
"ColorDiffuse": {
|
||||||
|
"b": 1,
|
||||||
|
"g": 1,
|
||||||
|
"r": 1
|
||||||
|
},
|
||||||
|
"CustomImage": {
|
||||||
|
"CustomToken": {
|
||||||
|
"MergeDistancePixels": 10,
|
||||||
|
"Stackable": true,
|
||||||
|
"StandUp": false,
|
||||||
|
"Thickness": 0.3
|
||||||
|
},
|
||||||
|
"ImageScalar": 1,
|
||||||
|
"ImageSecondaryURL": "",
|
||||||
|
"ImageURL": "http://cloud-3.steamusercontent.com/ugc/2342503777954079997/156B97A89D6168F1199EE2E0FE155839627C8BCD/",
|
||||||
|
"WidthScale": 0
|
||||||
|
},
|
||||||
|
"Description": "",
|
||||||
|
"DragSelectable": true,
|
||||||
|
"GMNotes": "",
|
||||||
|
"GUID": "2b4348",
|
||||||
|
"Grid": true,
|
||||||
|
"GridProjection": false,
|
||||||
|
"Hands": false,
|
||||||
|
"HideWhenFaceDown": false,
|
||||||
|
"IgnoreFoW": false,
|
||||||
|
"LayoutGroupSortIndex": 0,
|
||||||
|
"Locked": false,
|
||||||
|
"LuaScript": "",
|
||||||
|
"LuaScriptState": "",
|
||||||
|
"MeasureMovement": false,
|
||||||
|
"Memo": "offering",
|
||||||
|
"Name": "Custom_Token",
|
||||||
|
"Nickname": "Offering",
|
||||||
|
"Snap": false,
|
||||||
|
"Sticky": true,
|
||||||
|
"Tooltip": true,
|
||||||
|
"Transform": {
|
||||||
|
"posX": 44,
|
||||||
|
"posY": 1.5,
|
||||||
|
"posZ": 8,
|
||||||
|
"rotX": 0,
|
||||||
|
"rotY": 270,
|
||||||
|
"rotZ": 0,
|
||||||
|
"scaleX": 0.17,
|
||||||
|
"scaleY": 0.17,
|
||||||
|
"scaleZ": 0.17
|
||||||
|
},
|
||||||
|
"Value": 0,
|
||||||
|
"XmlUI": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Sticky": true,
|
"Sticky": true,
|
||||||
|
@ -113,12 +113,13 @@ do
|
|||||||
-- stateIDs for the multi-stated resource tokens
|
-- stateIDs for the multi-stated resource tokens
|
||||||
local stateTable = {
|
local stateTable = {
|
||||||
["resource"] = 1,
|
["resource"] = 1,
|
||||||
["ammo"] = 2,
|
["ammo"] = 2,
|
||||||
["bounty"] = 3,
|
["bounty"] = 3,
|
||||||
["charge"] = 4,
|
["charge"] = 4,
|
||||||
["evidence"] = 5,
|
["evidence"] = 5,
|
||||||
["secret"] = 6,
|
["secret"] = 6,
|
||||||
["supply"] = 7
|
["supply"] = 7,
|
||||||
|
["offering"] = 8
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Table of data extracted from the token source bag, keyed by the Memo on each token which
|
-- Table of data extracted from the token source bag, keyed by the Memo on each token which
|
||||||
|
@ -11,12 +11,13 @@ TOKEN_INDEX[9] = "resource"
|
|||||||
|
|
||||||
local stateTable = {
|
local stateTable = {
|
||||||
["resource"] = 1,
|
["resource"] = 1,
|
||||||
["ammo"] = 2,
|
["ammo"] = 2,
|
||||||
["bounty"] = 3,
|
["bounty"] = 3,
|
||||||
["charge"] = 4,
|
["charge"] = 4,
|
||||||
["evidence"] = 5,
|
["evidence"] = 5,
|
||||||
["secret"] = 6,
|
["secret"] = 6,
|
||||||
["supply"] = 7
|
["supply"] = 7,
|
||||||
|
["offering"] = 8
|
||||||
}
|
}
|
||||||
|
|
||||||
---@param index number Index of the pressed key
|
---@param index number Index of the pressed key
|
||||||
|
Loading…
Reference in New Issue
Block a user