I'll put it here because I was about to copy the template anyway to explain what I needed to grab for this mod idea I have
`Take the following lua code and output a list of joker Descriptions in this format:
" {
name: "Joker",
text: [
"{C:mult}+4{} Mult"
],
// image_url: "img/j_joker.png",
rarity: "Common"
}"
This is the skeleton for the relevent parts of the code:
"-- SMODS.Joker:new(name, slug, config, spritePos, loc_txt, rarity, cost, unlocked, discovered, blueprint_compat, eternal_compat, effect, atlas, soul_pos)
local j_example = SMODS.Joker:new('Example Joker', 'example', { mult = 10 }, {x=0,y=0}, {
name = 'Example Joker',
text = { '{C:red}+#1#{} Mult' }
}, 1, 2, true, false, true, true, 'Mult', 'my_mod_jokers')
j_example:register()"
The rarities are 1-4 for common, uncommon, rare, and legendary
The numbers in #these# are indexes to be replaced by the corresoponding value in the config table for each joker
Here is the code, disregard the functions:
`