-
Notifications
You must be signed in to change notification settings - Fork 1
Lua Module Documentation
Ben Ballard edited this page Nov 28, 2021
·
3 revisions
-
battle_handler
: contains functions relating to the BattleHandler.-
start_battle(String[Table])
: begins a battle using the specified enemies using their namespaced ids.
-
-
localization
: contains functions relating to localization.-
get_string(String)
: returns a localized string of the given key. -
add_string(String key, String value)
: adds a new localization string. Returns true if success, false if StringAlreadyDefinedExcpetion is thrown.
-
-
item_management
: contains function relating to item management. -
json
: contains function relating to json files.-
load(String)
: loads a JSON file from the given path. Returns the id (namespace + ":" + id) of the object.
-