renamed wendys menu
This commit is contained in:
parent
5058970329
commit
d8b7d23c5c
@ -262,7 +262,7 @@ function removeTakenTokens(type)
|
|||||||
end
|
end
|
||||||
|
|
||||||
---------------------------------------------------------
|
---------------------------------------------------------
|
||||||
-- Wendy Menu (context menu for cards on hotkey press)
|
-- Wendy's Menu (context menu for cards on hotkey press)
|
||||||
---------------------------------------------------------
|
---------------------------------------------------------
|
||||||
|
|
||||||
function addMenuOptions(parameters)
|
function addMenuOptions(parameters)
|
||||||
|
@ -36,9 +36,9 @@ do
|
|||||||
getManager().call("doRemove", playerColor)
|
getManager().call("doRemove", playerColor)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- adds Wendy's menu to the hovered card (allows sealing of tokens)
|
-- adds bless / curse sealing to the hovered card
|
||||||
---@param color String Color of the player to show the broadcast to
|
---@param color String Color of the player to show the broadcast to
|
||||||
BlessCurseManagerApi.addWendysMenu = function(playerColor, hoveredObject)
|
BlessCurseManagerApi.addBlurseSealingMenu = function(playerColor, hoveredObject)
|
||||||
getManager().call("addMenuOptions", { playerColor = playerColor, hoveredObject = hoveredObject })
|
getManager().call("addMenuOptions", { playerColor = playerColor, hoveredObject = hoveredObject })
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -8,6 +8,7 @@ local victoryDisplayApi = require("core/VictoryDisplayApi")
|
|||||||
|
|
||||||
function onLoad()
|
function onLoad()
|
||||||
addHotkey("Add doom to agenda", addDoomToAgenda)
|
addHotkey("Add doom to agenda", addDoomToAgenda)
|
||||||
|
addHotkey("Add Bless/Curse context menu to card", addBlurseSealingMenu)
|
||||||
addHotkey("Discard object", discardObject)
|
addHotkey("Discard object", discardObject)
|
||||||
addHotkey("Discard top card", discardTopDeck)
|
addHotkey("Discard top card", discardTopDeck)
|
||||||
addHotkey("Display Bless/Curse status", showBlessCurseStatus)
|
addHotkey("Display Bless/Curse status", showBlessCurseStatus)
|
||||||
@ -18,7 +19,6 @@ function onLoad()
|
|||||||
addHotkey("Take clue from location", takeClueFromLocation)
|
addHotkey("Take clue from location", takeClueFromLocation)
|
||||||
addHotkey("Upkeep", triggerUpkeep)
|
addHotkey("Upkeep", triggerUpkeep)
|
||||||
addHotkey("Upkeep (Multi-handed)", triggerUpkeepMultihanded)
|
addHotkey("Upkeep (Multi-handed)", triggerUpkeepMultihanded)
|
||||||
addHotkey("Wendy's Menu", addWendysMenu)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
-- triggers the "Upkeep" function of the calling player's playmat
|
-- triggers the "Upkeep" function of the calling player's playmat
|
||||||
@ -325,8 +325,8 @@ function showBlessCurseStatus(playerColor)
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- adds Wendy's menu to the hovered card
|
-- adds Wendy's menu to the hovered card
|
||||||
function addWendysMenu(playerColor, hoveredObject)
|
function addBlurseSealingMenu(playerColor, hoveredObject)
|
||||||
blessCurseManagerApi.addWendysMenu(playerColor, hoveredObject)
|
blessCurseManagerApi.addBlurseSealingMenu(playerColor, hoveredObject)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Simple method to check if the given point is in a specified area
|
-- Simple method to check if the given point is in a specified area
|
||||||
|
Loading…
Reference in New Issue
Block a user