Skip to content

File "pocketitems.xml"⚓︎

Resource-Folder: Using this file in a resource folder of a mod will replace the original file.

Content-Folder: Using this file in a content folder will add new pocketitems.

Cards⚓︎

With REPENTOGON, the following xml attributes have been added for cards:

Variable-Name Possible Values Description
hidden bool Optional Default = false
Prevents the card from being randomly chosen by the game or when using the ItemPool:GetCard() and ItemPool:GetCardEx() functions.
weight float Optional Default = 1.0
Relative "likelihood" for this card to be chosen over others of the same card type pool.
Does not alter the chance for the specific card type pool to be chosen.

Cards & Pill Effects⚓︎

With REPENTOGON, the following xml attributes have changed functionality for regular cards and pills:

Variable-Name Possible Values Description
achievement int or string Ties the card/pill-effect to be unlocked by an achievement. For modded ones, use the provided achievement name xml attribute(define one if it doesn't have one already).
More Info

For more information about this xml, check the original docs entry here.