small change to teleporting hijinks dialogue

This commit is contained in:
ImperialSympathizer 2024-08-23 17:22:22 -04:00
parent 3e25ad2aa4
commit 13e7f79079
2 changed files with 3 additions and 2 deletions

View File

@ -25,6 +25,7 @@ const namespace = "mysteryEncounter:teleportingHijinks";
const MONEY_COST_MULTIPLIER = 2.5;
const BIOME_CANDIDATES = [Biome.SPACE, Biome.FAIRY_CAVE, Biome.LABORATORY, Biome.ISLAND];
const MACHINE_INTERFACING_TYPES = [Type.ELECTRIC, Type.FLYING];
/**
* Teleporting Hijinks encounter.
@ -92,7 +93,7 @@ export const TeleportingHijinksEncounter: MysteryEncounter =
.withOption(
MysteryEncounterOptionBuilder
.newOptionWithMode(MysteryEncounterOptionMode.DISABLED_OR_SPECIAL)
.withPokemonTypeRequirement([Type.ELECTRIC, Type.STEEL], true, 1) // Must have Steel or Electric type
.withPokemonTypeRequirement(MACHINE_INTERFACING_TYPES, true, 1) // Must have Steel or Electric type
.withDialogue({
buttonLabel: `${namespace}.option.2.label`,
buttonTooltip: `${namespace}.option.2.tooltip`,

View File

@ -13,7 +13,7 @@ export const teleportingHijinksDialogue = {
label: "A Pokémon Helps",
tooltip: "(-) {{option2PrimaryName}} Helps\n(+) {{option2PrimaryName}} gains EXP\n(?) Teleport to New Biome",
disabled_tooltip: "You need a Steel or Electric Type Pokémon to choose this",
selected: `{{option2PrimaryName}} uses its typing and overloads the machine!
selected: `{{option2PrimaryName}}'s Type allows it to bypass the machine's paywall!
$The capsule opens, and you step inside...`
},
3: {