#The Indigo Deck - one girl's silly little mod
1 messages · Page 1 of 1 (latest)
And to start for that themes thing,
Everything needs to be costed and balanced exactly later, but
Wheel of Fortune subtheme, both to improve it, and benefit from its weakness
Ooh, really?
Damn
:(
Alrighty, will scrap that one
Also did these, a bit before, for a cycle of "Gains X.05 per played [Suit]", so
Will start with these since they should be easy enough
`-- Light Glyph
SMODS.Joker {
key = 'lightglyph',
loc_txt = {
name = 'Light Glyph',
text = {
"Gains {X:mult,C:white} X#1# {} Mult",
"for each scored Diamond.",
"{C:inactive}(Currently {X:mult,C:white} X#1# {} Mult)"
}
},
config = { extra = { Xmult = 3, Xmult_gain = .05 } },
rarity = 2,
atlas = 'ModdedVanilla',
pos = { x = 1, y = 0 },
cost = 5,
loc_vars = function(self, info_queue, card)
return { vars = { card.ability.extra.xmult, card.ability.extra.xmult_gain } }
end,
calculate = function(self, card, context)
if
context.cardarea and
not context.other_card.debuff and
context.other_card:is_suit("Diamonds") and
not context.blueprint
return {
chip_mod = card.ability.extra.xmult,
message = localize { type = 'variable', key = 'a_xmult', vars = { card.ability.extra.xmult } }
}
end
if context.before and not context.blueprint then
-- Updated variable is equal to current variable, plus the amount of chips in chip gain.
-- 15 = 0+15, 30 = 15+15, 75 = 60+15.
card.ability.extra.xmult = card.ability.extra.xmult + card.ability.extra.xmult_gain
return {
message = 'Upgraded!',
colour = G.C.CHIPS,
-- The return value, "card", is set to the variable "card", which is the joker.
-- Basically, this tells the return value what it's affecting, which if it's the joker itself, it's usually card.
-- It can be things like card = context.other_card in some cases, so specifying card (return value) = card (variable from function) is required.
card = card
}
end
end
}`
Very worried I didn't program this right,
Gonna do a cursory check but
Any good tools to helping ensure I get a specific Joker?
lmao okay so
Not quite there haha
Welp, closer
Crashed. About expected.
inconsistent capitalization
also please bring issues like this to #💻・modding-dev, makes it much easier to respond
So, I'm finally back to work on this,
Decided I'd break it up into chunks.
Little themes packages of effect
That sorta idea, little themes.
That way, it can be sorta
The pillars.
But to start things off,
*time to finally crack these stupid Uncommon Glyph
Spectral Cards like having downsides, how's the effect
Create a random eternal rental Joker.
Worry its too much downside
literally just judgement but worse
Gonna start with my focus on the Wheel of Fortune stuff
Gonna probably release each 'theme' as a more one-off sorta deal, with Indigo Deck being the whole pack of things I make
Because that's easier to swallow and process
Made a Wheel of Misfortune concept too, removes editions and enhancements from a selected card.