- Denizen Version
- 5602-dev+
This script lets you replace placeholder items in world inventories with random items from loot tables.
These loot tables can have weight to make certain options more likely by giving them higher values.
placeholder items can be generated with a command, /rl (loot_table_name) or by setting the loottable flag to the loot table name on a randomloot_placeholder item.
The randomisation is done by calling determine_loot with the location of the inventory as a definition
These loot tables can have weight to make certain options more likely by giving them higher values.
placeholder items can be generated with a command, /rl (loot_table_name) or by setting the loottable flag to the loot table name on a randomloot_placeholder item.
The randomisation is done by calling determine_loot with the location of the inventory as a definition