Merge pull request #577 from argonui/playercardpanel
Playercard Panel: updated image and removed obsolete code
This commit is contained in:
commit
5e4e4ad363
@ -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": "",
|
||||||
|
@ -149,22 +149,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
|
||||||
@ -179,11 +177,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
|
||||||
@ -198,11 +195,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
|
||||||
@ -217,11 +213,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"
|
||||||
@ -238,11 +233,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"
|
||||||
@ -259,11 +253,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
|
||||||
@ -299,11 +292,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
|
||||||
|
|
||||||
@ -314,7 +306,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),
|
||||||
@ -324,7 +315,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),
|
||||||
@ -336,7 +326,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