Compare commits

..

No commits in common. "main" and "1.5.33" have entirely different histories.
main ... 1.5.33

6 changed files with 30 additions and 74 deletions

43
.gitignore vendored
View file

@ -1,43 +0,0 @@
# Compiled Lua sources
luac.out
# luarocks build files
*.src.rock
*.zip
*.tar.gz
# Object files
*.o
*.os
*.ko
*.obj
*.elf
# Precompiled Headers
*.gch
*.pch
# Libraries
*.lib
*.a
*.la
*.lo
*.def
*.exp
# Shared objects (inc. Windows DLLs)
*.dll
*.so
*.so.*
*.dylib
# Executables
*.exe
*.out
*.app
*.i*86
*.x86_64
*.hex
# Syncthing
.stfolder

View file

@ -17,5 +17,5 @@
"conflicts": [ "conflicts": [
"Jen" "Jen"
], ],
"version": "1.5.36" "version": "1.5.33"
} }

View file

@ -692,6 +692,8 @@ back {
G.GAME.mysterious = nil G.GAME.mysterious = nil
if Jane.is_end_of_ante(context) then if Jane.is_end_of_ante(context) then
add_rain_world_joker()
Jane.q(function() Jane.q(function()
Jane.empowered() Jane.empowered()
end) end)

View file

@ -50,7 +50,7 @@ SMODS.Edition({
}, },
sound = {sound = "jane_e_polygloss", per = 1.2, vol = 0.4}, sound = {sound = "jane_e_polygloss", per = 1.2, vol = 0.4},
weight = 10, weight = 10,
extra_cost = 2, extra_cost = 4,
in_shop = true, in_shop = true,
shader = "polygloss", shader = "polygloss",
apply_to_float = false, apply_to_float = false,
@ -177,7 +177,7 @@ SMODS.Edition({
config = {e_chips = Cryptid and 0.8 or 0.9, e_mult = Cryptid and 1.2 or 1.1}, config = {e_chips = Cryptid and 0.8 or 0.9, e_mult = Cryptid and 1.2 or 1.1},
sound = {sound = "jane_e_moire", per = 1, vol = 0.7}, sound = {sound = "jane_e_moire", per = 1, vol = 0.7},
weight = 2, weight = 2,
extra_cost = 10, extra_cost = 6,
in_shop = true, in_shop = true,
shader = "moire", shader = "moire",
in_pool = allow_moire, in_pool = allow_moire,

View file

@ -39,6 +39,7 @@ local food = {
"j_cry_jawbreaker", "j_cry_jawbreaker",
"j_cry_mellowcreme", "j_cry_mellowcreme",
"j_cry_brittle", "j_cry_brittle",
"j_jane_peppino",
} }
local granddad_palette = { local granddad_palette = {
@ -49,21 +50,15 @@ local granddad_palette = {
} }
local function food_jokers_count() local function food_jokers_count()
if not G.jokers or not next(G.jokers.cards) then if not G.jokers then
return 0 return 0
end end
local amount = 0 local amount = 0
if G.jokers.cards[1] and G.jokers.cards[1].has_attribute then
for _, v in pairs(G.jokers.cards) do
amount = amount + (v:has_attribute "food" and 1 or 0)
end
else
for _, v in pairs(food) do for _, v in pairs(food) do
amount = amount + #SMODS.find_card(v) amount = amount + #SMODS.find_card(v)
end end
end
return amount return amount
end end
@ -383,13 +378,13 @@ SMODS.Joker {
"{C:inactive,s:0.75,E:1}#11#{C:red,s:1.5,E:1}#12#", "{C:inactive,s:0.75,E:1}#11#{C:red,s:1.5,E:1}#12#",
}, },
}, },
config = {extra = {corrupted_steel = Cryptid and 20 or 5, is_corrupted = false, milestone = 3, progress = 0}}, config = {extra = {corrupted_steel = 6, is_corrupted = false, milestone = 3, progress = 0}},
pos = {x = 0, y = 0}, pos = {x = 0, y = 0},
sinis = {x = 2, y = 0}, sinis = {x = 2, y = 0},
soul_pos = {x = 1, y = 0}, soul_pos = {x = 1, y = 0},
blueprint_compat = true, blueprint_compat = true,
cost = 8, cost = Cryptid and 8 or 20,
rarity = 3, rarity = Cryptid and 3 or 4,
loc_vars = function(_, info_queue, card) loc_vars = function(_, info_queue, card)
info_queue[#info_queue + 1] = G.P_CENTERS.m_steel info_queue[#info_queue + 1] = G.P_CENTERS.m_steel
local ability = card.ability.extra or {} local ability = card.ability.extra or {}
@ -407,7 +402,7 @@ SMODS.Joker {
is_corrupted and "Purifies " or "", is_corrupted and "Purifies " or "",
is_corrupted and "in " or "", is_corrupted and "in " or "",
is_corrupted and "" or "Destroying ", is_corrupted and "" or "Destroying ",
effective .. (is_corrupted and " ante" or " steel card") .. plural, effective .. (is_corrupted and " round" or " steel card") .. plural,
is_corrupted and "" or "corrupts ", is_corrupted and "" or "corrupts ",
is_corrupted and "Destroying steel cards" or "this Joker", is_corrupted and "Destroying steel cards" or "this Joker",
is_corrupted and "prolongs the " or "", is_corrupted and "prolongs the " or "",
@ -432,7 +427,7 @@ SMODS.Joker {
local extra = card.ability.extra or {} local extra = card.ability.extra or {}
Jane.oxy(card, context.removed) Jane.oxy(card, context.removed)
if context.ante_end and context.ante_change and if context.end_of_round and
extra.progress > 0 and not extra.progress > 0 and not
context.individual and not context.individual and not
context.repetition and not context.repetition and not
@ -612,16 +607,18 @@ SMODS.Joker {
loc_txt = { loc_txt = {
name = "Peppino Spaghetti", name = "Peppino Spaghetti",
text = { text = {
operator_prefix .. operator .. "2{C:mult} Mult{} per {C:attention}Food Joker", operator_prefix .. operator .. "2^x{C:red} Mult{} for every",
"{C:inactive}(Currently " .. operator_prefix .. operator .. "#1#{C:mult} Mult{C:inactive})", "{C:attention}food or Peppino Joker",
"in your possession",
"{C:inactive}(Currently " .. operator_prefix .. operator .. "#1#{C:red} Mult{C:inactive})",
}, },
}, },
pos = {x = 0, y = 0}, pos = {x = 0, y = 0},
soul_pos = {x = 1, y = 0}, soul_pos = {x = 1, y = 0},
config = {extra = {base = 2}}, config = {extra = {base = 2}},
rarity = 3, rarity = Cryptid and exotic or 3,
cost = 8,
blueprint_compat = true, blueprint_compat = true,
cost = Cryptid and 50 or 20,
loc_vars = function(_, _, card) loc_vars = function(_, _, card)
return {vars = {card.ability.extra.base ^ food_jokers_count()}} return {vars = {card.ability.extra.base ^ food_jokers_count()}}
end, end,

View file

@ -165,7 +165,7 @@ SMODS.Joker {
info_queue[#info_queue + 1] = Cryptid and G.P_CENTERS.c_cry_empowered or G.P_CENTERS.c_soul info_queue[#info_queue + 1] = Cryptid and G.P_CENTERS.c_cry_empowered or G.P_CENTERS.c_soul
local rounds_left = card.ability.extra.rounds_left local rounds_left = card.ability.extra.rounds_left
local sold = rounds_left - hunter[5] local sold = rounds_left - hunter[3]
return { return {
vars = { vars = {
@ -221,7 +221,7 @@ SMODS.Joker {
return return
end end
if context.selling_self and card.ability.extra.rounds_left <= hunter[5] then if context.selling_self and card.ability.extra.rounds_left <= hunter[3] then
spawn_rot() spawn_rot()
elseif not context.individual and not context.repetition and not context.retrigger_joker then elseif not context.individual and not context.repetition and not context.retrigger_joker then
if G.GAME.round_resets.hands <= 0 then if G.GAME.round_resets.hands <= 0 then
@ -469,7 +469,7 @@ function Card:set_debuff(should_debuff)
end end
local function attunement() local function attunement()
return (G.GAME or {}).weeckweeck and 2 or (Cryptid and 1.002 or 1.25) return (G.GAME or {}).weeckweeck and 2 or (Cryptid and 1.002 or 1.2)
end end
SMODS.Joker { SMODS.Joker {
@ -615,9 +615,9 @@ SMODS.Joker {
e_jane_moire = { e_jane_moire = {
colour = G.C.jane_RGB, colour = G.C.jane_RGB,
sound = "talisman_eeechip", sound = "talisman_eeechip",
EEchip_mod = Cryptid and attune or nil, [Cryptid and "EEchip_mod" or "Echip_mod"] = attune,
[Cryptid and "EEmult_mod" or "Emult_mod"] = attune, [Cryptid and "EEmult_mod" or "Emult_mod"] = attune,
message = (Cryptid and "^^" or "^") .. attune .. (Cryptid and " Chips & Mult" or ""), message = (Cryptid and "^^" or "^") .. attune .. " Chips & Mult",
}, },
})[Cryptid and "e_jane_moire" or ((context.other_card or context.other_joker or {}).edition or {}).key] })[Cryptid and "e_jane_moire" or ((context.other_card or context.other_joker or {}).edition or {}).key]
@ -703,9 +703,9 @@ SMODS.Joker {
loc_txt = { loc_txt = {
name = "The Rot", name = "The Rot",
text = { text = {
not Cryptid and "{C:inactive,E:1}Does nothing" or nil, "Clogs up your Joker slots",
Cryptid and "{C:attention}Duplicates itself{} at the" or nil, "{C:attention}Duplicates itself{} at the",
Cryptid and "end of {C:attention}every ante" or nil, "end of {C:attention}every ante",
}, },
}, },
pos = {x = 0, y = 0}, pos = {x = 0, y = 0},
@ -721,7 +721,7 @@ SMODS.Joker {
return not not next(SMODS.find_card("j_jane_rot")) return not not next(SMODS.find_card("j_jane_rot"))
end, end,
calculate = Cryptid and function(_, card, context) calculate = function(_, card, context)
local function has_room() local function has_room()
return G.jokers.config.card_count < G.jokers.config.card_limit return G.jokers.config.card_count < G.jokers.config.card_limit
end end
@ -743,5 +743,5 @@ SMODS.Joker {
else else
card.cloned = false card.cloned = false
end end
end or nil, end,
} }