-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathAbsoluteDeck.lua
39 lines (36 loc) · 1.12 KB
/
AbsoluteDeck.lua
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
--- STEAMODDED HEADER
--- MOD_NAME: Absolute Deck
--- MOD_ID: AbsoluteDeck
--- MOD_AUTHOR: [Steamo]
--- MOD_DESCRIPTION: Absolute Deck of PolyGlass!
--- DEPENDENCIES: [Steamodded>=1.0.0~ALPHA-0812d]
----------------------------------------------
------------MOD CODE -------------------------
SMODS.Back{
name = "Absolute Deck",
key = "absolute",
pos = {x = 0, y = 3},
config = {polyglass = true},
loc_txt = {
name = "Absolute Deck",
text ={
"Start with a Deck",
"full of {C:attention,T:e_polychrome}Poly{}{C:red,T:m_glass}glass{} cards"
},
},
apply = function()
G.E_MANAGER:add_event(Event({
func = function()
for i = #G.playing_cards, 1, -1 do
G.playing_cards[i]:set_ability(G.P_CENTERS.m_glass)
G.playing_cards[i]:set_edition({
polychrome = true
}, true, true)
end
return true
end
}))
end
}
----------------------------------------------
------------MOD CODE END----------------------