-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathFinalMix.lua
More file actions
91 lines (76 loc) · 2.13 KB
/
FinalMix.lua
File metadata and controls
91 lines (76 loc) · 2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
KH = SMODS.current_mod
MIX = MIX or {}
KH.save_config = function(self)
SMODS.save_mod_config(self)
end
SMODS.DynaTextEffect {
key = "pulse",
func = function(dynatext, index, letter)
local t = G.TIMERS.REAL * 1.2 + index * 0.25
letter.y = math.sin(t) * 2
letter.r = math.sin(t * 0.5) * 0.2
end
}
SMODS.Gradient {
key = "title",
colours = {
HEX('babcbf'),
G.C.BLUE,
},
cycle = 5,
interpolation = 'linear',
}
KH.optional_features = {
post_trigger = true,
retrigger_joker = true
}
-- Utility Functions
local cards = NFS.getDirectoryItems(KH.path .. "utilities")
for _, filename in pairs(cards) do
assert(SMODS.load_file("utilities/" .. filename))()
end
-- Blockbuster Support!
if Blockbuster then
SMODS.load_file("content/crossmod/value_manipulation.lua")()
end
-- Jokers
local subdir = "content/cards"
local cards = NFS.getDirectoryItems(KH.path .. subdir)
for _, filename in pairs(cards) do
assert(SMODS.load_file(subdir .. "/" .. filename))()
end
-- Misc
local cards = NFS.getDirectoryItems(KH.path .. "content/misc")
for _, filename in pairs(cards) do
assert(SMODS.load_file("content/misc/" .. filename))()
end
-- Consumables
SMODS.load_file("content/consumables/tarots.lua")()
SMODS.load_file("content/consumables/spectrals.lua")()
-- Ortalab Crossmod!
if next(SMODS.find_mod('ortalab')) then
SMODS.load_file("content/crossmod/ortalab_jokers.lua")()
end
-- Cold Beans Crossmod!
-- ok for some reason cold beans ruins my atlas... (in fourth row of atlas my jokers have a fat line on it with this mod enabled)
if next(SMODS.find_mod('ColdBeans')) then
SMODS.load_file("content/crossmod/coldbeans_sidequests.lua")()
end
-- Joker Display Support!
if JokerDisplay then
SMODS.load_file("content/crossmod/joker_display_definitions.lua")()
end
-- Partner API Crossmod!
if Partner_API then
SMODS.load_file("content/crossmod/partners.lua")()
end
-- CardSleeves Crossmod!
if CardSleeves then
SMODS.load_file("content/crossmod/cardsleeves.lua")()
end
--[[ WIP soon tm
if BLINDSIDE then
SMODS.load_file("content/crossmod/blindside_blinds.lua")()
SMODS.load_file("content/crossmod/blindside_jokers.lua")()
end
--]]