Segment
A segment is a section of a dungeon defined in its zone.
Usage
Each segment contains its own separate generation parameters. This is most commonly used for secret paths of a dungeon, as well as "deeper" parts as seen in the official games. They also contain at least one floor inside of them.
Types
Segments can be of the following types.
Layered Segment
The segment consists of different separate floors, each with their own generation parameters. The floors count up numerically.
Dictionary Segment
Floors are distinguished using numbers set as keys rather than counting up. There may be gaps in floor numbers. Floor entrances need to account for these gaps properly, or an error will be thrown.
Range Dict Segment
Multiple floors are mapped to the same map generator. This allows you to set the same floor to the same defined range. When players enter, they will be given a floor corresponding to the number. Entrances must account for being out of range, or an error will be thrown.
USE WARNING: The editor currently has a particular quirk that means if the start and end range of floors ever overlaps, the floors that aren't being edited will be deleted without warning. When using this method of construction, it is strongly recommended to back up each floor in a Layered Segment to avoid data loss.
Singular Segment
The segment consists of only one single floor.
Defining a Segment
Segments consist of their floors and the zone steps that are used by that segment to influence its floors. They may also be checked with "Is Relevant" if their floor amount should contribute to the total amount of floors in the dungeon when the engine is counting.
