formatting errors
This commit is contained in:
parent
6a9c274f48
commit
54e2e2edba
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user