Skip to content

Commit c1b34de

Browse files
authored
Merge pull request #375 from etherware-novice/jimtron
Jimbo-tron
2 parents 2e2380d + aaf6b3d commit c1b34de

File tree

4 files changed

+43
-0
lines changed

4 files changed

+43
-0
lines changed

assets/1x/atlasepic.png

-6.55 KB
Loading

assets/2x/atlasepic.png

-48.7 KB
Loading

items/epic.lua

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1881,6 +1881,40 @@ local spectrogram = {
18811881
},
18821882
},
18831883
}
1884+
local jtron = {
1885+
object_type = "Joker",
1886+
name = "cry-jtron",
1887+
key = "jtron",
1888+
config = { extra = { bonus = 1, current = 0 } },
1889+
rarity = "cry_epic",
1890+
cost = 14,
1891+
order = 64,
1892+
blueprint_compat = true,
1893+
atlas = "atlasepic",
1894+
pos = { x = 2, y = 5 },
1895+
loc_vars = function(self, info_queue, center)
1896+
info_queue[#info_queue + 1] = G.P_CENTERS.j_joker
1897+
center.ability.extra.current = 1 + center.ability.extra.bonus * #SMODS.find_card("j_joker")
1898+
return { vars = { center.ability.extra.bonus, center.ability.extra.current } }
1899+
end,
1900+
calculate = function(self, card, context)
1901+
card.ability.extra.current = 1 + card.ability.extra.bonus * #SMODS.find_card("j_joker")
1902+
if context.cardarea == G.jokers and context.joker_main then
1903+
return {
1904+
message = localize({ type = "variable", key = "a_powmult", vars = {
1905+
number_format(card.ability.extra.current),
1906+
} }),
1907+
Emult_mod = card.ability.extra.current,
1908+
colour = G.C.DARK_EDITION,
1909+
}
1910+
end
1911+
end,
1912+
cry_credits = {
1913+
idea = { "AlexZGreat" },
1914+
art = { "Darren_the_frog" },
1915+
code = { "candycanearter" },
1916+
},
1917+
}
18841918
return {
18851919
name = "Epic Jokers",
18861920
items = {
@@ -1907,5 +1941,6 @@ return {
19071941
soccer,
19081942
fleshpanopticon,
19091943
spectrogram,
1944+
jtron,
19101945
},
19111946
}

localization/en-us.lua

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1600,6 +1600,14 @@ return {
16001600
"{C:inactive,s:0.8}Seems legit...{}",
16011601
},
16021602
},
1603+
j_cry_jtron = {
1604+
name = "Jimbo-tron 9000",
1605+
text = {
1606+
"This Joker gains {X:dark_edition,C:white} ^#1# {} Mult",
1607+
"for each default {C:attention}Joker{}",
1608+
"{C:inactive}(Currently {X:dark_edition,C:white}^#2#{C:inactive} Mult)",
1609+
},
1610+
},
16031611
j_cry_kidnap = {
16041612
name = "Kidnapping",
16051613
text = {

0 commit comments

Comments
 (0)