Add art
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 8.3 KiB |
BIN
assets/1x/sleeve.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 72 KiB After Width: | Height: | Size: 72 KiB |
|
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 1 KiB |
BIN
assets/2x/sleeve.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 611 B After Width: | Height: | Size: 611 B |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
|
|
@ -6,7 +6,7 @@
|
|||
"author": [
|
||||
"Emik"
|
||||
],
|
||||
"version": "2.6.2",
|
||||
"version": "2.6.3",
|
||||
"badge_colour": "8BE9FD",
|
||||
"main_file": "src/main.lua",
|
||||
"badge_text_colour": "44475A",
|
||||
|
|
|
|||
27
src/back.lua
|
|
@ -33,17 +33,21 @@ local back = (function()
|
|||
end
|
||||
|
||||
local sleeve = (_G["CardSleeves"] or {}).Sleeve
|
||||
SMODS.Back(tbl)
|
||||
local b = SMODS.Back(tbl)
|
||||
x = x + 1
|
||||
|
||||
q(function()
|
||||
Bakery_API.credit(b)
|
||||
end)
|
||||
|
||||
if not sleeve then
|
||||
return
|
||||
return b
|
||||
end
|
||||
|
||||
sleeve {
|
||||
local s = sleeve {
|
||||
key = key,
|
||||
pos = tbl.pos,
|
||||
atlas = "back",
|
||||
atlas = "sleeve",
|
||||
config = tbl.config and f(tbl.config):table() or nil,
|
||||
loc_vars = function(self, ...)
|
||||
local ret = tbl.loc_vars and tbl.loc_vars(self, ...) or {}
|
||||
|
|
@ -60,6 +64,12 @@ local back = (function()
|
|||
return self.get_current_deck_key() == "b_Roland_" .. key
|
||||
end,
|
||||
}
|
||||
|
||||
q(function()
|
||||
Bakery_API.credit(s)
|
||||
end)
|
||||
|
||||
return b
|
||||
end
|
||||
end)()
|
||||
|
||||
|
|
@ -70,9 +80,17 @@ SMODS.Atlas {
|
|||
py = 95,
|
||||
}
|
||||
|
||||
local _ = _G["CardSleeves"] and SMODS.Atlas {
|
||||
key = "sleeve",
|
||||
path = "sleeve.png",
|
||||
px = 73,
|
||||
py = 95,
|
||||
}
|
||||
|
||||
back {
|
||||
key = "blossom",
|
||||
pronouns = "any_all",
|
||||
artist = "Roland_bakersdozenbagels",
|
||||
config = {extra = {alt_times = 8, times = 2}},
|
||||
attributes = {"boss_blind"},
|
||||
loc_vars = function(self, _, _)
|
||||
|
|
@ -114,6 +132,7 @@ back {
|
|||
back {
|
||||
key = "swapper",
|
||||
pronouns = "he_him",
|
||||
artist = "Roland_bakersdozenbagels",
|
||||
attributes = {"spectral", "tarot"},
|
||||
apply = function(self)
|
||||
local modifiers = G.GAME.modifiers
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ if _G["Balatest"] then
|
|||
end
|
||||
|
||||
q(function()
|
||||
-- Special shoutout to all contributors. <3
|
||||
---@type table<string, {name: string, fg: table, bg: table}>
|
||||
local contributors, mods = Bakery_API.contributors, SMODS.Mods
|
||||
|
||||
|
|
@ -22,6 +23,12 @@ q(function()
|
|||
bg = HEX "bd93f9ff",
|
||||
}
|
||||
|
||||
contributors.Roland_bakersdozenbagels = {
|
||||
name = "BakersDozenBagels",
|
||||
fg = HEX "362708",
|
||||
bg = HEX "EDD198",
|
||||
}
|
||||
|
||||
contributors.Roland_char = {
|
||||
name = "char (@irregulester)",
|
||||
fg = HEX "f8f8f2ff",
|
||||
|
|
|
|||