diff --git a/objects/Fan-MadeAccessories.aa8b38.json b/objects/Fan-MadeAccessories.aa8b38.json index 57375ea4..b6c3001c 100644 --- a/objects/Fan-MadeAccessories.aa8b38.json +++ b/objects/Fan-MadeAccessories.aa8b38.json @@ -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": { diff --git a/objects/Fan-MadeAccessories.aa8b38/Auto-failCounter.a9a321.json b/objects/Fan-MadeAccessories.aa8b38/Auto-failCounter.a9a321.json new file mode 100644 index 00000000..c7b63814 --- /dev/null +++ b/objects/Fan-MadeAccessories.aa8b38/Auto-failCounter.a9a321.json @@ -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": "" +} \ No newline at end of file diff --git a/objects/Fan-MadeAccessories.aa8b38/ElderSignCounter.e62cb5.json b/objects/Fan-MadeAccessories.aa8b38/ElderSignCounter.e62cb5.json new file mode 100644 index 00000000..bfd05186 --- /dev/null +++ b/objects/Fan-MadeAccessories.aa8b38/ElderSignCounter.e62cb5.json @@ -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": "" +} \ No newline at end of file diff --git a/src/core/GenericCounter.ttslua b/src/core/GenericCounter.ttslua index d21ff1c7..b8409383 100644 --- a/src/core/GenericCounter.ttslua +++ b/src/core/GenericCounter.ttslua @@ -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