updated image and removed obsolete code
This commit is contained in:
parent
ca1603a270
commit
420ad29608
@ -19,7 +19,7 @@
|
|||||||
},
|
},
|
||||||
"ImageScalar": 1,
|
"ImageScalar": 1,
|
||||||
"ImageSecondaryURL": "",
|
"ImageSecondaryURL": "",
|
||||||
"ImageURL": "http://cloud-3.steamusercontent.com/ugc/2021607169641075457/C12E95AE17A6C6043118449CB8012F8509828325/",
|
"ImageURL": "http://cloud-3.steamusercontent.com/ugc/2342503777940937086/92256BDF101E6272AD1E3F5F0043D311DF708F03/",
|
||||||
"WidthScale": 0
|
"WidthScale": 0
|
||||||
},
|
},
|
||||||
"Description": "",
|
"Description": "",
|
||||||
|
@ -148,22 +148,20 @@ function createHelpButton()
|
|||||||
function_owner = self,
|
function_owner = self,
|
||||||
click_function = "toggleHelp",
|
click_function = "toggleHelp",
|
||||||
position = Vector(0.845, 0.1, -0.855),
|
position = Vector(0.845, 0.1, -0.855),
|
||||||
rotation = Vector(0, 0, 0),
|
|
||||||
height = 180,
|
height = 180,
|
||||||
width = 180,
|
width = 180,
|
||||||
scale = Vector(0.25, 1, 0.25),
|
scale = Vector(0.25, 1, 0.25),
|
||||||
color = TRANSPARENT,
|
color = TRANSPARENT
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
function createInvestigatorButtons()
|
function createInvestigatorButtons()
|
||||||
local invButtonParams = {
|
local invButtonParams = {
|
||||||
function_owner = self,
|
function_owner = self,
|
||||||
rotation = Vector(0, 0, 0),
|
|
||||||
height = CIRCLE_BUTTON_SIZE,
|
height = CIRCLE_BUTTON_SIZE,
|
||||||
width = CIRCLE_BUTTON_SIZE,
|
width = CIRCLE_BUTTON_SIZE,
|
||||||
scale = Vector(0.25, 1, 0.25),
|
scale = Vector(0.25, 1, 0.25),
|
||||||
color = TRANSPARENT,
|
color = TRANSPARENT
|
||||||
}
|
}
|
||||||
local buttonPos = INVESTIGATOR_ROW_START:copy()
|
local buttonPos = INVESTIGATOR_ROW_START:copy()
|
||||||
for _, class in ipairs(CLASS_LIST) do
|
for _, class in ipairs(CLASS_LIST) do
|
||||||
@ -178,11 +176,10 @@ end
|
|||||||
function createLevelZeroButtons()
|
function createLevelZeroButtons()
|
||||||
local l0ButtonParams = {
|
local l0ButtonParams = {
|
||||||
function_owner = self,
|
function_owner = self,
|
||||||
rotation = Vector(0, 0, 0),
|
|
||||||
height = CIRCLE_BUTTON_SIZE,
|
height = CIRCLE_BUTTON_SIZE,
|
||||||
width = CIRCLE_BUTTON_SIZE,
|
width = CIRCLE_BUTTON_SIZE,
|
||||||
scale = Vector(0.25, 1, 0.25),
|
scale = Vector(0.25, 1, 0.25),
|
||||||
color = TRANSPARENT,
|
color = TRANSPARENT
|
||||||
}
|
}
|
||||||
local buttonPos = LEVEL_ZERO_ROW_START:copy()
|
local buttonPos = LEVEL_ZERO_ROW_START:copy()
|
||||||
for _, class in ipairs(CLASS_LIST) do
|
for _, class in ipairs(CLASS_LIST) do
|
||||||
@ -197,11 +194,10 @@ end
|
|||||||
function createUpgradedButtons()
|
function createUpgradedButtons()
|
||||||
local upgradedButtonParams = {
|
local upgradedButtonParams = {
|
||||||
function_owner = self,
|
function_owner = self,
|
||||||
rotation = Vector(0, 0, 0),
|
|
||||||
height = CIRCLE_BUTTON_SIZE,
|
height = CIRCLE_BUTTON_SIZE,
|
||||||
width = CIRCLE_BUTTON_SIZE,
|
width = CIRCLE_BUTTON_SIZE,
|
||||||
scale = Vector(0.25, 1, 0.25),
|
scale = Vector(0.25, 1, 0.25),
|
||||||
color = TRANSPARENT,
|
color = TRANSPARENT
|
||||||
}
|
}
|
||||||
local buttonPos = UPGRADED_ROW_START:copy()
|
local buttonPos = UPGRADED_ROW_START:copy()
|
||||||
for _, class in ipairs(CLASS_LIST) do
|
for _, class in ipairs(CLASS_LIST) do
|
||||||
@ -216,11 +212,10 @@ end
|
|||||||
function createWeaknessButtons()
|
function createWeaknessButtons()
|
||||||
local weaknessButtonParams = {
|
local weaknessButtonParams = {
|
||||||
function_owner = self,
|
function_owner = self,
|
||||||
rotation = Vector(0, 0, 0),
|
|
||||||
height = CIRCLE_BUTTON_SIZE,
|
height = CIRCLE_BUTTON_SIZE,
|
||||||
width = CIRCLE_BUTTON_SIZE,
|
width = CIRCLE_BUTTON_SIZE,
|
||||||
scale = Vector(0.25, 1, 0.25),
|
scale = Vector(0.25, 1, 0.25),
|
||||||
color = TRANSPARENT,
|
color = TRANSPARENT
|
||||||
}
|
}
|
||||||
local buttonPos = WEAKNESS_ROW_START:copy()
|
local buttonPos = WEAKNESS_ROW_START:copy()
|
||||||
weaknessButtonParams.click_function = "spawnWeaknesses"
|
weaknessButtonParams.click_function = "spawnWeaknesses"
|
||||||
@ -237,11 +232,10 @@ end
|
|||||||
function createOtherButtons()
|
function createOtherButtons()
|
||||||
local otherButtonParams = {
|
local otherButtonParams = {
|
||||||
function_owner = self,
|
function_owner = self,
|
||||||
rotation = Vector(0, 0, 0),
|
|
||||||
height = CIRCLE_BUTTON_SIZE,
|
height = CIRCLE_BUTTON_SIZE,
|
||||||
width = CIRCLE_BUTTON_SIZE,
|
width = CIRCLE_BUTTON_SIZE,
|
||||||
scale = Vector(0.25, 1, 0.25),
|
scale = Vector(0.25, 1, 0.25),
|
||||||
color = TRANSPARENT,
|
color = TRANSPARENT
|
||||||
}
|
}
|
||||||
local buttonPos = OTHER_ROW_START:copy()
|
local buttonPos = OTHER_ROW_START:copy()
|
||||||
otherButtonParams.click_function = "spawnBonded"
|
otherButtonParams.click_function = "spawnBonded"
|
||||||
@ -258,11 +252,10 @@ end
|
|||||||
function createCycleButtons()
|
function createCycleButtons()
|
||||||
local cycleButtonParams = {
|
local cycleButtonParams = {
|
||||||
function_owner = self,
|
function_owner = self,
|
||||||
rotation = Vector(0, 0, 0),
|
|
||||||
height = CYCLE_BUTTON_SIZE,
|
height = CYCLE_BUTTON_SIZE,
|
||||||
width = CYCLE_BUTTON_SIZE,
|
width = CYCLE_BUTTON_SIZE,
|
||||||
scale = Vector(0.25, 1, 0.25),
|
scale = Vector(0.25, 1, 0.25),
|
||||||
color = TRANSPARENT,
|
color = TRANSPARENT
|
||||||
}
|
}
|
||||||
local buttonPos = CYCLE_BUTTON_START:copy()
|
local buttonPos = CYCLE_BUTTON_START:copy()
|
||||||
local rowCount = 0
|
local rowCount = 0
|
||||||
@ -298,11 +291,10 @@ function createClearButton()
|
|||||||
function_owner = self,
|
function_owner = self,
|
||||||
click_function = "deleteAll",
|
click_function = "deleteAll",
|
||||||
position = Vector(0, 0.1, 0.852),
|
position = Vector(0, 0.1, 0.852),
|
||||||
rotation = Vector(0, 0, 0),
|
|
||||||
height = 170,
|
height = 170,
|
||||||
width = 750,
|
width = 750,
|
||||||
scale = Vector(0.25, 1, 0.25),
|
scale = Vector(0.25, 1, 0.25),
|
||||||
color = TRANSPARENT,
|
color = TRANSPARENT
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -313,7 +305,6 @@ function createInvestigatorModeButtons()
|
|||||||
function_owner = self,
|
function_owner = self,
|
||||||
click_function = "setCardsOnlyMode",
|
click_function = "setCardsOnlyMode",
|
||||||
position = Vector(0.251, 0.1, -0.322),
|
position = Vector(0.251, 0.1, -0.322),
|
||||||
rotation = Vector(0, 0, 0),
|
|
||||||
height = 170,
|
height = 170,
|
||||||
width = 760,
|
width = 760,
|
||||||
scale = Vector(0.25, 1, 0.25),
|
scale = Vector(0.25, 1, 0.25),
|
||||||
@ -323,7 +314,6 @@ function createInvestigatorModeButtons()
|
|||||||
function_owner = self,
|
function_owner = self,
|
||||||
click_function = "setStarterDeckMode",
|
click_function = "setStarterDeckMode",
|
||||||
position = Vector(0.66, 0.1, -0.322),
|
position = Vector(0.66, 0.1, -0.322),
|
||||||
rotation = Vector(0, 0, 0),
|
|
||||||
height = 170,
|
height = 170,
|
||||||
width = 760,
|
width = 760,
|
||||||
scale = Vector(0.25, 1, 0.25),
|
scale = Vector(0.25, 1, 0.25),
|
||||||
@ -335,7 +325,6 @@ function createInvestigatorModeButtons()
|
|||||||
label = "✓",
|
label = "✓",
|
||||||
click_function = "doNothing",
|
click_function = "doNothing",
|
||||||
position = Vector(checkX, 0.11, -0.317),
|
position = Vector(checkX, 0.11, -0.317),
|
||||||
rotation = Vector(0, 0, 0),
|
|
||||||
height = 0,
|
height = 0,
|
||||||
width = 0,
|
width = 0,
|
||||||
scale = Vector(0.3, 1, 0.3),
|
scale = Vector(0.3, 1, 0.3),
|
||||||
|
Loading…
Reference in New Issue
Block a user