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