initial commit
This commit is contained in:
parent
3a2ff7d982
commit
194670a3a0
@ -33,7 +33,7 @@
|
||||
"IgnoreFoW": false,
|
||||
"LayoutGroupSortIndex": 0,
|
||||
"Locked": false,
|
||||
"LuaScript": "",
|
||||
"LuaScript": "require(\"playercards/cards/ScrollofSecrets\")",
|
||||
"LuaScriptState": "",
|
||||
"MeasureMovement": false,
|
||||
"Name": "Card",
|
||||
|
@ -33,7 +33,7 @@
|
||||
"IgnoreFoW": false,
|
||||
"LayoutGroupSortIndex": 0,
|
||||
"Locked": false,
|
||||
"LuaScript": "",
|
||||
"LuaScript": "require(\"playercards/cards/ScrollofSecrets\")",
|
||||
"LuaScriptState": "",
|
||||
"MeasureMovement": false,
|
||||
"Name": "Card",
|
||||
|
@ -33,7 +33,7 @@
|
||||
"IgnoreFoW": false,
|
||||
"LayoutGroupSortIndex": 0,
|
||||
"Locked": false,
|
||||
"LuaScript": "",
|
||||
"LuaScript": "require(\"playercards/cards/ScrollofSecrets\")",
|
||||
"LuaScriptState": "",
|
||||
"MeasureMovement": false,
|
||||
"Name": "Card",
|
||||
|
@ -33,7 +33,7 @@
|
||||
"IgnoreFoW": false,
|
||||
"LayoutGroupSortIndex": 0,
|
||||
"Locked": false,
|
||||
"LuaScript": "",
|
||||
"LuaScript": "require(\"playercards/cards/ScrollofSecrets\")",
|
||||
"LuaScriptState": "",
|
||||
"MeasureMovement": false,
|
||||
"Name": "Card",
|
||||
|
@ -33,7 +33,7 @@
|
||||
"IgnoreFoW": false,
|
||||
"LayoutGroupSortIndex": 0,
|
||||
"Locked": false,
|
||||
"LuaScript": "",
|
||||
"LuaScript": "require(\"playercards/cards/ScrollofSecrets\")",
|
||||
"LuaScriptState": "",
|
||||
"MeasureMovement": false,
|
||||
"Name": "Card",
|
||||
|
@ -33,7 +33,7 @@
|
||||
"IgnoreFoW": false,
|
||||
"LayoutGroupSortIndex": 0,
|
||||
"Locked": false,
|
||||
"LuaScript": "",
|
||||
"LuaScript": "require(\"playercards/cards/ScrollofSecrets\")",
|
||||
"LuaScriptState": "",
|
||||
"MeasureMovement": false,
|
||||
"Name": "Card",
|
||||
|
32
src/playercards/cards/ScrollofSecrets.ttslua
Normal file
32
src/playercards/cards/ScrollofSecrets.ttslua
Normal file
@ -0,0 +1,32 @@
|
||||
|
||||
|
||||
function onLoad()
|
||||
-- select mode via metadata and create context menu accordingly
|
||||
local notes = JSON.decode(self.getGMNotes())
|
||||
if notes then
|
||||
createContextMenu(notes.class)
|
||||
else
|
||||
print("Missing metadata for Scroll of Secrets!")
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
function createContextMenu(mode)
|
||||
if mode == "Seeker|Mystic" then
|
||||
|
||||
elseif mode == "Seeker" then
|
||||
|
||||
elseif mode == "Mystic" then
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
function drawCardsFromBottom(owner, amount)
|
||||
|
||||
end
|
||||
|
||||
|
||||
function actualCardDrawing(deck, amount)
|
||||
|
||||
end
|
Loading…
Reference in New Issue
Block a user