67 lines
1.7 KiB
Lua
67 lines
1.7 KiB
Lua
SMODS.Atlas {
|
|
key = "janejollyvoucher",
|
|
px = 71,
|
|
py = 95,
|
|
path = Jane.config.texture_pack .. "/v_jane_jolly_voucher.png",
|
|
}
|
|
|
|
SMODS.Atlas {
|
|
key = "janetokenvoucher",
|
|
px = 71,
|
|
py = 95,
|
|
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
|
|
SMODS.Voucher {
|
|
key = "jolly_voucher",
|
|
atlas = "janejollyvoucher",
|
|
loc_txt = {
|
|
name = "Jolly Voucher",
|
|
text = {"{C:attention,T:c_jane_jokerinatarot}Joker-in-a-Tarot {}creates", "{C:attention,T:j_jolly}Jolly Joker {}instead"},
|
|
},
|
|
pos = {x = 0, y = 0},
|
|
cost = 8,
|
|
loc_vars = function(_, info_queue, _)
|
|
info_queue[#info_queue + 1] = G.P_CENTERS.c_jane_jokerinatarot
|
|
info_queue[#info_queue + 1] = G.P_CENTERS.j_jolly
|
|
return {vars = {}}
|
|
end,
|
|
}
|
|
end
|
|
|
|
SMODS.Voucher {
|
|
key = "token_voucher",
|
|
atlas = "janetokenvoucher",
|
|
loc_txt = {
|
|
name = "Token Voucher",
|
|
text = {"{C:attention}Tokens {}can appear", "in the shop"},
|
|
},
|
|
pos = {x = 0, y = 0},
|
|
cost = 10,
|
|
redeem = function(_, _)
|
|
G.GAME.jane_tokens_rate = 1
|
|
end,
|
|
}
|
|
|
|
SMODS.Voucher {
|
|
key = "token_voucher_plus",
|
|
atlas = "janetokenvoucherplus",
|
|
loc_txt = {
|
|
name = "Token Voucher+",
|
|
text = {"{C:attention}Tokens {}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,
|
|
}
|