don't touch playmats at all if option is disabled
This commit is contained in:
parent
a36287212e
commit
57db06c708
@ -133,18 +133,16 @@ end
|
|||||||
---------------------------------------------------------
|
---------------------------------------------------------
|
||||||
|
|
||||||
function updateCounters()
|
function updateCounters()
|
||||||
|
if not options["tidyPlayermats"] then return end
|
||||||
|
|
||||||
playmatApi.updateCounter("All", "ResourceCounter", 5)
|
playmatApi.updateCounter("All", "ResourceCounter", 5)
|
||||||
playmatApi.updateCounter("All", "ClickableClueCounter", 0)
|
playmatApi.updateCounter("All", "ClickableClueCounter", 0)
|
||||||
|
playmatApi.resetSkillTracker("All")
|
||||||
|
|
||||||
for i = 1, 4 do
|
for i = 1, 4 do
|
||||||
playmatApi.updateCounter(COLORS[i], "DamageCounter", RESET_VALUES.Damage[i])
|
playmatApi.updateCounter(COLORS[i], "DamageCounter", RESET_VALUES.Damage[i])
|
||||||
playmatApi.updateCounter(COLORS[i], "HorrorCounter", RESET_VALUES.Horror[i])
|
playmatApi.updateCounter(COLORS[i], "HorrorCounter", RESET_VALUES.Horror[i])
|
||||||
end
|
end
|
||||||
|
|
||||||
-- reset skill trackers (but only if option is enabled)
|
|
||||||
if options["tidyPlayermats"] then
|
|
||||||
playmatApi.resetSkillTracker("All")
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
-- reset doom on agenda
|
-- reset doom on agenda
|
||||||
|
Loading…
Reference in New Issue
Block a user