Asset Lookup Table

From Ardenfall Wiki
Jump to navigation Jump to search

The Asset Lookup Table is a key value store that holds many common pieces of data (Scriptable Objects) for the game to access at any time.

This includes all items, all character data assets, all dialog/quest datas, and more.

Note that NOT all data can be found in the lookup table. If you ever want some data to be included, ask us in the Discord. If it's reasonable, it may be able to be added in a future update.

Internally it is used for any dataset that is referenced in a save file, but for you, it's a treasure trove of data to dig through.

Asset IDs

For any built in asset, the IDs are in a format tied to unity's asset system.

You can use the LookupTable Searcher tool to find an item's ID, or you can use the LookupTable Dump button to dump all ids into a file you can read.


For custom assets, you can technically use any ID you want - however, I advise having it in the format of yourmod.itemid. For example: CoolCustomWeaponMod.GoldenSwordOfDoom. This ensures another mod that happens to also have a golden sword of doom doesn't clash with yours

API

TODO