small changes
This commit is contained in:
parent
cfa95bbc14
commit
8b0dec5fac
@ -5,6 +5,7 @@ local guidReferenceApi = require("core/GUIDReferenceApi")
|
|||||||
local playermatApi = require("playermat/PlayermatApi")
|
local playermatApi = require("playermat/PlayermatApi")
|
||||||
|
|
||||||
local isHelperEnabled = false
|
local isHelperEnabled = false
|
||||||
|
local updated
|
||||||
|
|
||||||
function updateSave()
|
function updateSave()
|
||||||
self.script_state = JSON.encode({ isHelperEnabled = isHelperEnabled })
|
self.script_state = JSON.encode({ isHelperEnabled = isHelperEnabled })
|
||||||
|
@ -4,6 +4,8 @@ local guidReferenceApi = require("core/GUIDReferenceApi")
|
|||||||
local playermatApi = require("playermat/PlayermatApi")
|
local playermatApi = require("playermat/PlayermatApi")
|
||||||
local searchLib = require("util/SearchLib")
|
local searchLib = require("util/SearchLib")
|
||||||
local tokenManager = require("core/token/TokenManager")
|
local tokenManager = require("core/token/TokenManager")
|
||||||
|
|
||||||
|
local isHelperEnabled = false
|
||||||
local updated
|
local updated
|
||||||
|
|
||||||
function updateSave()
|
function updateSave()
|
||||||
@ -17,7 +19,6 @@ function onLoad(savedData)
|
|||||||
isHelperEnabled = loadedData.isHelperEnabled
|
isHelperEnabled = loadedData.isHelperEnabled
|
||||||
end
|
end
|
||||||
checkOptionPanel()
|
checkOptionPanel()
|
||||||
updateDisplay()
|
|
||||||
end
|
end
|
||||||
|
|
||||||
-- hide buttons and stop monitoring
|
-- hide buttons and stop monitoring
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<Button padding="50 50 50 50"
|
<Button padding="50 50 50 50"
|
||||||
font="font_teutonic-arkham"
|
font="font_teutonic-arkham"
|
||||||
fontSize="200"
|
fontSize="200"
|
||||||
iconWidth="400"
|
iconWidth="300"
|
||||||
iconAlignment="Right"/>
|
iconAlignment="Right"/>
|
||||||
<Button class="inactive"
|
<Button class="inactive"
|
||||||
onClick="errorMessage"
|
onClick="errorMessage"
|
||||||
@ -28,7 +28,6 @@
|
|||||||
<Cell>
|
<Cell>
|
||||||
<Button id="Bless"
|
<Button id="Bless"
|
||||||
icon="token-bless"
|
icon="token-bless"
|
||||||
text="+ 1"
|
|
||||||
color="#9D702CE6"
|
color="#9D702CE6"
|
||||||
class="active"/>
|
class="active"/>
|
||||||
</Cell>
|
</Cell>
|
||||||
@ -37,7 +36,6 @@
|
|||||||
<Cell>
|
<Cell>
|
||||||
<Button id="Curse"
|
<Button id="Curse"
|
||||||
icon="token-curse"
|
icon="token-curse"
|
||||||
text="+ 1"
|
|
||||||
color="#633A84E6"
|
color="#633A84E6"
|
||||||
class="active"/>
|
class="active"/>
|
||||||
</Cell>
|
</Cell>
|
||||||
@ -66,7 +64,6 @@
|
|||||||
<Cell>
|
<Cell>
|
||||||
<Button id="inactiveBless"
|
<Button id="inactiveBless"
|
||||||
icon="token-bless"
|
icon="token-bless"
|
||||||
text="+ 1"
|
|
||||||
class="inactive"/>
|
class="inactive"/>
|
||||||
</Cell>
|
</Cell>
|
||||||
</Row>
|
</Row>
|
||||||
@ -74,7 +71,6 @@
|
|||||||
<Cell>
|
<Cell>
|
||||||
<Button id="inactiveCurse"
|
<Button id="inactiveCurse"
|
||||||
icon="token-curse"
|
icon="token-curse"
|
||||||
text="+ 1"
|
|
||||||
class="inactive"/>
|
class="inactive"/>
|
||||||
</Cell>
|
</Cell>
|
||||||
</Row>
|
</Row>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user