Aller au contenu principal

Explore Biome Objective

Objective completed by discovering one or more biomes

A quest objective completed by visiting biomes. It reads the same discovery record the tracker fills in, so "go find the corrupted forest" needs no trigger wiring: walking into the biome is the completion condition. The check runs when the player crosses into a biome, never on every step (see [ExploreBiomeListener]), and fires [triggers] while the objective is active for them.

Champs

ChampTypePar défautDescription
questRef<QuestEntry>——
displayVar<String>Explore the biomeThe name to display to the player.PlaceholdersCouleurs
biomesList<String>emptyBiomes the player has to discover (e.g., 'typewriter:corrupted_forest')
requireAllBooleanfalseRequire every listed biome instead of any single one
Champs TypeWriter communs (children, criteria, priorityOverride, triggers)
ChampTypePar défautDescription
childrenList<Ref<out AudienceEntry>>empty—
criteriaList<Criteria>empty—
priorityOverrideOptional<Int>——
triggersList<Ref<TriggerableEntry>>emptyEntries fired for the player when they enter one of the listed biomes and the objective is complete, for example an action that sets the fact advancing the quest. They fire again on each later entry while the objective stays active, so make them move the quest on.

How to use it​

When a player enters one of the biomes, the objective is checked: any listed biome, or all of them with requireAll. If it is complete and active for the player, triggers run (for example an action that sets the fact advancing the quest); they run again on each later entry while the objective stays active. The objective records discovery itself, so no Enter Biome Event is needed.

The check is made by a listener the extension registers only when at least one Explore Biome Objective exists: reload the extension after adding the first one. Biome identifiers that do not resolve on the server are ignored.

Biome discovery is recorded for each player as they cross into a new biome, and saved in plugins/Typewriter/custombiome/discovery/.