Class "LootList"⚓︎
Constructors⚓︎
LootList ()⚓︎
LootList LootList ( )⚓︎
Functions⚓︎
GetEntries ()⚓︎
LootListEntry[] GetEntries ( )⚓︎
Returns a table of LootListEntries contained in the LootList
.
PushEntry ()⚓︎
void PushEntry ( EntityType Type, int Variant, int SubType, int Seed = Random(), RNG RNG = nil )⚓︎
Creates and pushes a LootListEntry into the LootList
.
While usually reserved for chests and sacks that give pickups like hearts, bombs, etc, every EntityPickup
has a LootList
and you can push any type, variant, and subtype as a LootListEntry.
Example Code
This code makes all regular chests contain the best boss in the entire game. As a bonus, use Guppy's Eye for a horrifying image.
1 2 3 4 5 6 7 8 9 |
|