Skip to main content

4 docs tagged with "random"

View all tags

Chest Random Good

Generates a randomized selection of high-value loot items for a chest, applying special initialization to certain items with finite uses or fuel.

Chestfunctions

Provides utility functions for spawning loot in containers and managing chest trap behaviors with randomization and event handling.

Packloot Nightmare

Assigns loot items to a chest entity when it is created, selecting from a fixed base set and one of two randomized chance-based sets.

Weighted List

Implements a weighted random selection data structure for choosing items based on assigned weights.