diff --git a/objects/PlayerCards.2d30ee.json b/objects/PlayerCards.2d30ee.json index 94839147..89432445 100644 --- a/objects/PlayerCards.2d30ee.json +++ b/objects/PlayerCards.2d30ee.json @@ -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": "", diff --git a/src/playercards/PlayerCardPanel.ttslua b/src/playercards/PlayerCardPanel.ttslua index 6f3e5eeb..92c34ead 100644 --- a/src/playercards/PlayerCardPanel.ttslua +++ b/src/playercards/PlayerCardPanel.ttslua @@ -149,22 +149,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 @@ -179,11 +177,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 @@ -198,11 +195,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 @@ -217,11 +213,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" @@ -238,11 +233,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" @@ -259,11 +253,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 @@ -299,11 +292,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 @@ -314,7 +306,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), @@ -324,7 +315,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), @@ -336,7 +326,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),