Merge pull request #394 from argonui/counters

Added manual Elder Sign and Auto-fail counters
This commit is contained in:
Tikatoy 2023-10-08 09:59:28 -07:00 committed by GitHub
commit 08162ba05a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 119 additions and 1 deletions

View File

@ -20,7 +20,9 @@
"Double-SidedResource.bc81cb",
"DescriptivePhaseTracker.b171c8",
"CustomDataHelper.2547b3",
"UnderworldMarketHelper.3650ea"
"UnderworldMarketHelper.3650ea",
"Auto-failCounter.a9a321",
"ElderSignCounter.e62cb5"
],
"ContainedObjects_path": "Fan-MadeAccessories.aa8b38",
"CustomMesh": {

View File

@ -0,0 +1,57 @@
{
"AltLookAngle": {
"x": 0,
"y": 0,
"z": 0
},
"Autoraise": true,
"ColorDiffuse": {
"b": 1,
"g": 1,
"r": 1
},
"CustomImage": {
"CustomTile": {
"Stackable": false,
"Stretch": true,
"Thickness": 0.1,
"Type": 2
},
"ImageScalar": 1,
"ImageSecondaryURL": "",
"ImageURL": "https://i.imgur.com/lns4fhz.png",
"WidthScale": 0
},
"Description": "",
"DragSelectable": true,
"GMNotes": "",
"GUID": "a9a321",
"Grid": true,
"GridProjection": false,
"Hands": false,
"HideWhenFaceDown": false,
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "require(\"core/GenericCounter\")",
"LuaScriptState": "0",
"MeasureMovement": false,
"Name": "Custom_Tile",
"Nickname": "Auto-fail Counter",
"Snap": true,
"Sticky": true,
"Tooltip": true,
"Transform": {
"posX": -60.946,
"posY": 4.823,
"posZ": -74.885,
"rotX": 0,
"rotY": 270,
"rotZ": 0,
"scaleX": 0.81,
"scaleY": 1,
"scaleZ": 0.81
},
"Value": 0,
"XmlUI": ""
}

View File

@ -0,0 +1,57 @@
{
"AltLookAngle": {
"x": 0,
"y": 0,
"z": 0
},
"Autoraise": true,
"ColorDiffuse": {
"b": 1,
"g": 1,
"r": 1
},
"CustomImage": {
"CustomTile": {
"Stackable": false,
"Stretch": true,
"Thickness": 0.1,
"Type": 2
},
"ImageScalar": 1,
"ImageSecondaryURL": "",
"ImageURL": "https://i.imgur.com/nEmqjmj.png",
"WidthScale": 0
},
"Description": "",
"DragSelectable": true,
"GMNotes": "",
"GUID": "e62cb5",
"Grid": true,
"GridProjection": false,
"Hands": false,
"HideWhenFaceDown": false,
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "require(\"core/GenericCounter\")",
"LuaScriptState": "0",
"MeasureMovement": false,
"Name": "Custom_Tile",
"Nickname": "Elder Sign Counter",
"Snap": true,
"Sticky": true,
"Tooltip": true,
"Transform": {
"posX": -60.81,
"posY": 4.823,
"posZ": -75.121,
"rotX": 0,
"rotY": 270,
"rotZ": 0,
"scaleX": 0.81,
"scaleY": 1,
"scaleZ": 0.81
},
"Value": 0,
"XmlUI": ""
}

View File

@ -16,6 +16,8 @@ function onLoad(savedData)
position = { 0, 0.06, 0.1 }
elseif name == "Horror" then
position = { -0.025, 0.06, -0.025 }
elseif name == "Elder Sign Counter" or name == "Auto-fail Counter" then
position = { 0, 0.1, 0 }
else
position = { 0, 0.06, 0 }
end