- Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathEntropy.lua
More file actions
Latest commit
133 lines (122 loc) · 3.94 KB
/
Copy pathEntropy.lua
File metadata and controls
133 lines (122 loc) · 3.94 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
localmod_path="" ..SMODS.current_mod.path
Entropy.path=mod_path
assert(Spectrallib, "Please make sure Spectrallib is installed instead of Cryptlib\nhttps://github.com/SpectralPack/Spectrallib/")
assert(SMODS.load_file("lib/utils.lua"))()
assert(SMODS.load_file("lib/loader.lua"))()
locali= {
lib= {
"ascended", "colours", "config",
"fixes", "hooks", "ui"
},
items= {
".*"
},
compat= {
"compat_loader",
},
order= {
lib=1,
items=2,
compat=3
}
}
Entropy.load_table(i)
Entropy.display_name=SMODS.current_mod.display_name
SMODS.current_mod.optional_features= {
retrigger_joker=true,
post_trigger=true,
}
ifnotSpectrallib.mod_whitelistthenCryptid.mod_whitelist= {} end
Spectrallib.mod_whitelist["Entropy"] =true
ifnotSpectrallib.mod_gameset_whitelistthenCryptid.mod_gameset_whitelist= {} end
Spectrallib.mod_gameset_whitelist["entr"] =true
Spectrallib.mod_gameset_whitelist["Entropy"] =true
--Entropy.update_daily_seed()
ifEntropy.config.family_modethen
Cryptid_config.family_mode=true
end
fori, categoryinpairs(Entropy.contents) do
table.sort(category, function(a, b) returna.order<b.orderend)
fori2, iteminpairs(category) do
ifnotSMODS[i] thenEntropy.fucker=i
else
item.cry_order=item.order
item.perishable_compat=item.perishable_compatorfalse
item.blueprint_compat=item.blueprint_compatorfalse
item.eternal_compat=item.eternal_compatorfalse
item.order=nil
SMODS[i](item)
end
end
end
ifSpectrallib.misprintize_value_blacklistthen
Spectrallib.misprintize_value_blacklist.debuff_timer=false
Spectrallib.misprintize_value_blacklist.superego_copies=false
Spectrallib.misprintize_value_blacklist.entr_hotfix_rounds=false
Spectrallib.misprintize_value_blacklist.debuff_timer=false
Spectrallib.misprintize_value_blacklist.debuff_timer_max=false
Spectrallib.misprintize_value_blacklist.left=false
end
SMODS.current_mod.calculate=function(self, context)
localret= {}
fori, vinpairs({
"misc_calculations"
}) do
localr=Entropy[v](self, context)
ifrthen
ret=SMODS.merge_effects({ret, r})
end
end
returnnext(ret) andretornil
end
ifG.P_CENTERS.e_negativethen
G.P_CENTERS.e_negative.no_doe=true
end
SMODS.current_mod.menu_cards=function()
return {
func=function()
fori, vinpairs(G.title_top.cards) do
ifv.config.center.key=="c_cryptid" then
G.title_top:remove_card(v)
v:remove()
end
ifv.baseandv.base.valueandv.base.value=="Ace" then
--G.title_top:remove_card(v)
--v:remove()
v:set_base()
G.P_CENTERS.j_entr_title_card.discovered=true
v:set_ability(G.P_CENTERS.j_entr_title_card)
ifv.children.frontthen
v.children.front:remove()
v.children.front=nil
end
math.randomseed(os.time())
ifmath.random() <0.01then
v:set_edition("e_entr_freaky")
else
v:set_edition("e_entr_solar")
end
end
end
end,
}
end
SMODS.Joker {
key="title_card",
atlas="titlecard",
no_collection=true,
in_pool=function() returnfalseend,
rarity="entr_zenith",
pos= {x=0, y=0},
soul_pos= {x=1, y=0},
no_doe=true,
no_collection=true,
display_size= { w=122, h=122 },
in_pool=function()
returnfalse
end,
cry_order=999999,
discovered=true,
unlocked=true
}
Spectrallib.death_can_eternal=true