Zum Hauptinhalt springen

Dungeon Affix

Dungeon Affix

A modifier of a generated dungeon, drawn by weight from the affixes of a generator: its name for the players, what it changes and what it fires.

Felder

FeldTypStandardBeschreibung
weightInt1Relative chance of the affix when the generator draws its affixes. 0 keeps it out of every draw.
Gemeinsame TypeWriter-Felder (displayName, modifiers, triggers)
FeldTypStandardBeschreibung
displayNameVar<String>—The name of the affix as the players read it. Placeholders are accepted.PlatzhalterFarben
modifiersList<Modifier>emptyModifiers applied to the players of the run when the affix is active.
triggersList<Ref<TriggerableEntry>>emptyTriggers fired for the players of the run when the affix becomes active.

How to use it​

An affix is a twist applied to a generated run, such as a modifier on the players. The generator draws affixCount affixes from its affixes list by weight (0 keeps one out), without repeating, following the seed but never changing the layout. When the run starts, the modifiers apply to each member and the triggers fire, and a line names the affix. Its triggers read RUN_ID, SEED and DIFFICULTY from the context. See Generated dungeons.