From ce9435f76f3b6ee4ea3285c172e2f001fb018553 Mon Sep 17 00:00:00 2001 From: Chr1Z93 Date: Sat, 21 Oct 2023 12:10:53 +0200 Subject: [PATCH] value changes --- objects/Clues.3f22e5.json | 2 +- objects/Clues.4111de.json | 2 +- objects/Clues.891403.json | 2 +- objects/Clues.db85d6.json | 2 +- .../PlayermatHider.a758b2.json | 6 +++--- src/accessories/PlayermatHider.ttslua | 2 +- src/playermat/Playmat.ttslua | 2 +- xml/accessories/PlayermatHider.xml | 13 ++++++------- 8 files changed, 15 insertions(+), 16 deletions(-) diff --git a/objects/Clues.3f22e5.json b/objects/Clues.3f22e5.json index 22fbf643..9a2ea3da 100644 --- a/objects/Clues.3f22e5.json +++ b/objects/Clues.3f22e5.json @@ -46,7 +46,7 @@ "Tooltip": false, "Transform": { "posX": -59.426, - "posY": -1, + "posY": 1, "posZ": -22.721, "rotX": 0, "rotY": 280, diff --git a/objects/Clues.4111de.json b/objects/Clues.4111de.json index 6de3db8f..c15f70b4 100644 --- a/objects/Clues.4111de.json +++ b/objects/Clues.4111de.json @@ -46,7 +46,7 @@ "Tooltip": false, "Transform": { "posX": -23.89, - "posY": -1, + "posY": 1, "posZ": -30.977, "rotX": 0, "rotY": 190, diff --git a/objects/Clues.891403.json b/objects/Clues.891403.json index 0e1d3a62..f27dbd1a 100644 --- a/objects/Clues.891403.json +++ b/objects/Clues.891403.json @@ -46,7 +46,7 @@ "Tooltip": false, "Transform": { "posX": -36.87, - "posY": -1, + "posY": 1, "posZ": 30.977, "rotX": 0, "rotY": 10, diff --git a/objects/Clues.db85d6.json b/objects/Clues.db85d6.json index 47e6d5c0..8c146fb7 100644 --- a/objects/Clues.db85d6.json +++ b/objects/Clues.db85d6.json @@ -46,7 +46,7 @@ "Tooltip": false, "Transform": { "posX": -59.426, - "posY": -1, + "posY": 1, "posZ": 9.395, "rotX": 0, "rotY": 280, diff --git a/objects/Fan-MadeAccessories.aa8b38/PlayermatHider.a758b2.json b/objects/Fan-MadeAccessories.aa8b38/PlayermatHider.a758b2.json index 55c4a3e4..3c8a1e93 100644 --- a/objects/Fan-MadeAccessories.aa8b38/PlayermatHider.a758b2.json +++ b/objects/Fan-MadeAccessories.aa8b38/PlayermatHider.a758b2.json @@ -22,7 +22,7 @@ "ImageURL": "http://cloud-3.steamusercontent.com/ugc/2115061845796985108/F0ADB7094641DA966FFA3AF0CC6987D33D2D9591/", "WidthScale": 0 }, - "Description": "", + "Description": "Use the buttons to show / hide a playmat.", "DragSelectable": true, "GMNotes": "", "GUID": "a758b2", @@ -51,9 +51,9 @@ "rotX": 0, "rotY": 270, "rotZ": 0, - "scaleX": 3, + "scaleX": 5, "scaleY": 1, - "scaleZ": 3 + "scaleZ": 5 }, "Value": 0, "XmlUI": "\u003cInclude src=\"accessories/PlayermatHider.xml\"/\u003e" diff --git a/src/accessories/PlayermatHider.ttslua b/src/accessories/PlayermatHider.ttslua index 16766cff..e01f1ccb 100644 --- a/src/accessories/PlayermatHider.ttslua +++ b/src/accessories/PlayermatHider.ttslua @@ -5,7 +5,7 @@ function onClick_hideShow(player, matColor) objects = guidReferenceApi.getObjectsByOwner(matColor) local actionTokens = searchMat(objects.Playermat.positionToWorld({-1.1, 0.05, -0.27}), {4, 1, 1}, isActionToken) local pos = objects.Playermat.getPosition() - local mod = (pos.y > 0) and -3 or 3 + local mod = (pos.y > 0) and -2 or 2 -- move all objects for _, obj in pairs(objects) do diff --git a/src/playermat/Playmat.ttslua b/src/playermat/Playmat.ttslua index 23e337d2..ac5b615d 100644 --- a/src/playermat/Playmat.ttslua +++ b/src/playermat/Playmat.ttslua @@ -865,7 +865,7 @@ function clickableClues(showCounter) local clueCount = 0 -- move clue counters - local modY = showcounter and -2.52 or 2.52 + local modY = showcounter and -0.52 or 0.52 ownedObjects.ClickableClueCounter.setPosition(clickerPos + Vector(0, modY, 0)) if showCounter then diff --git a/xml/accessories/PlayermatHider.xml b/xml/accessories/PlayermatHider.xml index 239a1a79..ffc70b81 100644 --- a/xml/accessories/PlayermatHider.xml +++ b/xml/accessories/PlayermatHider.xml @@ -1,9 +1,9 @@ -