forked from threeofaband/bountiful
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.lua
More file actions
103 lines (93 loc) · 2.03 KB
/
main.lua
File metadata and controls
103 lines (93 loc) · 2.03 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
92
93
94
95
96
97
98
99
100
101
102
103
BOUNTIFUL = {}
SMODS.Atlas{
key = 'jokers',
path = 'atlas.png',
px = 71,
py = 95
}
SMODS.Atlas{
key = 'crossmods',
path = 'crossmodatlas.png',
px = 71,
py = 95
}
SMODS.Atlas{
key = 'blind',
path = 'blind.png',
px = 34,
py = 34,
frames = 21,
atlas_table = 'ANIMATION_ATLAS'
}
SMODS.Atlas {
key = "modicon",
path = "icon.png",
px = 34,
py = 34
}
BOUNTIFUL.enabledJokers = {
'babel',
'baitandswitch',
'bakingsoda',
'balancing',
'ballot',
'bamboo',
'banderole',
'barley',
'baseten',
'basicity',
'bastedegg',
'battery',
'beast',
'bechdel',
'beneficiary',
'bill',
'binder',
'bismuth',
'bitshift',
'blackmail',
'blahaj',
'blatant',
'boardandspilikins',
'boarding_ticket',
'bobber',
'botched',
'bottom_quark',
'bourgeoisie',
'brake',
'brokerdealer',
'bulletin'
}
if not G.P_CENTER_POOLS["Food"] then
SMODS.ObjectType {
key = "Food",
default = "j_gros_michel",
cards = {},
inject = function(self)
SMODS.ObjectType.inject(self)
self:inject_card(G.P_CENTERS.j_cavendish)
self:inject_card(G.P_CENTERS.j_diet_cola)
self:inject_card(G.P_CENTERS.j_egg)
self:inject_card(G.P_CENTERS.j_gros_michel)
self:inject_card(G.P_CENTERS.j_ice_cream)
self:inject_card(G.P_CENTERS.j_popcorn)
self:inject_card(G.P_CENTERS.j_ramen)
self:inject_card(G.P_CENTERS.j_selzer)
self:inject_card(G.P_CENTERS.j_turtle_bean)
end,
}
end
for i = 1, #BOUNTIFUL.enabledJokers do
pcall(function()
return NFS.load(SMODS.current_mod.path .. '/joker/' .. BOUNTIFUL.enabledJokers[i] .. '.lua')()
end)
end
assert(SMODS.load_file('challenges.lua'))()
assert(SMODS.load_file('decks.lua'))()
assert(SMODS.load_file('blinds.lua'))()
to_number = to_number or function(x) return x end
if next(SMODS.find_mod("pta_saka")) then
pcall(function()
return NFS.load(SMODS.current_mod.path .. '/crossmods/haya.lua')()
end)
end