Merge pull request #694 from argonui/donotready
Turned "DoNotReady" into a tag
This commit is contained in:
commit
b4d8cf4f7b
@ -33,7 +33,7 @@
|
||||
"IgnoreFoW": false,
|
||||
"LayoutGroupSortIndex": 0,
|
||||
"Locked": false,
|
||||
"LuaScript": "do_not_ready = true",
|
||||
"LuaScript": "",
|
||||
"LuaScriptState": "",
|
||||
"MeasureMovement": false,
|
||||
"Name": "Card",
|
||||
@ -43,6 +43,7 @@
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"Asset",
|
||||
"DoNotReady",
|
||||
"PlayerCard"
|
||||
],
|
||||
"Tooltip": true,
|
||||
|
@ -295,7 +295,7 @@ function doUpkeep(_, clickedByColor, isRightClick)
|
||||
obj.flip()
|
||||
elseif obj.type == "Card" and not inArea(self.positionToLocal(obj.getPosition()), INVESTIGATOR_AREA) then
|
||||
local cardMetadata = JSON.decode(obj.getGMNotes()) or {}
|
||||
if not (obj.getVar("do_not_ready") or false) then
|
||||
if not (obj.getVar("do_not_ready") or obj.hasTag("DoNotReady")) then
|
||||
local cardRotation = round(obj.getRotation().y, 0) - rot.y
|
||||
local yRotDiff = 0
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user