Skip to content

Class "History"⚓︎

Info

You can get this class by using the following functions:

Example Code
1
local history = Isaac.GetPlayer(0):GetHistory()

Functions⚓︎

GetCollectiblesHistory ()⚓︎

HistoryItems[] GetCollectiblesHistory ( )⚓︎

Returns table of HistoryItems for the player's collectibles AND smelted trinkets.


RemoveHistoryItemByIndex ()⚓︎

boolean RemoveHistoryItemByIndex ( int Index )⚓︎

Removes an item from the item history tracker on the right-hand side of the screen. Note that this does not remove the item effect from the player.

Returns true if an item was removed, false if not.


SearchCollectibles ()⚓︎

HistoryItems[] SearchCollectibles ( CollectibleType[] IDs = nil )⚓︎

Returns only HistoryItems for the provided CollectibleType(s). A single ID may be passed in place of a table.

If no collectibles are specified, returns all collectibles (no smelted trinkets included).


SearchTrinkets ()⚓︎

HistoryItems[] SearchTrinkets ( TrinketType[] = nil )⚓︎

Returns only HistoryItems for the provided (smelted) TrinketType(s). A single ID may be passed in place of a table.

If no trinkets are specified, returns all smelted trinkets (no collectibles included).