resolving comments

This commit is contained in:
Chr1Z93 2022-11-19 01:56:50 +01:00
parent 270c731246
commit c54afed3ff
17 changed files with 28 additions and 17 deletions

View File

@ -52,7 +52,7 @@
"Tooltip": true,
"Transform": {
"posX": -31.911,
"posY": 1.65,
"posY": 1.57,
"posZ": 30.97,
"rotX": 0,
"rotY": 0,

View File

@ -52,7 +52,7 @@
"Tooltip": true,
"Transform": {
"posX": -59.449,
"posY": 1.65,
"posY": 1.57,
"posZ": -22.628,
"rotX": 0,
"rotY": 270,

View File

@ -52,7 +52,7 @@
"Tooltip": true,
"Transform": {
"posX": -18.983,
"posY": 1.65,
"posY": 1.57,
"posZ": -31.01,
"rotX": 0,
"rotY": 180,

View File

@ -52,7 +52,7 @@
"Tooltip": true,
"Transform": {
"posX": -59.499,
"posY": 1.65,
"posY": 1.57,
"posZ": 9.561,
"rotX": 0,
"rotY": 270,

View File

@ -43,7 +43,7 @@
"Tooltip": false,
"Transform": {
"posX": -32.31,
"posY": 1.55,
"posY": 1.52,
"posZ": 29.006,
"rotX": 0,
"rotY": 11,

View File

@ -43,7 +43,7 @@
"Tooltip": false,
"Transform": {
"posX": -18.706,
"posY": 1.55,
"posY": 1.52,
"posZ": -29.027,
"rotX": 0,
"rotY": 195,

View File

@ -43,7 +43,7 @@
"Tooltip": false,
"Transform": {
"posX": -57.512,
"posY": 1.55,
"posY": 1.52,
"posZ": -22.921,
"rotX": 0,
"rotY": 285,

View File

@ -43,7 +43,7 @@
"Tooltip": false,
"Transform": {
"posX": -57.488,
"posY": 1.55,
"posY": 1.52,
"posZ": 9.184,
"rotX": 0,
"rotY": 282,

View File

@ -43,7 +43,7 @@
"Tooltip": false,
"Transform": {
"posX": -57.882,
"posY": 1.55,
"posY": 1.52,
"posZ": -24.902,
"rotX": 0,
"rotY": 285,

View File

@ -43,7 +43,7 @@
"Tooltip": false,
"Transform": {
"posX": -57.837,
"posY": 1.55,
"posY": 1.52,
"posZ": 7.19,
"rotX": 0,
"rotY": 280,

View File

@ -43,7 +43,7 @@
"Tooltip": false,
"Transform": {
"posX": -34.234,
"posY": 1.55,
"posY": 1.52,
"posZ": 29.394,
"rotX": 0,
"rotY": 10,

View File

@ -43,7 +43,7 @@
"Tooltip": false,
"Transform": {
"posX": -16.653,
"posY": 1.55,
"posY": 1.52,
"posZ": -29.429,
"rotX": 0,
"rotY": 195,

View File

@ -43,7 +43,7 @@
"Tooltip": false,
"Transform": {
"posX": -59.774,
"posY": 1.55,
"posY": 1.52,
"posZ": 7.535,
"rotX": 0,
"rotY": 280,

View File

@ -43,7 +43,7 @@
"Tooltip": false,
"Transform": {
"posX": -59.793,
"posY": 1.55,
"posY": 1.52,
"posZ": -24.544,
"rotX": 0,
"rotY": 285,

View File

@ -43,7 +43,7 @@
"Tooltip": false,
"Transform": {
"posX": -17.037,
"posY": 1.55,
"posY": 1.52,
"posZ": -31.384,
"rotX": 0,
"rotY": 195,

View File

@ -43,7 +43,7 @@
"Tooltip": false,
"Transform": {
"posX": -33.889,
"posY": 1.55,
"posY": 1.52,
"posZ": 31.335,
"rotX": 0,
"rotY": 10,

View File

@ -9,11 +9,22 @@ function onLoad(saved_data)
val = JSON.decode(saved_data)
end
local name = self.getName()
local position = {}
if name == "Damage" or name == "Resources" then
position = { 0, 0.06, 0.1 }
elseif name == "Horror" then
position = { -0.025, 0.06, -0.025 }
else
position = { 0, 0.06, 0 }
end
self.createButton({
label = tostring(val),
click_function = "addOrSubtract",
function_owner = self,
position = { 0, 0.06, 0 },
position = position,
height = 600,
width = 1000,
scale = { 1.5, 1.5, 1.5 },