Functions for managing the asset system.
With this module it is possible to reload built-in assets like textures and music.
local Data = ELONA.require("core.Data")
reload_assets () | Reloads the UI assets defined in the core.asset table. |
reload_charas () | Reloads the UI assets defined in the core.chara table. |
get (prototype_id, data_id) | Get the data for the prototype ID and the data ID. |
get_table (prototype_id) | Get the data table for the prototype ID. |
get_id_by_integer (prototype_id, integer_data_id) | Get new ID by integer ID. |
Reloads the UI assets defined in the core.asset
table.
Call this
if you want changes to the core.asset
table to be visible.
Reloads the UI assets defined in the core.chara
table.
Call this
if you want changes to the core.chara
table to be visible.
Get the data for the prototype ID and the data ID.
Parameters:
Get the data table for the prototype ID.
Parameters:
Get new ID by integer ID.
Parameters: