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() |