mirror of
https://github.com/ershisan99/Fantoms-Preview.git
synced 2025-12-16 20:49:23 +00:00
63 lines
1.1 KiB
TOML
63 lines
1.1 KiB
TOML
[manifest]
|
|
version = "1.0"
|
|
dump_lua = true
|
|
priority = 0
|
|
|
|
# This manifest assumes the following release structure:
|
|
#
|
|
# Fantoms-Preview/
|
|
# ├─ FNPreview
|
|
# ├─ FNSimulate
|
|
|
|
[[patches]]
|
|
[patches.copy]
|
|
target = "globals.lua"
|
|
position = "append"
|
|
sources = [
|
|
"FNSimulate/Init.lua",
|
|
"FNPreview/Init.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 Blind:debuff_hand(cards, hand, handname, check)"
|
|
position = 'after'
|
|
payload = '''
|
|
do return debuff_hand(self, cards, hand, handname, check) end
|
|
'''
|
|
match_indent = true
|