Something went wrong. Try again.
A Joker mod for the game Balatro balatro.aiz.moe
balatro mod
Something went wrong. Try again.
balatro-mod main.lua
1.9 kB · 83 lines
Lua
at main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384-- Global table for mod utilsAiz = {}local current_mod = SMODS.current_modlocal mod_path = SMODS.current_mod.path
-- contains filenames of modules that can be enabled disabledlocal modules = { jokers = { "chill_joker", "loudspeaker", "easy_mode", "blåhaj", "antibubzia", "hand_size", "tetris", "penny", "trollker", "chess_pawn", "chess_knight", "chess_bishop", "chess_rook", "chess_queen", "chess_king", "jay_z", "randomizer", "tinkerer", "skipper", "banana_farm", "kiki_bouba", "slightly_cooler_joker", "ultimate_unknown", "ultimate_gamer", "battle_pass", "chess_pawn_storm", "schmeven", "factory_triangle_maker", },}
SMODS.Atlas({ key = "jokers", path = "jokers.png", px = 71, py = 95,})SMODS.Atlas({ key = "jokers_soul", path = "jokers_soul.png", px = 71, py = 95,})
SMODS.ObjectType({ key = "aiz_chess_promotion_joker", rarities = { { key = "Uncommon", rate = 0.7 }, { key = "Rare", rate = 0.2 }, { key = "Legendary", rate = 0.1 }, },})
-- load utilsassert(SMODS.load_file("utils.lua"))()assert(SMODS.load_file("configuration.lua"))()
-- load all enabled jokers-- only explicitly disabled jokers are disabled-- jokers not listed are still enabledfor _, joker in ipairs(modules.jokers) do local enabled = Aiz.config.jokers[joker] == nil or Aiz.config.jokers[joker] if enabled then assert(SMODS.load_file("jokers/" .. joker .. ".lua"))() endend
-- Challenge-- Since its only one right now i keep it hereSMODS.Challenge({ key = "aiz_penny", jokers = { { id = "j_aiz_penny", eternal = true }, },})