mirror of
https://github.com/ershisan99/Fantoms-Preview.git
synced 2025-12-16 12:32:48 +00:00
58 lines
1.1 KiB
TOML
58 lines
1.1 KiB
TOML
[manifest]
|
|
version = "1.0"
|
|
dump_lua = true
|
|
priority = 0
|
|
|
|
# This manifest assumes the following release structure:
|
|
#
|
|
# DVSimulate/
|
|
# ├─ Engine.lua
|
|
# ├─ Init.lua
|
|
# ├─ Utils.lua
|
|
# ├─ Jokers/
|
|
# │ ├─ _Vanilla.lua
|
|
# │ ├─ etc.
|
|
|
|
[[patches]]
|
|
[patches.copy]
|
|
target = "globals.lua"
|
|
position = "append"
|
|
sources = ["FNSimulate/Init.lua", "FNPreview/Init.lua", "FNPreview/Card.lua"]
|
|
|
|
[[patches]]
|
|
[patches.copy]
|
|
target = "main.lua"
|
|
position = "append"
|
|
sources = ["FNPreview/Core.lua", "FNPreview/Utils.lua"]
|
|
|
|
[[patches]]
|
|
[patches.copy]
|
|
target = "functions/common_events.lua"
|
|
position = "append"
|
|
sources = ["FNSimulate/Engine.lua", "FNSimulate/Utils.lua"]
|
|
|
|
[[patches]]
|
|
[patches.copy]
|
|
target = "card.lua"
|
|
position = "append"
|
|
sources = [
|
|
"FNSimulate/Jokers/_Vanilla.lua",
|
|
"FNSimulate/Jokers/Multiplayer.lua",
|
|
]
|
|
|
|
[[patches]]
|
|
[patches.copy]
|
|
target = "functions/UI_definitions.lua"
|
|
position = "append"
|
|
sources = ["FNPreview/Interface.lua"]
|
|
|
|
[[patches]]
|
|
[patches.pattern]
|
|
target = '''=[SMODS _ "src/overrides.lua"]'''
|
|
pattern = "function get_straight(hand, min_length, skip, wrap)"
|
|
position = 'after'
|
|
payload = '''
|
|
hand = clean_hand(hand)
|
|
'''
|
|
match_indent = true
|