Add new voucher, nerf Escapey

This commit is contained in:
Emik 2026-05-26 14:51:23 +02:00
parent 2e1c67a49e
commit a3c682c3e8
Signed by: emik
GPG key ID: 6B0CD72A5E503BDF
5 changed files with 27 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

View file

@ -17,5 +17,5 @@
"conflicts": [ "conflicts": [
"Jen" "Jen"
], ],
"version": "1.6.12" "version": "1.6.13"
} }

View file

@ -155,7 +155,7 @@ SMODS.Joker {
"{C:inactive,s:0.75,E:1}#5#{C:red,s:1.5,E:1}#6#", "{C:inactive,s:0.75,E:1}#5#{C:red,s:1.5,E:1}#6#",
}, },
}, },
config = {extra = {money = 2, xmoney = 1.5, max = 10000}}, config = {extra = {money = 2, xmoney = 1.5, max = 1000}},
attributes = {"destroy_card", "economy", "tag"}, attributes = {"destroy_card", "economy", "tag"},
pos = {x = 0, y = 0}, pos = {x = 0, y = 0},
sinis = {x = 2, y = 0}, sinis = {x = 2, y = 0},
@ -177,7 +177,7 @@ SMODS.Joker {
return {vars = {extra.xmoney, number_format(extra.max), extra.money, normal[1], normal[2], scared}} return {vars = {extra.xmoney, number_format(extra.max), extra.money, normal[1], normal[2], scared}}
end, end,
Bakery_can_use = function(_, card) Bakery_can_use = function(_, card)
if not Jane.can_use() or card.debuff or G.GAME.used_vouchers.v_jane_token_voucher then if not Jane.can_use() or card.debuff then
return false return false
end end

View file

@ -12,6 +12,13 @@ SMODS.Atlas {
path = Jane.config.texture_pack .. "/v_jane_token_voucher.png", path = Jane.config.texture_pack .. "/v_jane_token_voucher.png",
} }
SMODS.Atlas {
key = "janetokenvoucherplus",
px = 71,
py = 95,
path = Jane.config.texture_pack .. "/v_jane_token_voucher_plus.png",
}
if Cryptid then if Cryptid then
SMODS.Voucher { SMODS.Voucher {
key = "jolly_voucher", key = "jolly_voucher",
@ -35,11 +42,26 @@ SMODS.Voucher {
atlas = "janetokenvoucher", atlas = "janetokenvoucher",
loc_txt = { loc_txt = {
name = "Token Voucher", name = "Token Voucher",
text = {"{C:attention}Tokens {}can appear", "in the shop"}, text = {"{C:attention}Token {} cards appear", "can appear", "in the shop"},
}, },
pos = {x = 0, y = 0}, pos = {x = 0, y = 0},
cost = 10, cost = 10,
redeem = function(_, _) redeem = function(_, _)
G.GAME.jane_tokens_rate = 1.5 G.GAME.jane_tokens_rate = 1
end,
}
SMODS.Voucher {
key = "token_voucher_plus",
atlas = "janetokenvoucherplus",
loc_txt = {
name = "Token Voucher+",
text = {"{C:attention}Token {}cards appear", "{C:attention}3X {}more frequently", "in the shop"},
},
requires = {"v_jane_token_voucher"},
pos = {x = 0, y = 0},
cost = 10,
redeem = function(_, _)
G.GAME.jane_tokens_rate = (G.GAME.jane_tokens_rate or 1) * 3
end, end,
} }