Merge pull request #297 from argonui/new-tokens

New Tokens
This commit is contained in:
Chr1Z 2023-06-13 12:06:10 +02:00 committed by GitHub
commit c002583689
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 1206 additions and 273 deletions

View File

@ -11,7 +11,7 @@
"r": 0.28224
},
"ContainedObjects_order": [
"Custom_Token.00d19a"
"Resource.4cd3f6"
],
"ContainedObjects_path": "Resourcetokens.0168ae",
"CustomMesh": {

View File

@ -1,58 +0,0 @@
{
"AltLookAngle": {
"x": 0,
"y": 0,
"z": 0
},
"Autoraise": true,
"ColorDiffuse": {
"b": 1,
"g": 1,
"r": 1
},
"CustomImage": {
"CustomToken": {
"MergeDistancePixels": 5,
"Stackable": true,
"StandUp": false,
"Thickness": 0.3
},
"ImageScalar": 1,
"ImageSecondaryURL": "",
"ImageURL": "http://cloud-3.steamusercontent.com/ugc/1758068501357192910/11DDDC7EF621320962FDCF3AE3211D5EDC3D1573/",
"WidthScale": 0
},
"Description": "",
"DragSelectable": true,
"GMNotes": "",
"GUID": "00d19a",
"Grid": true,
"GridProjection": false,
"Hands": false,
"HideWhenFaceDown": false,
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "",
"LuaScriptState": "",
"MeasureMovement": false,
"Memo": "resource",
"Name": "Custom_Token",
"Nickname": "",
"Snap": false,
"Sticky": true,
"Tooltip": true,
"Transform": {
"posX": -44.498,
"posY": 1.781,
"posZ": 26.817,
"rotX": 0,
"rotY": 0,
"rotZ": 0,
"scaleX": 0.17,
"scaleY": 0.17,
"scaleZ": 0.17
},
"Value": 0,
"XmlUI": ""
}

View File

@ -0,0 +1,292 @@
{
"AltLookAngle": {
"x": 0,
"y": 0,
"z": 0
},
"Autoraise": true,
"ColorDiffuse": {
"b": 1,
"g": 1,
"r": 1
},
"CustomImage": {
"CustomToken": {
"MergeDistancePixels": 5,
"Stackable": true,
"StandUp": false,
"Thickness": 0.3
},
"ImageScalar": 1,
"ImageSecondaryURL": "",
"ImageURL": "http://cloud-3.steamusercontent.com/ugc/1758068501357192910/11DDDC7EF621320962FDCF3AE3211D5EDC3D1573/",
"WidthScale": 0
},
"Description": "",
"DragSelectable": true,
"GMNotes": "",
"GUID": "4cd3f6",
"Grid": true,
"GridProjection": false,
"Hands": false,
"HideWhenFaceDown": false,
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "",
"LuaScriptState": "",
"MeasureMovement": false,
"Memo": "resource",
"Name": "Custom_Token",
"Nickname": "Resource",
"Snap": false,
"States": {
"2": {
"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/2028355744161230067/741BC33D398801C4BC8368C345EAEF3BE2522823/",
"WidthScale": 0
},
"Description": "",
"DragSelectable": true,
"GMNotes": "",
"GUID": "00d19a",
"Grid": true,
"GridProjection": false,
"Hands": false,
"HideWhenFaceDown": false,
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "",
"LuaScriptState": "",
"MeasureMovement": false,
"Memo": "ammo",
"Name": "Custom_Token",
"Nickname": "Ammo",
"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": ""
},
"3": {
"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/2028355744161230179/E3A30A2D661A12205D98D4D0E374591586C5C486/",
"WidthScale": 0
},
"Description": "",
"DragSelectable": true,
"GMNotes": "",
"GUID": "a5ce94",
"Grid": true,
"GridProjection": false,
"Hands": false,
"HideWhenFaceDown": false,
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "",
"LuaScriptState": "",
"MeasureMovement": false,
"Memo": "charge",
"Name": "Custom_Token",
"Nickname": "Charge",
"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": ""
},
"4": {
"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/2028355744161230311/11AD08ED0D8BF5B237444DAD0AF4F8144297A485/",
"WidthScale": 0
},
"Description": "",
"DragSelectable": true,
"GMNotes": "",
"GUID": "7a4a9a",
"Grid": true,
"GridProjection": false,
"Hands": false,
"HideWhenFaceDown": false,
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "",
"LuaScriptState": "",
"MeasureMovement": false,
"Memo": "secret",
"Name": "Custom_Token",
"Nickname": "Secret",
"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": ""
},
"5": {
"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/2028355744161230402/6486457CE96C04945473D4E079CBFFAF54C7EE1B/",
"WidthScale": 0
},
"Description": "",
"DragSelectable": true,
"GMNotes": "",
"GUID": "2b4628",
"Grid": true,
"GridProjection": false,
"Hands": false,
"HideWhenFaceDown": false,
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "",
"LuaScriptState": "",
"MeasureMovement": false,
"Memo": "supply",
"Name": "Custom_Token",
"Nickname": "Supply",
"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,
"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": ""
}

View File

@ -11,7 +11,7 @@
"r": 0.28224
},
"ContainedObjects_order": [
"Custom_Token.00d19a"
"Resource.4cd3f6"
],
"ContainedObjects_path": "Resourcetokens.9fadf9",
"CustomMesh": {

View File

@ -1,58 +0,0 @@
{
"AltLookAngle": {
"x": 0,
"y": 0,
"z": 0
},
"Autoraise": true,
"ColorDiffuse": {
"b": 1,
"g": 1,
"r": 1
},
"CustomImage": {
"CustomToken": {
"MergeDistancePixels": 5,
"Stackable": true,
"StandUp": false,
"Thickness": 0.3
},
"ImageScalar": 1,
"ImageSecondaryURL": "",
"ImageURL": "http://cloud-3.steamusercontent.com/ugc/1758068501357192910/11DDDC7EF621320962FDCF3AE3211D5EDC3D1573/",
"WidthScale": 0
},
"Description": "",
"DragSelectable": true,
"GMNotes": "",
"GUID": "00d19a",
"Grid": true,
"GridProjection": false,
"Hands": false,
"HideWhenFaceDown": false,
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "",
"LuaScriptState": "",
"MeasureMovement": false,
"Memo": "resource",
"Name": "Custom_Token",
"Nickname": "",
"Snap": false,
"Sticky": true,
"Tooltip": true,
"Transform": {
"posX": -50.897,
"posY": 1.781,
"posZ": -1.283,
"rotX": 0,
"rotY": 0,
"rotZ": 0,
"scaleX": 0.17,
"scaleY": 0.17,
"scaleZ": 0.17
},
"Value": 0,
"XmlUI": ""
}

View File

@ -0,0 +1,292 @@
{
"AltLookAngle": {
"x": 0,
"y": 0,
"z": 0
},
"Autoraise": true,
"ColorDiffuse": {
"b": 1,
"g": 1,
"r": 1
},
"CustomImage": {
"CustomToken": {
"MergeDistancePixels": 5,
"Stackable": true,
"StandUp": false,
"Thickness": 0.3
},
"ImageScalar": 1,
"ImageSecondaryURL": "",
"ImageURL": "http://cloud-3.steamusercontent.com/ugc/1758068501357192910/11DDDC7EF621320962FDCF3AE3211D5EDC3D1573/",
"WidthScale": 0
},
"Description": "",
"DragSelectable": true,
"GMNotes": "",
"GUID": "4cd3f6",
"Grid": true,
"GridProjection": false,
"Hands": false,
"HideWhenFaceDown": false,
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "",
"LuaScriptState": "",
"MeasureMovement": false,
"Memo": "resource",
"Name": "Custom_Token",
"Nickname": "Resource",
"Snap": false,
"States": {
"2": {
"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/2028355744161230067/741BC33D398801C4BC8368C345EAEF3BE2522823/",
"WidthScale": 0
},
"Description": "",
"DragSelectable": true,
"GMNotes": "",
"GUID": "00d19a",
"Grid": true,
"GridProjection": false,
"Hands": false,
"HideWhenFaceDown": false,
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "",
"LuaScriptState": "",
"MeasureMovement": false,
"Memo": "ammo",
"Name": "Custom_Token",
"Nickname": "Ammo",
"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": ""
},
"3": {
"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/2028355744161230179/E3A30A2D661A12205D98D4D0E374591586C5C486/",
"WidthScale": 0
},
"Description": "",
"DragSelectable": true,
"GMNotes": "",
"GUID": "a5ce94",
"Grid": true,
"GridProjection": false,
"Hands": false,
"HideWhenFaceDown": false,
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "",
"LuaScriptState": "",
"MeasureMovement": false,
"Memo": "charge",
"Name": "Custom_Token",
"Nickname": "Charge",
"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": ""
},
"4": {
"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/2028355744161230311/11AD08ED0D8BF5B237444DAD0AF4F8144297A485/",
"WidthScale": 0
},
"Description": "",
"DragSelectable": true,
"GMNotes": "",
"GUID": "7a4a9a",
"Grid": true,
"GridProjection": false,
"Hands": false,
"HideWhenFaceDown": false,
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "",
"LuaScriptState": "",
"MeasureMovement": false,
"Memo": "secret",
"Name": "Custom_Token",
"Nickname": "Secret",
"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": ""
},
"5": {
"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/2028355744161230402/6486457CE96C04945473D4E079CBFFAF54C7EE1B/",
"WidthScale": 0
},
"Description": "",
"DragSelectable": true,
"GMNotes": "",
"GUID": "2b4628",
"Grid": true,
"GridProjection": false,
"Hands": false,
"HideWhenFaceDown": false,
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "",
"LuaScriptState": "",
"MeasureMovement": false,
"Memo": "supply",
"Name": "Custom_Token",
"Nickname": "Supply",
"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,
"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": ""
}

View File

@ -11,7 +11,7 @@
"r": 0.28224
},
"ContainedObjects_order": [
"Custom_Token.00d19a"
"Resource.4cd3f6"
],
"ContainedObjects_path": "Resourcetokens.fd617a",
"CustomMesh": {

View File

@ -1,58 +0,0 @@
{
"AltLookAngle": {
"x": 0,
"y": 0,
"z": 0
},
"Autoraise": true,
"ColorDiffuse": {
"b": 1,
"g": 1,
"r": 1
},
"CustomImage": {
"CustomToken": {
"MergeDistancePixels": 5,
"Stackable": true,
"StandUp": false,
"Thickness": 0.3
},
"ImageScalar": 1,
"ImageSecondaryURL": "",
"ImageURL": "http://cloud-3.steamusercontent.com/ugc/1758068501357192910/11DDDC7EF621320962FDCF3AE3211D5EDC3D1573/",
"WidthScale": 0
},
"Description": "",
"DragSelectable": true,
"GMNotes": "",
"GUID": "00d19a",
"Grid": true,
"GridProjection": false,
"Hands": false,
"HideWhenFaceDown": false,
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "",
"LuaScriptState": "",
"MeasureMovement": false,
"Memo": "resource",
"Name": "Custom_Token",
"Nickname": "",
"Snap": false,
"Sticky": true,
"Tooltip": true,
"Transform": {
"posX": -42.682,
"posY": 1.763,
"posZ": -26.327,
"rotX": 0,
"rotY": 0,
"rotZ": 0,
"scaleX": 0.17,
"scaleY": 0.17,
"scaleZ": 0.17
},
"Value": 0,
"XmlUI": ""
}

View File

@ -0,0 +1,292 @@
{
"AltLookAngle": {
"x": 0,
"y": 0,
"z": 0
},
"Autoraise": true,
"ColorDiffuse": {
"b": 1,
"g": 1,
"r": 1
},
"CustomImage": {
"CustomToken": {
"MergeDistancePixels": 5,
"Stackable": true,
"StandUp": false,
"Thickness": 0.3
},
"ImageScalar": 1,
"ImageSecondaryURL": "",
"ImageURL": "http://cloud-3.steamusercontent.com/ugc/1758068501357192910/11DDDC7EF621320962FDCF3AE3211D5EDC3D1573/",
"WidthScale": 0
},
"Description": "",
"DragSelectable": true,
"GMNotes": "",
"GUID": "4cd3f6",
"Grid": true,
"GridProjection": false,
"Hands": false,
"HideWhenFaceDown": false,
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "",
"LuaScriptState": "",
"MeasureMovement": false,
"Memo": "resource",
"Name": "Custom_Token",
"Nickname": "Resource",
"Snap": false,
"States": {
"2": {
"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/2028355744161230067/741BC33D398801C4BC8368C345EAEF3BE2522823/",
"WidthScale": 0
},
"Description": "",
"DragSelectable": true,
"GMNotes": "",
"GUID": "00d19a",
"Grid": true,
"GridProjection": false,
"Hands": false,
"HideWhenFaceDown": false,
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "",
"LuaScriptState": "",
"MeasureMovement": false,
"Memo": "ammo",
"Name": "Custom_Token",
"Nickname": "Ammo",
"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": ""
},
"3": {
"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/2028355744161230179/E3A30A2D661A12205D98D4D0E374591586C5C486/",
"WidthScale": 0
},
"Description": "",
"DragSelectable": true,
"GMNotes": "",
"GUID": "a5ce94",
"Grid": true,
"GridProjection": false,
"Hands": false,
"HideWhenFaceDown": false,
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "",
"LuaScriptState": "",
"MeasureMovement": false,
"Memo": "charge",
"Name": "Custom_Token",
"Nickname": "Charge",
"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": ""
},
"4": {
"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/2028355744161230311/11AD08ED0D8BF5B237444DAD0AF4F8144297A485/",
"WidthScale": 0
},
"Description": "",
"DragSelectable": true,
"GMNotes": "",
"GUID": "7a4a9a",
"Grid": true,
"GridProjection": false,
"Hands": false,
"HideWhenFaceDown": false,
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "",
"LuaScriptState": "",
"MeasureMovement": false,
"Memo": "secret",
"Name": "Custom_Token",
"Nickname": "Secret",
"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": ""
},
"5": {
"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/2028355744161230402/6486457CE96C04945473D4E079CBFFAF54C7EE1B/",
"WidthScale": 0
},
"Description": "",
"DragSelectable": true,
"GMNotes": "",
"GUID": "2b4628",
"Grid": true,
"GridProjection": false,
"Hands": false,
"HideWhenFaceDown": false,
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "",
"LuaScriptState": "",
"MeasureMovement": false,
"Memo": "supply",
"Name": "Custom_Token",
"Nickname": "Supply",
"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,
"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": ""
}

View File

@ -14,11 +14,11 @@
"r": 0.15842
},
"ContainedObjects_order": [
"ClueDoom.a3fb6c",
"Damage.cd2a02",
"Horror.36be72",
"ClueDoom.a3fb6c",
"Path.7234af",
"Resource.00d19a",
"Resource.910e09",
"ResourceCounter.498ec0"
],
"ContainedObjects_path": "TokenSource.124381",

View File

@ -46,8 +46,8 @@
"posX": 78.661,
"posY": 2.398,
"posZ": -1.064,
"rotX": 8,
"rotY": 90,
"rotX": 0,
"rotY": 270,
"rotZ": 0,
"scaleX": 0.25,
"scaleY": 1,

View File

@ -1,58 +0,0 @@
{
"AltLookAngle": {
"x": 0,
"y": 0,
"z": 0
},
"Autoraise": true,
"ColorDiffuse": {
"b": 1,
"g": 1,
"r": 1
},
"CustomImage": {
"CustomToken": {
"MergeDistancePixels": 5,
"Stackable": true,
"StandUp": false,
"Thickness": 0.3
},
"ImageScalar": 1,
"ImageSecondaryURL": "",
"ImageURL": "http://cloud-3.steamusercontent.com/ugc/1758068501357192910/11DDDC7EF621320962FDCF3AE3211D5EDC3D1573/",
"WidthScale": 0
},
"Description": "",
"DragSelectable": true,
"GMNotes": "",
"GUID": "00d19a",
"Grid": true,
"GridProjection": false,
"Hands": false,
"HideWhenFaceDown": false,
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "",
"LuaScriptState": "",
"MeasureMovement": false,
"Memo": "resource",
"Name": "Custom_Token",
"Nickname": "Resource",
"Snap": false,
"Sticky": true,
"Tooltip": true,
"Transform": {
"posX": 78.848,
"posY": 2.273,
"posZ": -1.469,
"rotX": 0,
"rotY": 270,
"rotZ": 0,
"scaleX": 0.17,
"scaleY": 0.17,
"scaleZ": 0.17
},
"Value": 0,
"XmlUI": ""
}

View File

@ -0,0 +1,292 @@
{
"AltLookAngle": {
"x": 0,
"y": 0,
"z": 0
},
"Autoraise": true,
"ColorDiffuse": {
"b": 1,
"g": 1,
"r": 1
},
"CustomImage": {
"CustomToken": {
"MergeDistancePixels": 5,
"Stackable": true,
"StandUp": false,
"Thickness": 0.3
},
"ImageScalar": 1,
"ImageSecondaryURL": "",
"ImageURL": "http://cloud-3.steamusercontent.com/ugc/1758068501357192910/11DDDC7EF621320962FDCF3AE3211D5EDC3D1573/",
"WidthScale": 0
},
"Description": "",
"DragSelectable": true,
"GMNotes": "",
"GUID": "910e09",
"Grid": true,
"GridProjection": false,
"Hands": false,
"HideWhenFaceDown": false,
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "",
"LuaScriptState": "",
"MeasureMovement": false,
"Memo": "resource",
"Name": "Custom_Token",
"Nickname": "Resource",
"Snap": false,
"States": {
"2": {
"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/2028355744161230067/741BC33D398801C4BC8368C345EAEF3BE2522823/",
"WidthScale": 0
},
"Description": "",
"DragSelectable": true,
"GMNotes": "",
"GUID": "00d19a",
"Grid": true,
"GridProjection": false,
"Hands": false,
"HideWhenFaceDown": false,
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "",
"LuaScriptState": "",
"MeasureMovement": false,
"Memo": "ammo",
"Name": "Custom_Token",
"Nickname": "Ammo",
"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": ""
},
"3": {
"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/2028355744161230179/E3A30A2D661A12205D98D4D0E374591586C5C486/",
"WidthScale": 0
},
"Description": "",
"DragSelectable": true,
"GMNotes": "",
"GUID": "a5ce94",
"Grid": true,
"GridProjection": false,
"Hands": false,
"HideWhenFaceDown": false,
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "",
"LuaScriptState": "",
"MeasureMovement": false,
"Memo": "charge",
"Name": "Custom_Token",
"Nickname": "Charge",
"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": ""
},
"4": {
"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/2028355744161230311/11AD08ED0D8BF5B237444DAD0AF4F8144297A485/",
"WidthScale": 0
},
"Description": "",
"DragSelectable": true,
"GMNotes": "",
"GUID": "7a4a9a",
"Grid": true,
"GridProjection": false,
"Hands": false,
"HideWhenFaceDown": false,
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "",
"LuaScriptState": "",
"MeasureMovement": false,
"Memo": "secret",
"Name": "Custom_Token",
"Nickname": "Secret",
"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": ""
},
"5": {
"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/2028355744161230402/6486457CE96C04945473D4E079CBFFAF54C7EE1B/",
"WidthScale": 0
},
"Description": "",
"DragSelectable": true,
"GMNotes": "",
"GUID": "2b4628",
"Grid": true,
"GridProjection": false,
"Hands": false,
"HideWhenFaceDown": false,
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "",
"LuaScriptState": "",
"MeasureMovement": false,
"Memo": "supply",
"Name": "Custom_Token",
"Nickname": "Supply",
"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,
"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": ""
}

View File

@ -107,6 +107,14 @@ do
}
}
-- stateIDs for the multi-stated resource tokens
local stateTable = {
["Ammo"] = 2,
["Charge"] = 3,
["Secret"] = 4,
["Supply"] = 5
}
-- Source for tokens
local TOKEN_SOURCE_GUID = "124381"
@ -148,7 +156,8 @@ do
---@param tokenCount Number How many tokens to spawn. For damage or horror this value will be set to the
-- spawned state object rather than spawning multiple tokens
---@param shiftDown Number An offset for the z-value of this group of tokens
TokenManager.spawnTokenGroup = function(card, tokenType, tokenCount, shiftDown)
---@param stateID Number Index of the state to load for this token
TokenManager.spawnTokenGroup = function(card, tokenType, tokenCount, shiftDown, stateID)
local optionPanel = Global.getTable("optionPanel")
if tokenType == "damage" or tokenType == "horror" then
@ -156,7 +165,7 @@ do
elseif tokenType == "resource" and optionPanel["useResourceCounters"] then
TokenManager.spawnResourceCounterToken(card, tokenCount)
else
TokenManager.spawnMultipleTokens(card, tokenType, tokenCount, shiftDown)
TokenManager.spawnMultipleTokens(card, tokenType, tokenCount, shiftDown, stateID)
end
end
@ -187,7 +196,8 @@ do
-- Other types should use spawnCounterToken()
---@param tokenCount Number How many tokens to spawn
---@param shiftDown Number An offset for the z-value of this group of tokens
TokenManager.spawnMultipleTokens = function(card, tokenType, tokenCount, shiftDown)
---@param stateID Number Index of the state to load for this token
TokenManager.spawnMultipleTokens = function(card, tokenType, tokenCount, shiftDown, stateID)
if tokenCount < 1 or tokenCount > 12 then
return
end
@ -219,8 +229,14 @@ do
return
end
-- this is used to load the correct state for additional resource tokens (e.g. "Ammo")
local callback = nil
if tokenType == "resource" and stateID ~= nil then
callback = function(spawned) spawned.setState(stateID) end
end
for i = 1, tokenCount do
TokenManager.spawnToken(offsets[i], tokenType, card.getRotation())
TokenManager.spawnToken(offsets[i], tokenType, card.getRotation(), callback)
end
end
@ -325,38 +341,20 @@ do
--- spawned for that type. e.g. Akachi's playmat should pass "Charge"=1
internal.spawnTokensFromUses = function(card, extraUses)
local uses = internal.getUses(card)
if uses == nil then
return
end
local type = nil
local token = nil
local tokenCount = 0
-- Uses structure underwent a breaking change in 2.4.0, have to check to see if this is
-- a single entry or an array. This is ugly and duplicated, but impossible to replicate the
-- multi-spawn vs. single spawn otherwise. TODO: Clean this up when 2.4.0 has been out long
-- enough that saved decks don't have old data
if uses.count != nil then
type = cardMetadata.uses.type
token = cardMetadata.uses.token
tokenCount = cardMetadata.uses.count
if uses == nil then return end
-- go through tokens to spawn
local type, token, tokenCount
for i, useInfo in ipairs(uses) do
type = useInfo.type
token = useInfo.token
tokenCount = (useInfo.count or 0)
+ (useInfo.countPerInvestigator or 0) * playArea.getInvestigatorCount()
if extraUses ~= nil and extraUses[type] ~= nil then
tokenCount = tokenCount + extraUses[type]
end
--log("Spawning single use tokens for "..card.getName()..'['..card.getDescription()..']: '..tokenCount.."x "..token)
TokenManager.spawnTokenGroup(card, token, tokenCount)
else
for i, useInfo in ipairs(uses) do
type = useInfo.type
token = useInfo.token
tokenCount = (useInfo.count or 0)
+ (useInfo.countPerInvestigator or 0) * playArea.getInvestigatorCount()
if extraUses ~= nil and extraUses[type] ~= nil then
tokenCount = tokenCount + extraUses[type]
end
--log("Spawning use array tokens for "..card.getName()..'['..card.getDescription()..']: '..tokenCount.."x "..token)
-- Shift each spawned group after the first down so they don't pile on each other
TokenManager.spawnTokenGroup(card, token, tokenCount, (i - 1) * 0.8)
end
-- Shift each spawned group after the first down so they don't pile on each other
TokenManager.spawnTokenGroup(card, token, tokenCount, (i - 1) * 0.8, stateTable[type])
end
tokenSpawnTracker.markTokensSpawned(card.getGUID())
end
@ -463,5 +461,4 @@ do
end
return TokenManager
end