Final comment pass for token refactoring
Removed unneeded code and named the tokens for templates
This commit is contained in:
parent
17512f5946
commit
6af1dba778
@ -14,11 +14,11 @@
|
||||
"r": 0.15842
|
||||
},
|
||||
"ContainedObjects_order": [
|
||||
"Custom_Token.00d19a",
|
||||
"Custom_Tile.a3fb6c",
|
||||
"ClueDoom.a40a48",
|
||||
"Damage.cd2a02",
|
||||
"Horror.36be72",
|
||||
"Custom_Token.cd2a02",
|
||||
"Custom_Tile.a40a48"
|
||||
"ClueDoom.a3fb6c",
|
||||
"Reesource.00d19a"
|
||||
],
|
||||
"ContainedObjects_path": "TokenSource.124381",
|
||||
"Description": "",
|
||||
|
@ -37,15 +37,15 @@
|
||||
"LuaScriptState": "",
|
||||
"MeasureMovement": false,
|
||||
"Name": "Custom_Tile",
|
||||
"Nickname": "",
|
||||
"Nickname": "ClueDoom",
|
||||
"Snap": false,
|
||||
"Sticky": true,
|
||||
"Tooltip": true,
|
||||
"Tooltip": false,
|
||||
"Transform": {
|
||||
"posX": -26.665,
|
||||
"posY": 2.687,
|
||||
"posZ": -7.238,
|
||||
"rotX": 9,
|
||||
"posX": 78.661,
|
||||
"posY": 2.398,
|
||||
"posZ": -1.064,
|
||||
"rotX": 8,
|
||||
"rotY": 90,
|
||||
"rotZ": 178,
|
||||
"scaleX": 0.25,
|
@ -37,17 +37,17 @@
|
||||
"LuaScriptState": "",
|
||||
"MeasureMovement": false,
|
||||
"Name": "Custom_Tile",
|
||||
"Nickname": "",
|
||||
"Nickname": "ClueDoom",
|
||||
"Snap": false,
|
||||
"Sticky": true,
|
||||
"Tooltip": true,
|
||||
"Tooltip": false,
|
||||
"Transform": {
|
||||
"posX": -26.764,
|
||||
"posY": 2.57,
|
||||
"posZ": -7.529,
|
||||
"rotX": 358,
|
||||
"posX": 78.738,
|
||||
"posY": 2.287,
|
||||
"posZ": -1.272,
|
||||
"rotX": 356,
|
||||
"rotY": 270,
|
||||
"rotZ": 8,
|
||||
"rotZ": 4,
|
||||
"scaleX": 0.25,
|
||||
"scaleY": 1,
|
||||
"scaleZ": 0.25
|
@ -37,7 +37,7 @@
|
||||
"LuaScriptState": "",
|
||||
"MeasureMovement": false,
|
||||
"Name": "Custom_Token",
|
||||
"Nickname": "",
|
||||
"Nickname": "Damage",
|
||||
"Snap": false,
|
||||
"States": {
|
||||
"10": {
|
||||
@ -2835,14 +2835,14 @@
|
||||
}
|
||||
},
|
||||
"Sticky": true,
|
||||
"Tooltip": true,
|
||||
"Tooltip": false,
|
||||
"Transform": {
|
||||
"posX": -26.815,
|
||||
"posY": 2.636,
|
||||
"posZ": -7.441,
|
||||
"rotX": 0,
|
||||
"posX": 78.665,
|
||||
"posY": 2.351,
|
||||
"posZ": -1.205,
|
||||
"rotX": 357,
|
||||
"rotY": 270,
|
||||
"rotZ": 7,
|
||||
"rotZ": 5,
|
||||
"scaleX": 0.24,
|
||||
"scaleY": 1,
|
||||
"scaleZ": 0.24
|
@ -498,14 +498,14 @@
|
||||
}
|
||||
},
|
||||
"Sticky": true,
|
||||
"Tooltip": true,
|
||||
"Tooltip": false,
|
||||
"Transform": {
|
||||
"posX": -26.765,
|
||||
"posY": 2.646,
|
||||
"posZ": -7.393,
|
||||
"rotX": 357,
|
||||
"posX": 79.031,
|
||||
"posY": 2.307,
|
||||
"posZ": -1.38,
|
||||
"rotX": 358,
|
||||
"rotY": 270,
|
||||
"rotZ": 4,
|
||||
"rotZ": 1,
|
||||
"scaleX": 0.25,
|
||||
"scaleY": 1,
|
||||
"scaleZ": 0.25
|
||||
|
@ -37,17 +37,17 @@
|
||||
"LuaScriptState": "",
|
||||
"MeasureMovement": false,
|
||||
"Name": "Custom_Token",
|
||||
"Nickname": "",
|
||||
"Nickname": "Reesource",
|
||||
"Snap": false,
|
||||
"Sticky": true,
|
||||
"Tooltip": true,
|
||||
"Tooltip": false,
|
||||
"Transform": {
|
||||
"posX": -26.965,
|
||||
"posY": 2.608,
|
||||
"posZ": -7.37,
|
||||
"rotX": 5,
|
||||
"posX": 78.848,
|
||||
"posY": 2.273,
|
||||
"posZ": -1.469,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 6,
|
||||
"rotZ": 0,
|
||||
"scaleX": 0.17,
|
||||
"scaleY": 0.17,
|
||||
"scaleZ": 0.17
|
@ -107,16 +107,12 @@ do
|
||||
}
|
||||
}
|
||||
|
||||
-- Source for tokens
|
||||
local TOKEN_SOURCE_GUID = "124381"
|
||||
local tokenTemplates
|
||||
|
||||
local SOURCE_BAG_GUIDS = {
|
||||
damage = "480bda",
|
||||
horror = "c3ecf4",
|
||||
resource = "9fadf9",
|
||||
doom = "47ffc3",
|
||||
clue = "31fa39",
|
||||
}
|
||||
-- Table of data extracted from the token source bag, keyed by the GMNotes on each token which
|
||||
-- should match the token type keys ("resource", "clue", etc)
|
||||
local tokenTemplates
|
||||
|
||||
local DATA_HELPER_GUID = "708279"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user