Skip to content

Table Creation Prerelease 1

Pre-release
Pre-release
Compare
Choose a tag to compare
@Daomephsta Daomephsta released this 16 Apr 05:32

This release is for testing LootTables.newTable().
newTable works the same as getTable, except that it creates a new table instead of retrieving an existing table.
newTable takes the same parameters as getTable and returns the same type.
Tables created with newTable can be retrieved with getTable.
However, tables created with newTable cannot be dumped by /ct loottables byName or /ct loottables all at this time. If you want to view the JSON form, load a save, then check its data/loot_tables folder.