-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathranks.lua
41 lines (40 loc) · 988 Bytes
/
ranks.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
40
41
SMODS.Rank({
key = "sneven",
card_key = "7~",
pos = { x = 0 },
nominal = 7,
lc_atlas = "ranks",
hc_atlas = "hc_ranks",
shorthand = "7~",
face_nominal = 0.01,
next = { "8" },
in_pool = function(self, args)
if args then
if args.initial_deck then
return false
elseif args.suit ~= "" then
return true
end
end
for i, card in ipairs(G.playing_cards or {}) do
if card.base.value == "pencil_sneven" then
return true
end
end
return false
end,
suit_map = {
Hearts = 0,
Clubs = 1,
Diamonds = 2,
Spades = 3,
mtg_Clovers = 4,
minty_3s = 5,
six_Stars = 6,
six_Moons = 7,
bunc_Fleurons = 8,
bunc_Halberds = 9,
},
})
table.insert(SMODS.Ranks["6"].next, "pencil_sneven")
table.insert(SMODS.Ranks["7"].next, "pencil_sneven")