initial commit

This commit is contained in:
Chr1Z93 2023-11-04 15:03:53 +01:00
parent 3a2ff7d982
commit 194670a3a0
7 changed files with 38 additions and 6 deletions

View File

@ -33,7 +33,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "",
"LuaScript": "require(\"playercards/cards/ScrollofSecrets\")",
"LuaScriptState": "",
"MeasureMovement": false,
"Name": "Card",

View File

@ -33,7 +33,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "",
"LuaScript": "require(\"playercards/cards/ScrollofSecrets\")",
"LuaScriptState": "",
"MeasureMovement": false,
"Name": "Card",

View File

@ -33,7 +33,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "",
"LuaScript": "require(\"playercards/cards/ScrollofSecrets\")",
"LuaScriptState": "",
"MeasureMovement": false,
"Name": "Card",

View File

@ -33,7 +33,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "",
"LuaScript": "require(\"playercards/cards/ScrollofSecrets\")",
"LuaScriptState": "",
"MeasureMovement": false,
"Name": "Card",

View File

@ -33,7 +33,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "",
"LuaScript": "require(\"playercards/cards/ScrollofSecrets\")",
"LuaScriptState": "",
"MeasureMovement": false,
"Name": "Card",

View File

@ -33,7 +33,7 @@
"IgnoreFoW": false,
"LayoutGroupSortIndex": 0,
"Locked": false,
"LuaScript": "",
"LuaScript": "require(\"playercards/cards/ScrollofSecrets\")",
"LuaScriptState": "",
"MeasureMovement": false,
"Name": "Card",

View 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