updated image and removed obsolete code

This commit is contained in:
Chr1Z93 2024-02-07 21:05:46 +01:00
parent ca1603a270
commit 420ad29608
2 changed files with 9 additions and 20 deletions

View File

@ -19,7 +19,7 @@
},
"ImageScalar": 1,
"ImageSecondaryURL": "",
"ImageURL": "http://cloud-3.steamusercontent.com/ugc/2021607169641075457/C12E95AE17A6C6043118449CB8012F8509828325/",
"ImageURL": "http://cloud-3.steamusercontent.com/ugc/2342503777940937086/92256BDF101E6272AD1E3F5F0043D311DF708F03/",
"WidthScale": 0
},
"Description": "",

View File

@ -148,22 +148,20 @@ function createHelpButton()
function_owner = self,
click_function = "toggleHelp",
position = Vector(0.845, 0.1, -0.855),
rotation = Vector(0, 0, 0),
height = 180,
width = 180,
scale = Vector(0.25, 1, 0.25),
color = TRANSPARENT,
color = TRANSPARENT
})
end
function createInvestigatorButtons()
local invButtonParams = {
function_owner = self,
rotation = Vector(0, 0, 0),
height = CIRCLE_BUTTON_SIZE,
width = CIRCLE_BUTTON_SIZE,
scale = Vector(0.25, 1, 0.25),
color = TRANSPARENT,
color = TRANSPARENT
}
local buttonPos = INVESTIGATOR_ROW_START:copy()
for _, class in ipairs(CLASS_LIST) do
@ -178,11 +176,10 @@ end
function createLevelZeroButtons()
local l0ButtonParams = {
function_owner = self,
rotation = Vector(0, 0, 0),
height = CIRCLE_BUTTON_SIZE,
width = CIRCLE_BUTTON_SIZE,
scale = Vector(0.25, 1, 0.25),
color = TRANSPARENT,
color = TRANSPARENT
}
local buttonPos = LEVEL_ZERO_ROW_START:copy()
for _, class in ipairs(CLASS_LIST) do
@ -197,11 +194,10 @@ end
function createUpgradedButtons()
local upgradedButtonParams = {
function_owner = self,
rotation = Vector(0, 0, 0),
height = CIRCLE_BUTTON_SIZE,
width = CIRCLE_BUTTON_SIZE,
scale = Vector(0.25, 1, 0.25),
color = TRANSPARENT,
color = TRANSPARENT
}
local buttonPos = UPGRADED_ROW_START:copy()
for _, class in ipairs(CLASS_LIST) do
@ -216,11 +212,10 @@ end
function createWeaknessButtons()
local weaknessButtonParams = {
function_owner = self,
rotation = Vector(0, 0, 0),
height = CIRCLE_BUTTON_SIZE,
width = CIRCLE_BUTTON_SIZE,
scale = Vector(0.25, 1, 0.25),
color = TRANSPARENT,
color = TRANSPARENT
}
local buttonPos = WEAKNESS_ROW_START:copy()
weaknessButtonParams.click_function = "spawnWeaknesses"
@ -237,11 +232,10 @@ end
function createOtherButtons()
local otherButtonParams = {
function_owner = self,
rotation = Vector(0, 0, 0),
height = CIRCLE_BUTTON_SIZE,
width = CIRCLE_BUTTON_SIZE,
scale = Vector(0.25, 1, 0.25),
color = TRANSPARENT,
color = TRANSPARENT
}
local buttonPos = OTHER_ROW_START:copy()
otherButtonParams.click_function = "spawnBonded"
@ -258,11 +252,10 @@ end
function createCycleButtons()
local cycleButtonParams = {
function_owner = self,
rotation = Vector(0, 0, 0),
height = CYCLE_BUTTON_SIZE,
width = CYCLE_BUTTON_SIZE,
scale = Vector(0.25, 1, 0.25),
color = TRANSPARENT,
color = TRANSPARENT
}
local buttonPos = CYCLE_BUTTON_START:copy()
local rowCount = 0
@ -298,11 +291,10 @@ function createClearButton()
function_owner = self,
click_function = "deleteAll",
position = Vector(0, 0.1, 0.852),
rotation = Vector(0, 0, 0),
height = 170,
width = 750,
scale = Vector(0.25, 1, 0.25),
color = TRANSPARENT,
color = TRANSPARENT
})
end
@ -313,7 +305,6 @@ function createInvestigatorModeButtons()
function_owner = self,
click_function = "setCardsOnlyMode",
position = Vector(0.251, 0.1, -0.322),
rotation = Vector(0, 0, 0),
height = 170,
width = 760,
scale = Vector(0.25, 1, 0.25),
@ -323,7 +314,6 @@ function createInvestigatorModeButtons()
function_owner = self,
click_function = "setStarterDeckMode",
position = Vector(0.66, 0.1, -0.322),
rotation = Vector(0, 0, 0),
height = 170,
width = 760,
scale = Vector(0.25, 1, 0.25),
@ -335,7 +325,6 @@ function createInvestigatorModeButtons()
label = "✓",
click_function = "doNothing",
position = Vector(checkX, 0.11, -0.317),
rotation = Vector(0, 0, 0),
height = 0,
width = 0,
scale = Vector(0.3, 1, 0.3),