Class "ItemPool"⚓︎
Info
You can get this class by using the following function:
Example Code
Game():GetItemPool()
Functions⚓︎
Add·Bible·Upgrade ()⚓︎
void AddBibleUpgrade ( int Add, ItemPoolType PoolType )⚓︎
Add·Room·Blacklist ()⚓︎
void AddRoomBlacklist ( CollectibleType Item )⚓︎
Adds a given item to the blacklist. This item can no longer be chosen from itempools while the player is inside the current room. This effectively prevents the item from appearing.
When the player changes the room, the Blacklist gets reset.
Force·Add·Pill·Effect ()⚓︎
PillColor ForceAddPillEffect ( PillEffect ID )⚓︎
Forces a pill effect to be in the pool, usually for challenges, returns PillColor for that effect.
Get·Card ()⚓︎
Card GetCard ( int Seed, boolean Playing, boolean Rune, boolean OnlyRunes )⚓︎
Get·Collectible ()⚓︎
CollectibleType GetCollectible ( ItemPoolType PoolType, boolean Decrease = false, int Seed = Random(), CollectibleType DefaultItem = CollectibleType.COLLECTIBLE_NULL )⚓︎
Get·Last·Pool ()⚓︎
ItemPoolType GetLastPool ( )⚓︎
Get·Pill ()⚓︎
PillColor GetPill ( int Seed )⚓︎
Get·Pill·Effect ()⚓︎
PillEffect GetPillEffect ( PillColor PillColor, EntityPlayer Player = nil )⚓︎
Get·Pool·For·Room ()⚓︎
ItemPoolType GetPoolForRoom ( RoomType RoomType, int Seed )⚓︎
Get·Trinket ()⚓︎
TrinketType GetTrinket ( boolean DontAdvanceRNG = false )⚓︎
Identify·Pill ()⚓︎
void IdentifyPill ( PillColor PillColor )⚓︎
Is·Pill·Identified ()⚓︎
boolean IsPillIdentified ( PillColor PillColor )⚓︎
Once the player takes PHD, Virgo, or False PHD, this method will always return true, even if the player has not already seen or used the pill on the run thus far. (This is because this method dictates when the "???" text should be shown as the pill description, and these collectibles will always show the "revealed" text.)
Remove·Collectible ()⚓︎
boolean RemoveCollectible ( CollectibleType Collectible )⚓︎
Removes a collectible from the itempool. Returns true if given item did exist in the pool before.
Remove·Trinket ()⚓︎
boolean RemoveTrinket ( TrinketType Trinket )⚓︎
Reset·Room·Blacklist ()⚓︎
void ResetRoomBlacklist ( )⚓︎
Clears the current item black list.
When the player changes the room, this function gets called automatically.