autoformat stella
This commit is contained in:
parent
11705d7fa6
commit
3a49611fb6
@ -1,16 +1,16 @@
|
||||
require("playercards/CardsWithHelper")
|
||||
local guidReferenceApi = require("core/GUIDReferenceApi")
|
||||
local playermatApi = require("playermat/PlayermatApi")
|
||||
local searchLib = require("util/SearchLib")
|
||||
local tokenManagerApi = require("core/token/TokenManagerApi")
|
||||
local guidReferenceApi = require("core/GUIDReferenceApi")
|
||||
local playermatApi = require("playermat/PlayermatApi")
|
||||
local searchLib = require("util/SearchLib")
|
||||
local tokenManagerApi = require("core/token/TokenManagerApi")
|
||||
|
||||
-- intentionally global
|
||||
hasXML = true
|
||||
isHelperEnabled = false
|
||||
hasXML = true
|
||||
isHelperEnabled = false
|
||||
local updated
|
||||
local state
|
||||
|
||||
local xmlData = {
|
||||
local xmlData = {
|
||||
Action = { color = "#6D202CE6", onClick = "addExtraAction" },
|
||||
ElderSign = { color = "#50A8CEE6", onClick = "elderSignAbility" }
|
||||
}
|
||||
@ -67,7 +67,7 @@ function addExtraAction()
|
||||
end
|
||||
|
||||
local callbackName = "updateUniversalActionAbilityToken"
|
||||
local callbackParams = { class = "Survivor", symbol = "Survivor", addTag = "Temporary"}
|
||||
local callbackParams = { class = "Survivor", symbol = "Survivor", addTag = "Temporary" }
|
||||
tokenManagerApi.spawnToken(emptyPos + Vector(0, 0.7, 0), "universalActionAbility", rotation, callbackName, callbackParams)
|
||||
state = { Action = false, ElderSign = true }
|
||||
setUiState(state)
|
||||
@ -115,4 +115,4 @@ function doInUpkeep()
|
||||
setUiState(state)
|
||||
updated = true
|
||||
updateSave()
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user