-
Notifications
You must be signed in to change notification settings - Fork 90
SMODS.DeckSkin
Casimir Eisenach edited this page Dec 26, 2024
·
3 revisions
This API extends the game's Friends of Jimbo collabs screen to create new deck skins for all suits, including modded ones.
-
-
Required parameters:
key
-
suit
: The suit this skin applies to. -
ranks
: A list of ranks the skin provides sprites for. -
lc_atlas
: Atlas for the low-contrast version.
-
Required parameters:
-
Optional parameters (defaults):
-
loc_txt
, string base value -
posStyle = 'deck'
: Determines how to access sprite positions.-
'deck'
: Use thepos
table of the playing card. -
'suit'
:y
position is always zero,x
position is taken from the card'spos
. -
'collab'
: Use the base game'sG.COLLABS.pos
-
-
hc_atlas
: Atlas for the high-contrast version. Defaults tolc_atlas
.
-
Game Objects
- API Documentation
- SMODS.Achievement
- SMODS.Atlas
- SMODS.Blind
- SMODS.Center
- SMODS.Challenge
- SMODS.DeckSkin
- SMODS.DrawStep
- SMODS.Gradient
- SMODS.https
- SMODS.Keybind
- SMODS.Language
- SMODS.ObjectType
- SMODS.PokerHand
- SMODS.Rarity
- SMODS.Seal
- SMODS.Sound
- SMODS.Stake
- SMODS.Sticker
- SMODS.Suit and SMODS.Rank
- SMODS.Tag
Guides
- Your First Mod
- Mod Metadata
- Calculate Functions
- Perma-bonuses
- Logging
- Event Manager
- Localization
- Mod functions
- UI Structure
- Utility Functions
Found an issue, or want to add something? Submit a PR to the Wiki repo.