bugfix and feedback
This commit is contained in:
parent
f464e5f0ff
commit
08936a7230
@ -27,6 +27,7 @@ function shortSupply(color)
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- discard cards
|
-- discard cards
|
||||||
|
broadcastToColor("Discarding top 10 cards for player color '" .. matColor .. "'.", color, "White")
|
||||||
discardPos.y = 0.5
|
discardPos.y = 0.5
|
||||||
for i = 1, 10 do
|
for i = 1, 10 do
|
||||||
discardPos.y = discardPos.y + 0.05 * i
|
discardPos.y = discardPos.y + 0.05 * i
|
||||||
|
@ -50,6 +50,7 @@ do
|
|||||||
return "Red"
|
return "Red"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
-- Returns the draw deck of the requested playmat
|
-- Returns the draw deck of the requested playmat
|
||||||
---@param matColor String Color of the playermat
|
---@param matColor String Color of the playermat
|
||||||
@ -122,7 +123,7 @@ do
|
|||||||
-- Convenience function to look up a mat's object by color, or get all mats.
|
-- 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
|
---@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.
|
-- 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.
|
-- array to simplify processing by consumers.
|
||||||
internal.getMatForColor = function(matColor)
|
internal.getMatForColor = function(matColor)
|
||||||
local targetMatGuid = MAT_IDS[matColor]
|
local targetMatGuid = MAT_IDS[matColor]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user