Dwarf Fortress

Dwarf Fortress

Not enough ratings
Runtime Dataminer (Lua)
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
151.626 KB
3 Jun @ 7:48pm
1 Change Note ( view )

Subscribe to download
Runtime Dataminer (Lua)

Description
Prints the structure of data passed from DF to the first-party Lua runtime, to use as a reference when making scripts.

Currently, world, random_object_parameters, and raws are the only tables passed from the C++ runtime to Lua.
Before you get any neat ideas, no, the only way to affect C++ memory is through the functions in raws.

Edit the script in /data/installed_mods/ to log different tables. Includes specialized functions for understanding all raw definitions of a given type.

Do note that headers may not match those used by DFHack[github.com].
Popular Discussions View All (2)
0
3 Jun @ 8:01pm
PINNED: Sample output: random_object_parameters (Ropar)
DPh Kraken
0
3 Jun @ 8:00pm
PINNED: Sample output: world.param
DPh Kraken