Add hand economy for all PvP blinds

This commit is contained in:
Emik 2026-06-07 20:33:00 +02:00
parent 122d9a0210
commit 622686c6d5
Signed by: emik
GPG key ID: 6B0CD72A5E503BDF
2 changed files with 15 additions and 2 deletions

View file

@ -96,5 +96,18 @@ if not garden or type(parsedAction) ~= "table" then
": " ..
tostring(parsedAction), "MULTIPLAYER"
)
end"""
end
"""
match_indent = true
[[patches]]
[patches.pattern]
target = '=[SMODS Multiplayer "networking/action_handlers.lua"]'
pattern = 'MP.GAME.end_pvp = true'
position = "before"
payload = """G.GAME.current_round.hands_left =
MP.LOBBY.config.ruleset == 'ruleset_mp_walledgarden' and
G.GAME.round_resets.hands - 1 or
G.GAME.current_round.hands_left
"""
match_indent = true

View file

@ -1,6 +1,6 @@
{
"priority": 10000001,
"version": "1.0.3",
"version": "1.0.4",
"id": "WalledGarden",
"name": "WalledGarden",
"icon_path": "icon.png",