formatting errors
This commit is contained in:
parent
6a9c274f48
commit
54e2e2edba
@ -88,7 +88,6 @@ function createButtons()
|
|||||||
local upgradeSheet = findUpgradeSheet()
|
local upgradeSheet = findUpgradeSheet()
|
||||||
if upgradeSheet then
|
if upgradeSheet then
|
||||||
for i = 1, 4 do
|
for i = 1, 4 do
|
||||||
log(4)
|
|
||||||
if upgradeSheet.call("isUpgradeActive", i) then
|
if upgradeSheet.call("isUpgradeActive", i) then
|
||||||
table.insert(hypothesisList, customizableList[i])
|
table.insert(hypothesisList, customizableList[i])
|
||||||
end
|
end
|
||||||
|
@ -61,17 +61,15 @@ end
|
|||||||
|
|
||||||
function loseAll(player)
|
function loseAll(player)
|
||||||
searchSelf()
|
searchSelf()
|
||||||
log(player.color)
|
|
||||||
if clickableResourceCounter then
|
if clickableResourceCounter then
|
||||||
clickableResourceCounter.call("updateVal", 0)
|
clickableResourceCounter.call("updateVal", 0)
|
||||||
end
|
end
|
||||||
printToColor("Discarded " .. foundTokens .. " resource(s).", player.color)
|
printToColor("Discarded " .. foundTokens .. " resource(s).", player.color)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- hide buttons and stop monitoring
|
-- hide buttons
|
||||||
function shutOff()
|
function shutOff()
|
||||||
self.UI.hide("Helper")
|
self.UI.hide("Helper")
|
||||||
Wait.stopAll()
|
|
||||||
updateSave()
|
updateSave()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<Defaults>
|
<Defaults>
|
||||||
<Button padding="30 30 30 30"
|
<Button padding="30 30 30 30"
|
||||||
font="font_teutonic-arkham"
|
font="font_teutonic-arkham"
|
||||||
textColor = "white"
|
textColor="white"
|
||||||
fontSize="235"
|
fontSize="235"
|
||||||
shadow="#405041B3"
|
shadow="#405041B3"
|
||||||
shadowDistance="-15 15"/>
|
shadowDistance="-15 15"/>
|
||||||
@ -15,17 +15,17 @@
|
|||||||
</Defaults>
|
</Defaults>
|
||||||
|
|
||||||
<TableLayout id="Helper"
|
<TableLayout id="Helper"
|
||||||
active="false">
|
active="false">
|
||||||
<Row>
|
<Row>
|
||||||
<Cell>
|
<Cell>
|
||||||
<Button onClick="loseAll"
|
<Button onClick="loseAll"
|
||||||
color = "#6D202C"
|
color="#6D202C"
|
||||||
fontSize = "195"
|
fontSize="195"
|
||||||
text="Discard all"/>
|
text="Discard all"/>
|
||||||
</Cell>
|
</Cell>
|
||||||
<Cell>
|
<Cell>
|
||||||
<Button onClick="takeAll"
|
<Button onClick="takeAll"
|
||||||
color = "#173B0B"
|
color="#173B0B"
|
||||||
text="Move all"/>
|
text="Move all"/>
|
||||||
</Cell>
|
</Cell>
|
||||||
<Cell>
|
<Cell>
|
||||||
|
Loading…
Reference in New Issue
Block a user