Skip to content

Commit 9c4e373

Browse files
committed
2 parents c7dfae0 + d6c1fee commit 9c4e373

File tree

5 files changed

+70
-11
lines changed

5 files changed

+70
-11
lines changed

Cryptid.lua

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,11 @@ local function process_items(f, mod)
6969
}
7070
item.mod_path = mod.path
7171
if item.key then
72-
item.key = mod.prefix .. "_" .. item.key
72+
if item.object_type and SMODS[item.object_type].class_prefix then
73+
item.key = SMODS[item.object_type].class_prefix .. "_" .. mod.prefix .. "_" .. item.key
74+
else
75+
item.key = mod.prefix .. "_" .. item.key
76+
end
7377
end
7478
if item.atlas then
7579
item.atlas = mod.prefix .. "_" .. item.atlas

items/deck.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ local antimatter = {
473473
},
474474
},
475475
loc_vars = function(self, info_queue, center)
476-
return { key = Cryptid.gameset_loc(self, {mainline = "balanced", modest = "balanced"}) }
476+
return { key = Cryptid.gameset_loc(self, { mainline = "balanced", modest = "balanced" }) }
477477
end,
478478
name = "cry-Antimatter",
479479
order = 76,

items/epic.lua

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@ local supercell = {
3434
blueprint_compat = true,
3535
atlas = "atlasepic",
3636
loc_vars = function(self, info_queue, center)
37-
return { key = Cryptid.gameset_loc(self, {modest = "balanced"}),
38-
vars = { center.ability.extra.stat1, center.ability.extra.stat2, center.ability.extra.money } }
37+
return {
38+
key = Cryptid.gameset_loc(self, { modest = "balanced" }),
39+
vars = { center.ability.extra.stat1, center.ability.extra.stat2, center.ability.extra.money },
40+
}
3941
end,
4042
calculate = function(self, card, context)
4143
if context.joker_main then
@@ -108,7 +110,7 @@ local membershipcardtwo = {
108110
a = 8
109111
end
110112
return {
111-
key = Cryptid.gameset_loc(self, {modest = "balanced"}),
113+
key = Cryptid.gameset_loc(self, { modest = "balanced" }),
112114
vars = { card.ability.extra.chips, card.ability.extra.chips * math.floor(GLOBAL_cry_member_count / a) },
113115
}
114116
end,
@@ -328,7 +330,7 @@ local canvas = {
328330
blueprint_compat = true,
329331
atlas = "atlasepic",
330332
loc_vars = function(self, info_queue, center)
331-
return { key = Cryptid.gameset_loc(self, {modest = "balanced"}) }
333+
return { key = Cryptid.gameset_loc(self, { modest = "balanced" }) }
332334
end,
333335
calculate = function(self, card, context)
334336
if context.retrigger_joker_check and not context.retrigger_joker then
@@ -1562,8 +1564,7 @@ local altgoogol = {
15621564
madness = { center = { blueprint_compat = true }, copies = 2 },
15631565
},
15641566
loc_vars = function(self, info_queue, center)
1565-
return { key = Cryptid.gameset_loc(self, {modest = "balanced"}),
1566-
vars = { center.ability.copies } }
1567+
return { key = Cryptid.gameset_loc(self, { modest = "balanced" }), vars = { center.ability.copies } }
15671568
end,
15681569
calculate = function(self, card, context)
15691570
local gameset = Card.get_gameset(card)
@@ -1658,8 +1659,7 @@ local soccer = {
16581659
cost = 20,
16591660
atlas = "atlasepic",
16601661
loc_vars = function(self, info_queue, center)
1661-
return { key = Cryptid.gameset_loc(self, {modest = "balanced"}),
1662-
vars = { center.ability.extra.holygrail } }
1662+
return { key = Cryptid.gameset_loc(self, { modest = "balanced" }), vars = { center.ability.extra.holygrail } }
16631663
end,
16641664
add_to_deck = function(self, card, from_debuff)
16651665
card.ability.extra.holygrail = math.floor(card.ability.extra.holygrail)

localization/de.lua

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -619,6 +619,16 @@ return {
619619
"{C:inactive,s:0.8}Kopiert keine Nostalgischen Googol Play Karten{}",
620620
},
621621
},
622+
j_cry_altgoogol_balanced = {
623+
name = "Nostalgische Googol Play Karte",
624+
text = {
625+
"Verkaufe diese Karte um",
626+
"{C:attention}#1#{} Kopie#<n>1# von dem linkesten {C:attention}Joker{} zu machen",
627+
"{C:inactive,s:0.8}Kopiert keine Nostalgischen Googol Play Karten{}",
628+
"{C:inactive}(Muss Platz haben){}",
629+
--todo: add "removes negative from copy" like Ankh/Invis Joker
630+
},
631+
},
622632
j_cry_antennastoheaven = {
623633
name = "...Wie Antennen zum Himmel",
624634
text = {
@@ -789,6 +799,20 @@ return {
789799
"auf der rechten Seite hast",
790800
},
791801
},
802+
j_cry_canvas_balanced = {
803+
name = "Leinwand",
804+
text = {
805+
"{C:attention}Löse{} alle {C:attention}Jokers{} auf der linken Seite",
806+
"{C:attention}so oft neu aus{} wie du nicht-{C:blue}Gewöhnliche{C:attention} Joker{}",
807+
"auf der rechten Seite hast",
808+
"{C:inactive}(Up to 2 retriggers)",
809+
},
810+
unlock = {
811+
"Löse einen {C:attention}Joker",
812+
"{C:attention}114{} mal in einer",
813+
"Hand erneut aus.",
814+
},
815+
},
792816
j_cry_caramel = {
793817
name = "Karamel",
794818
text = {
@@ -1461,6 +1485,15 @@ return {
14611485
"{C:blue,s:0.7}https://discord.gg/cryptid{}",
14621486
},
14631487
},
1488+
j_cry_membershipcardtwo_balanced = {
1489+
name = "Alte Mitgliedskarte", --Could probably have a diff Name imo
1490+
text = {
1491+
"{C:chips}+#1#{} Chip#<s>1# für jedes Mitglied",
1492+
"im {C:attention}Cryptid Discord{}",
1493+
"{C:inactive}(Momentan {C:chips}+#2#{C:inactive} Chip#<s>2#)",
1494+
"{C:blue,s:0.7}https://discord.gg/cryptid{}",
1495+
},
1496+
},
14641497
j_cry_meteor = {
14651498
name = "Meteorschauer",
14661499
text = {
@@ -1864,6 +1897,20 @@ return {
18641897
"{C:attention}+#1#{} Karte im Shop",
18651898
},
18661899
},
1900+
j_cry_soccer_balanced = {
1901+
name = "Einer für Alle", --changed the name from latin because this isn't exotic
1902+
text = {
1903+
"{C:attention}+#1#{} Joker Slot#<s>1#",
1904+
"{C:attention}+#1#{} Booster Packer Slot#<s>1#",
1905+
"{C:attention}+#1#{} Handgröße",
1906+
"{C:attention}+#1#{} Verbrauchsgegenstand Slot#<s>1#",
1907+
"{C:attention}+#1#{} Karte#<n>1# im Shop",
1908+
},
1909+
unlock = {
1910+
"Gewinne einen Durchlauf",
1911+
"mit nur {C:attention}High Card",
1912+
},
1913+
},
18671914
j_cry_fleshpanopticon = {
18681915
name = "Fleischpanoptikum",
18691916
text = {
@@ -1941,6 +1988,14 @@ return {
19411988
"Ende der Runde",
19421989
},
19431990
},
1991+
j_cry_supercell_balanced = {
1992+
name = "Supercell",
1993+
text = {
1994+
"{X:chips,C:white}X#2#{} Chips, {X:mult,C:white}X#2#{} Mult",
1995+
"Verdiene {C:money}$#3#{} am",
1996+
"Ende der Runde",
1997+
},
1998+
},
19441999
j_cry_sus = {
19452000
name = "SUS",
19462001
text = {

localization/en-us.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1064,7 +1064,7 @@ return {
10641064
"{C:attention}Retrigger{} all {C:attention}Jokers{} to the left",
10651065
"once for {C:attention}every{} non-{C:blue}Common{C:attention} Joker{}",
10661066
"to the right of this Joker",
1067-
"{C:inactive}(Up to 2 retriggers)"
1067+
"{C:inactive}(Up to 2 retriggers)",
10681068
},
10691069
unlock = {
10701070
"Retrigger a {C:attention}Joker",

0 commit comments

Comments
 (0)