mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-04-20 16:47:50 +01:00
small change to teleporting hijinks dialogue
This commit is contained in:
parent
3e25ad2aa4
commit
13e7f79079
@ -25,6 +25,7 @@ const namespace = "mysteryEncounter:teleportingHijinks";
|
|||||||
|
|
||||||
const MONEY_COST_MULTIPLIER = 2.5;
|
const MONEY_COST_MULTIPLIER = 2.5;
|
||||||
const BIOME_CANDIDATES = [Biome.SPACE, Biome.FAIRY_CAVE, Biome.LABORATORY, Biome.ISLAND];
|
const BIOME_CANDIDATES = [Biome.SPACE, Biome.FAIRY_CAVE, Biome.LABORATORY, Biome.ISLAND];
|
||||||
|
const MACHINE_INTERFACING_TYPES = [Type.ELECTRIC, Type.FLYING];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Teleporting Hijinks encounter.
|
* Teleporting Hijinks encounter.
|
||||||
@ -92,7 +93,7 @@ export const TeleportingHijinksEncounter: MysteryEncounter =
|
|||||||
.withOption(
|
.withOption(
|
||||||
MysteryEncounterOptionBuilder
|
MysteryEncounterOptionBuilder
|
||||||
.newOptionWithMode(MysteryEncounterOptionMode.DISABLED_OR_SPECIAL)
|
.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({
|
.withDialogue({
|
||||||
buttonLabel: `${namespace}.option.2.label`,
|
buttonLabel: `${namespace}.option.2.label`,
|
||||||
buttonTooltip: `${namespace}.option.2.tooltip`,
|
buttonTooltip: `${namespace}.option.2.tooltip`,
|
||||||
|
@ -13,7 +13,7 @@ export const teleportingHijinksDialogue = {
|
|||||||
label: "A Pokémon Helps",
|
label: "A Pokémon Helps",
|
||||||
tooltip: "(-) {{option2PrimaryName}} Helps\n(+) {{option2PrimaryName}} gains EXP\n(?) Teleport to New Biome",
|
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",
|
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...`
|
$The capsule opens, and you step inside...`
|
||||||
},
|
},
|
||||||
3: {
|
3: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user