bugfix and feedback

This commit is contained in:
Chr1Z93 2022-12-30 20:43:55 +01:00
parent f464e5f0ff
commit 08936a7230
2 changed files with 3 additions and 1 deletions

View File

@ -27,6 +27,7 @@ function shortSupply(color)
end
-- discard cards
broadcastToColor("Discarding top 10 cards for player color '" .. matColor .. "'.", color, "White")
discardPos.y = 0.5
for i = 1, 10 do
discardPos.y = discardPos.y + 0.05 * i

View File

@ -49,6 +49,7 @@ do
else
return "Red"
end
end
end
-- Returns the draw deck of the requested playmat
@ -122,7 +123,7 @@ do
-- Convenience function to look up a mat's object by color, or get all mats.
---@param matColor String for one of the active player colors - White, Orange, Green, Red. Also
-- accepts "All" as a special value which will return all four mats.
---@return Array of playermat objects. If a single mat is requested, will return a single-element
---@return: Array of playermat objects. If a single mat is requested, will return a single-element
-- array to simplify processing by consumers.
internal.getMatForColor = function(matColor)
local targetMatGuid = MAT_IDS[matColor]