formatting errors

This commit is contained in:
dscarpac 2024-07-06 13:55:18 -05:00
parent 6a9c274f48
commit 54e2e2edba
3 changed files with 6 additions and 9 deletions

View File

@ -88,7 +88,6 @@ function createButtons()
local upgradeSheet = findUpgradeSheet()
if upgradeSheet then
for i = 1, 4 do
log(4)
if upgradeSheet.call("isUpgradeActive", i) then
table.insert(hypothesisList, customizableList[i])
end

View File

@ -61,17 +61,15 @@ end
function loseAll(player)
searchSelf()
log(player.color)
if clickableResourceCounter then
clickableResourceCounter.call("updateVal", 0)
end
printToColor("Discarded " .. foundTokens .. " resource(s).", player.color)
end
-- hide buttons and stop monitoring
-- hide buttons
function shutOff()
self.UI.hide("Helper")
Wait.stopAll()
updateSave()
end

View File

@ -1,7 +1,7 @@
<Defaults>
<Button padding="30 30 30 30"
font="font_teutonic-arkham"
textColor = "white"
textColor="white"
fontSize="235"
shadow="#405041B3"
shadowDistance="-15 15"/>
@ -15,17 +15,17 @@
</Defaults>
<TableLayout id="Helper"
active="false">
active="false">
<Row>
<Cell>
<Button onClick="loseAll"
color = "#6D202C"
fontSize = "195"
color="#6D202C"
fontSize="195"
text="Discard all"/>
</Cell>
<Cell>
<Button onClick="takeAll"
color = "#173B0B"
color="#173B0B"
text="Move all"/>
</Cell>
<Cell>