ah_sce_unpacked/unpacked/Custom_Model_Bag Community-Created Player CardsInvestigators ed4ca7/Custom_Model_Bag Investigator Replacements b06fd9/Custom_Model_Bag Mystic Replacements 7da10d/Deck 528387.yaml
2021-07-03 14:00:44 -04:00

185 lines
6.1 KiB
YAML

Autoraise: true
ColorDiffuse:
b: 0.713235259
g: 0.713235259
r: 0.713235259
ContainedObjects:
- Autoraise: true
CardID: 604400
ColorDiffuse:
b: 0.713235259
g: 0.713235259
r: 0.713235259
CustomDeck:
'6044':
BackIsHidden: true
BackURL: http://cloud-3.steamusercontent.com/ugc/1648842893716351530/B1BF31EBC5D92EC3A51B6D3B56ABFB232D2636C5/
FaceURL: http://cloud-3.steamusercontent.com/ugc/1755811506951552041/59FBA367418D325EF52B69C90AD447BBF4BAB402/
NumHeight: 1
NumWidth: 1
Type: 0
UniqueBack: false
Description: ''
DragSelectable: true
GMNotes: ''
GUID: 679cd1
Grid: true
GridProjection: false
Hands: true
HideWhenFaceDown: true
IgnoreFoW: false
LayoutGroupSortIndex: 0
Locked: false
LuaScript: ''
LuaScriptState: ''
MeasureMovement: false
Name: CardCustom
Nickname: Benediction
SidewaysCard: false
Snap: true
Sticky: true
Tooltip: true
Transform:
posX: 32.985302
posY: 1.29704046
posZ: -61.2083
rotX: 0.020803174
rotY: 270.018
rotZ: 0.0167778824
scaleX: 1.0
scaleY: 1.0
scaleZ: 1.0
Value: 0
XmlUI: ''
- Autoraise: true
CardID: 608700
ColorDiffuse:
b: 0.713235259
g: 0.713235259
r: 0.713235259
CustomDeck:
'6087':
BackIsHidden: true
BackURL: http://cloud-3.steamusercontent.com/ugc/1648842893716351530/B1BF31EBC5D92EC3A51B6D3B56ABFB232D2636C5/
FaceURL: http://cloud-3.steamusercontent.com/ugc/1754686618785122213/0FE7E18CFAEDA6025E81F858C3F867FEF36CB1AA/
NumHeight: 1
NumWidth: 1
Type: 0
UniqueBack: false
Description: Spread the Gospel
DragSelectable: true
GMNotes: ''
GUID: f70b8a
Grid: true
GridProjection: false
Hands: true
HideWhenFaceDown: true
IgnoreFoW: false
LayoutGroupSortIndex: 0
Locked: false
LuaScript: "function onload()\n mode = \"Bless\"\n chaosbag = getChaosBag()\n\
\ manager = getObjectFromGUID(\"5933fb\")\n sealedTokens = { }\n IMAGE_TOKEN_MAP\
\ = { }\n for i,v in pairs(Global.getVar(\"IMAGE_TOKEN_MAP\")) do\n \
\ IMAGE_TOKEN_MAP[i] = v\n end\n\n -- add menu items\n self.clearContextMenu()\n\
\ self.addContextMenuItem(\"Release Token\", releaseTokens, true)\n for\
\ url,name in pairs(IMAGE_TOKEN_MAP) do\n if name == mode then\n \
\ self.addContextMenuItem(\"Seal \" .. mode, function(playerColor) sealToken(url,\
\ playerColor) end, true)\n end\n end\nend\n\nfunction sealToken(url,\
\ playerColor)\n local pos = self.getPosition()\n\n local name = IMAGE_TOKEN_MAP[url]\n\
\ for i,obj in ipairs(chaosbag.getObjects()) do\n if obj.name == name\
\ then\n chaosbag.takeObject({\n position={ pos.x, pos.y\
\ + 1, pos.z },\n index=i-1,\n smooth=false,\n \
\ callback_function=_sealToken\n })\n return\n\
\ end\n end\n printToColor(name .. \" token not found in bag\", playerColor)\n\
end\n\nfunction _sealToken(obj)\n table.insert(sealedTokens, obj)\n local\
\ guid = obj.getGUID()\n local tokensTaken = manager.getVar(\"tokensTaken\"\
)\n table.insert(tokensTaken[mode], guid)\n manager.setVar(\"tokensTaken\"\
, tokensTaken)\n manager.setVar(\"mode\", mode)\n printToAll(\"Sealing \"\
\ .. mode .. \" token \" .. manager.call(\"getTokenCount\"))\nend\n\nfunction\
\ releaseTokens(playerColor)\n if #sealedTokens == 0 then return end\n local\
\ token = sealedTokens[#sealedTokens]\n if token ~= nil then\n local\
\ guid = token.getGUID()\n chaosbag.putObject(token)\n local tokensTaken\
\ = manager.getVar(\"tokensTaken\")\n for i,v in ipairs(tokensTaken[mode])\
\ do\n if v == guid then\n table.remove(tokensTaken[mode],\
\ i)\n break\n end\n end\n manager.setVar(\"\
tokensTaken\", tokensTaken)\n manager.setVar(\"mode\", mode)\n printToAll(\"\
Releasing \" .. mode .. \" token\" .. manager.call(\"getTokenCount\"))\n end\n\
\n table.remove(sealedTokens)\nend\n\nfunction getChaosBag()\n local items\
\ = getObjectFromGUID(\"83ef06\").getObjects()\n local chaosbag = nil\n \
\ for i,v in ipairs(items) do\n if v.getDescription() == \"Chaos Bag\"\
\ then\n chaosbag = getObjectFromGUID(v.getGUID())\n break\n\
\ end\n end\n if chaosbag == nil then printToAll(\"No chaos bag found\"\
) end\n return chaosbag\nend"
LuaScriptState: ''
MeasureMovement: false
Name: CardCustom
Nickname: Divine Mission
SidewaysCard: false
Snap: true
Sticky: true
Tooltip: true
Transform:
posX: 32.985302
posY: 1.32781458
posZ: -61.20833
rotX: 0.0208037924
rotY: 270.018
rotZ: 0.0167802349
scaleX: 1.0
scaleY: 1.0
scaleZ: 1.0
Value: 0
XmlUI: ''
CustomDeck:
'6044':
BackIsHidden: true
BackURL: http://cloud-3.steamusercontent.com/ugc/1648842893716351530/B1BF31EBC5D92EC3A51B6D3B56ABFB232D2636C5/
FaceURL: http://cloud-3.steamusercontent.com/ugc/1755811506951552041/59FBA367418D325EF52B69C90AD447BBF4BAB402/
NumHeight: 1
NumWidth: 1
Type: 0
UniqueBack: false
'6087':
BackIsHidden: true
BackURL: http://cloud-3.steamusercontent.com/ugc/1648842893716351530/B1BF31EBC5D92EC3A51B6D3B56ABFB232D2636C5/
FaceURL: http://cloud-3.steamusercontent.com/ugc/1754686618785122213/0FE7E18CFAEDA6025E81F858C3F867FEF36CB1AA/
NumHeight: 1
NumWidth: 1
Type: 0
UniqueBack: false
DeckIDs:
- 604400
- 608700
Description: ''
DragSelectable: true
GMNotes: ''
GUID: '528387'
Grid: true
GridProjection: false
Hands: false
HideWhenFaceDown: true
IgnoreFoW: false
LayoutGroupSortIndex: 0
Locked: false
LuaScript: ''
LuaScriptState: ''
MeasureMovement: false
Name: Deck
Nickname: ''
SidewaysCard: false
Snap: true
Sticky: true
Tooltip: true
Transform:
posX: 32.99
posY: 1.31
posZ: -61.21
rotX: 0.02
rotY: 270.02
rotZ: 0.02
scaleX: 1.0
scaleY: 1.0
scaleZ: 1.0
Value: 0
XmlUI: ''