-
Notifications
You must be signed in to change notification settings - Fork 84
02. Migration guide
english5040 edited this page Jun 27, 2024
·
2 revisions
This guide lists general differences between version 0.9.8 and version 1.0.0+. It's not an exhaustive list; please refer to API documentation for more detailed information.
0.9.8- | 1.0.0+ |
---|---|
SMODS.INIT |
Removed. Move all code inside SMODS.INIT to top-level scope |
SMODS.Deck |
SMODS.Back |
SMODS.Sprite |
SMODS.Atlas |
SMODS.Tarot, SMODS.Planet, SMODS.Spectral |
SMODS.Consumable |
slug |
key |
SMODS.Joker:new(name, slug, ...):register() |
SMODS.Joker { key = 'key', name = 'Name', ... } |
SMODS.findModByID('id') |
SMODS.current_mod (available during load) / SMODS.Mods['id']
|
loc_def() |
loc_vars() - overhauled and more consistent interface |
G.localization.descriptions.Foo.bar = baz |
function SMODS.current_mod.process_loc_text() |
Game Objects
- API Documentation
- SMODS.Achievement
- SMODS.Atlas
- SMODS.Blind
- SMODS.Center
- SMODS.Challenge
- SMODS.DeckSkin
- 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
- 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.