Custom Challenges

Introduction

 * Custom Challenges are player-made challenges that can be accessed by pressing TAB in the in-game Challenges menu.
 * These challenges can be defined in a  file placed in a mod's   folder.
 * An example of such a folder is.

General Format

 * The  file uses   elements placed in a root   element.
 * Here's a general template that can be used in order to create custom challenges:

 


 * Multiple  elements can be added, each one a new line.
 * Each challenge is defined by using a set of attributes between the  tags that control the game's mechanics, such as starting items, trinkets, cards, pills, end stage, amount of heart containers, curses, rooms that will be spawned, etc.

Attributes

 * This is the full set of attributes that can be used to define the custom challenge rules.

Characters
A list of character IDs, for use with the  attribute.

End Stage
A list of stage IDs, which correspond to various chapters, for use with the  attribute.

This attribute sets the final stage of the challenge. This is where the trophy will spawn, after the floor boss is defeated. The trophy will also spawn on any next floor in case the player manages to continue.

Room Filters
A list of room IDs, for use with the  attribute.

This attribute sets a list of rooms IDs, separated by commas, which should not be generated.

For example, to disable both Treasure Rooms and Shops, use

Curses ( & )
A list of curse bitmasks, for use with the  and   attributes.

Unlike other attributes which accept a comma-separated list, the two curse attributes accept a single number, which is the combined total of all applicable curses.

For example, to apply Curse of the Labyrinth and Curse of the Maze, the attribute value would be   (which is 32 + 2).