Add new joker

This commit is contained in:
Emik 2025-03-26 21:06:39 +01:00
parent e848c96354
commit 02906c9500
Signed by untrusted user who does not match committer: emik
GPG key ID: 09CDFF9E5703688D
3 changed files with 54 additions and 13 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

View file

@ -1,4 +1,4 @@
for _, v in pairs({"7granddad", "betmma", "oxy", "peppino"}) do
for _, v in pairs({"7granddad", "betmma", "oxy", "maxie", "peppino"}) do
SMODS.Atlas {
px = 71,
py = 95,
@ -104,6 +104,47 @@ local function voucher_count()
return count
end
local maxie_quotes = {
normal = {
"Hey! I hope we can become great friends together!",
"Need a paw?",
"Together as a team!",
"Mmm... Milk sounds good right about now.",
"Unlike most other bunnies; I don\'t like carrots.",
"Mmm... Mac and Cheese...",
"I am just sitting here.",
},
scared = {
"A-ah! S-stop it, please!! You\'re scaring me...!",
"E-eek! B-be careful!!",
},
}
SMODS.Joker {
key = "maxie",
atlas = "janemaxie",
loc_txt = {
name = "Maxie",
text = {"{C:attention}+#1# {}booster pack slot#2#"}
},
config = {extra = {choices = Cryptid and 2 or 1}},
pos = {x = 0, y = 0},
sinis = {x = 2, y = 0},
soul_pos = {x = 1, y = 0},
cost = 10,
rarity = 2,
loc_vars = function(_, _, card)
return {vars = {card.ability.extra.choices, card.ability.extra.choices == 1 and "" or "s"}}
end,
calculate = function(_, card, context)
if context.starting_shop then
for _ = 1, card.ability.extra.choices do
SMODS.add_booster_to_shop()
end
end
end
}
local oxy_quotes = {
normal = {
"YOU WILL LOSE",
@ -132,8 +173,8 @@ SMODS.Joker {
"{C:inactive,s:0.75,E:1}#11#{C:red,s:1.5,E:1}#12#",
}
},
pos = {x = 0, y = 0},
config = {extra = {corrupted_steel = 2.25, is_corrupted = false, milestone = 5, progress = 0, steel = 1.5}},
pos = {x = 0, y = 0},
sinis = {x = 2, y = 0},
soul_pos = {x = 1, y = 0},
cost = 10,