Add hand economy for all PvP blinds
This commit is contained in:
parent
122d9a0210
commit
622686c6d5
2 changed files with 15 additions and 2 deletions
15
lovely.toml
15
lovely.toml
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"priority": 10000001,
|
||||
"version": "1.0.3",
|
||||
"version": "1.0.4",
|
||||
"id": "WalledGarden",
|
||||
"name": "WalledGarden",
|
||||
"icon_path": "icon.png",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue