renamed wendys menu

This commit is contained in:
Chr1Z93 2024-01-15 11:13:26 +01:00
parent 5058970329
commit d8b7d23c5c
3 changed files with 6 additions and 6 deletions

View File

@ -262,7 +262,7 @@ function removeTakenTokens(type)
end
---------------------------------------------------------
-- Wendy Menu (context menu for cards on hotkey press)
-- Wendy's Menu (context menu for cards on hotkey press)
---------------------------------------------------------
function addMenuOptions(parameters)

View File

@ -36,9 +36,9 @@ do
getManager().call("doRemove", playerColor)
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
BlessCurseManagerApi.addWendysMenu = function(playerColor, hoveredObject)
BlessCurseManagerApi.addBlurseSealingMenu = function(playerColor, hoveredObject)
getManager().call("addMenuOptions", { playerColor = playerColor, hoveredObject = hoveredObject })
end

View File

@ -8,6 +8,7 @@ local victoryDisplayApi = require("core/VictoryDisplayApi")
function onLoad()
addHotkey("Add doom to agenda", addDoomToAgenda)
addHotkey("Add Bless/Curse context menu to card", addBlurseSealingMenu)
addHotkey("Discard object", discardObject)
addHotkey("Discard top card", discardTopDeck)
addHotkey("Display Bless/Curse status", showBlessCurseStatus)
@ -18,7 +19,6 @@ function onLoad()
addHotkey("Take clue from location", takeClueFromLocation)
addHotkey("Upkeep", triggerUpkeep)
addHotkey("Upkeep (Multi-handed)", triggerUpkeepMultihanded)
addHotkey("Wendy's Menu", addWendysMenu)
end
-- triggers the "Upkeep" function of the calling player's playmat
@ -325,8 +325,8 @@ function showBlessCurseStatus(playerColor)
end
-- adds Wendy's menu to the hovered card
function addWendysMenu(playerColor, hoveredObject)
blessCurseManagerApi.addWendysMenu(playerColor, hoveredObject)
function addBlurseSealingMenu(playerColor, hoveredObject)
blessCurseManagerApi.addBlurseSealingMenu(playerColor, hoveredObject)
end
-- Simple method to check if the given point is in a specified area