Add dedicated sleeve sprites
This commit is contained in:
parent
0b6aa8afbb
commit
1c592f3878
4 changed files with 9 additions and 2 deletions
BIN
assets/1x/default/sleeve_jane_sleeves.png
Normal file
BIN
assets/1x/default/sleeve_jane_sleeves.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 46 KiB |
BIN
assets/2x/default/sleeve_jane_sleeves.png
Normal file
BIN
assets/2x/default/sleeve_jane_sleeves.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 50 KiB |
|
|
@ -17,5 +17,5 @@
|
||||||
"conflicts": [
|
"conflicts": [
|
||||||
"Jen"
|
"Jen"
|
||||||
],
|
],
|
||||||
"version": "1.5.1"
|
"version": "1.5.2"
|
||||||
}
|
}
|
||||||
|
|
@ -5,6 +5,13 @@ SMODS.Atlas {
|
||||||
path = Jane.config.texture_pack .. "/b_jane_decks.png",
|
path = Jane.config.texture_pack .. "/b_jane_decks.png",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SMODS.Atlas {
|
||||||
|
px = 73,
|
||||||
|
py = 95,
|
||||||
|
key = "janesleeves",
|
||||||
|
path = Jane.config.texture_pack .. "/sleeve_jane_sleeves.png",
|
||||||
|
}
|
||||||
|
|
||||||
local function back(x)
|
local function back(x)
|
||||||
local key = x.key
|
local key = x.key
|
||||||
local apply = x.apply
|
local apply = x.apply
|
||||||
|
|
@ -40,7 +47,7 @@ local function back(x)
|
||||||
CardSleeves.Sleeve {
|
CardSleeves.Sleeve {
|
||||||
key = key,
|
key = key,
|
||||||
pos = x.pos,
|
pos = x.pos,
|
||||||
atlas = "janedecks",
|
atlas = "janesleeves",
|
||||||
loc_txt = {name = name, text = text},
|
loc_txt = {name = name, text = text},
|
||||||
apply = function(self, ...)
|
apply = function(self, ...)
|
||||||
-- Game becomes genuinely unplayable if this is allowed.
|
-- Game becomes genuinely unplayable if this is allowed.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue