Commented out logs

This commit is contained in:
Wlowscha 2025-01-19 14:48:56 +01:00
parent acc3c85765
commit 3b032d230e
No known key found for this signature in database
GPG Key ID: 3C8F1AD330565D04

View File

@ -138,7 +138,7 @@ export class GenderEvolutionCondition extends SpeciesEvolutionCondition {
super(p => p.gender === gender, p => p.gender = gender); super(p => p.gender === gender, p => p.gender = gender);
this.gender = gender; this.gender = gender;
this.description = i18next.t("pokemonEvolutions:gender", { gender: i18next.t(`pokemonEvolutions:${Gender[gender]}`) }); this.description = i18next.t("pokemonEvolutions:gender", { gender: i18next.t(`pokemonEvolutions:${Gender[gender]}`) });
console.log("Description:", this.description); // console.log("Description:", this.description);
} }
} }
@ -156,7 +156,7 @@ export class TimeOfDayEvolutionCondition extends SpeciesEvolutionCondition {
this.timesOfDay = []; this.timesOfDay = [];
} }
this.description = i18next.t("pokemonEvolutions:timeOfDay", { tod: i18next.t(`pokemonEvolutions:${tod}`) }); this.description = i18next.t("pokemonEvolutions:timeOfDay", { tod: i18next.t(`pokemonEvolutions:${tod}`) });
console.log("Description:", this.description); // console.log("Description:", this.description);
} }
} }
@ -167,7 +167,7 @@ export class MoveEvolutionCondition extends SpeciesEvolutionCondition {
this.move = move; this.move = move;
const moveKey = Moves[this.move].split("_").filter(f => f).map((f, i) => i ? `${f[0]}${f.slice(1).toLowerCase()}` : f.toLowerCase()).join("") as unknown as string; const moveKey = Moves[this.move].split("_").filter(f => f).map((f, i) => i ? `${f[0]}${f.slice(1).toLowerCase()}` : f.toLowerCase()).join("") as unknown as string;
this.description = i18next.t("pokemonEvolutions:move", { move: i18next.t(`move:${moveKey}.name`) }); this.description = i18next.t("pokemonEvolutions:move", { move: i18next.t(`move:${moveKey}.name`) });
console.log("Description:", this.description); // console.log("Description:", this.description);
} }
} }
@ -177,7 +177,7 @@ export class FriendshipEvolutionCondition extends SpeciesEvolutionCondition {
super(p => p.friendship >= amount); super(p => p.friendship >= amount);
this.amount = amount; this.amount = amount;
this.description = i18next.t("pokemonEvolutions:friendship"); this.description = i18next.t("pokemonEvolutions:friendship");
console.log("Description:", this.description); // console.log("Description:", this.description);
} }
} }
@ -197,7 +197,7 @@ export class FriendshipTimeOfDayEvolutionCondition extends SpeciesEvolutionCondi
} }
this.amount = amount; this.amount = amount;
this.description = i18next.t("pokemonEvolutions:friendshipTimeOfDay", { tod: i18next.t(`pokemonEvolutions:${tod}`) }); this.description = i18next.t("pokemonEvolutions:friendshipTimeOfDay", { tod: i18next.t(`pokemonEvolutions:${tod}`) });
console.log("Description:", this.description); // console.log("Description:", this.description);
} }
} }
@ -209,7 +209,7 @@ export class FriendshipMoveTypeEvolutionCondition extends SpeciesEvolutionCondit
this.amount = amount; this.amount = amount;
this.type = type; this.type = type;
this.description = i18next.t("pokemonEvolutions:friendshipMoveType", { type: i18next.t(`pokemonInfo:Type.${Type[this.type]}`) }); this.description = i18next.t("pokemonEvolutions:friendshipMoveType", { type: i18next.t(`pokemonInfo:Type.${Type[this.type]}`) });
console.log("Description:", this.description); // console.log("Description:", this.description);
} }
} }
@ -217,7 +217,7 @@ export class ShedinjaEvolutionCondition extends SpeciesEvolutionCondition {
constructor() { constructor() {
super(p => globalScene.getPlayerParty().length < 6 && globalScene.pokeballCounts[PokeballType.POKEBALL] > 0); super(p => globalScene.getPlayerParty().length < 6 && globalScene.pokeballCounts[PokeballType.POKEBALL] > 0);
this.description = i18next.t("pokemonEvolutions:shedinja"); this.description = i18next.t("pokemonEvolutions:shedinja");
console.log("Description:", this.description); // console.log("Description:", this.description);
} }
} }
@ -227,7 +227,7 @@ export class PartyTypeEvolutionCondition extends SpeciesEvolutionCondition {
super(p => !!globalScene.getPlayerParty().find(p => p.getTypes(false, false, true).indexOf(type) > -1)); super(p => !!globalScene.getPlayerParty().find(p => p.getTypes(false, false, true).indexOf(type) > -1));
this.type = type; this.type = type;
this.description = i18next.t("pokemonEvolutions:partyType", { type: i18next.t(`pokemonInfo:Type.${Type[this.type]}`) }); this.description = i18next.t("pokemonEvolutions:partyType", { type: i18next.t(`pokemonInfo:Type.${Type[this.type]}`) });
console.log("Description:", this.description); // console.log("Description:", this.description);
} }
} }
@ -237,7 +237,7 @@ export class CaughtEvolutionCondition extends SpeciesEvolutionCondition {
super(p => !!globalScene.gameData.dexData[species].caughtAttr); super(p => !!globalScene.gameData.dexData[species].caughtAttr);
this.species = species; this.species = species;
this.description = i18next.t("pokemonEvolutions:caught", { species: i18next.t(`pokemon:${Species[this.species].toLowerCase()}`) }); this.description = i18next.t("pokemonEvolutions:caught", { species: i18next.t(`pokemon:${Species[this.species].toLowerCase()}`) });
console.log("Description:", this.description); // console.log("Description:", this.description);
} }
} }
@ -255,7 +255,7 @@ export class MoveTypeEvolutionCondition extends SpeciesEvolutionCondition {
super(p => p.moveset.filter(m => m?.getMove().type === type).length > 0); super(p => p.moveset.filter(m => m?.getMove().type === type).length > 0);
this.type = type; this.type = type;
this.description = i18next.t("pokemonEvolutions:moveType", { type: i18next.t(`pokemonInfo:Type.${Type[this.type]}`) }); this.description = i18next.t("pokemonEvolutions:moveType", { type: i18next.t(`pokemonInfo:Type.${Type[this.type]}`) });
console.log("Description:", this.description); // console.log("Description:", this.description);
} }
} }
@ -266,7 +266,7 @@ export class TreasureEvolutionCondition extends SpeciesEvolutionCondition {
+ globalScene.findModifiers(m => m instanceof MoneyMultiplierModifier + globalScene.findModifiers(m => m instanceof MoneyMultiplierModifier
|| m instanceof ExtraModifierModifier || m instanceof TempExtraModifierModifier).length > 9); || m instanceof ExtraModifierModifier || m instanceof TempExtraModifierModifier).length > 9);
this.description = i18next.t("pokemonEvolutions:treasure"); this.description = i18next.t("pokemonEvolutions:treasure");
console.log("Description:", this.description); // console.log("Description:", this.description);
} }
} }
@ -278,7 +278,7 @@ export class TyrogueEvolutionCondition extends SpeciesEvolutionCondition {
this.move = move; this.move = move;
const moveKey = Moves[this.move].split("_").filter(f => f).map((f, i) => i ? `${f[0]}${f.slice(1).toLowerCase()}` : f.toLowerCase()).join("") as unknown as string; const moveKey = Moves[this.move].split("_").filter(f => f).map((f, i) => i ? `${f[0]}${f.slice(1).toLowerCase()}` : f.toLowerCase()).join("") as unknown as string;
this.description = i18next.t("pokemonEvolutions:move", { move: i18next.t(`move:${moveKey}.name`) }); this.description = i18next.t("pokemonEvolutions:move", { move: i18next.t(`move:${moveKey}.name`) });
console.log("Description:", this.description); // console.log("Description:", this.description);
} }
} }
@ -288,7 +288,7 @@ export class NatureEvolutionCondition extends SpeciesEvolutionCondition {
super(p => natures.indexOf(p.getNature()) > -1); super(p => natures.indexOf(p.getNature()) > -1);
this.natures = natures; this.natures = natures;
this.description = i18next.t("pokemonEvolutions:nature"); this.description = i18next.t("pokemonEvolutions:nature");
console.log("Description:", this.description); // console.log("Description:", this.description);
} }
} }
@ -310,7 +310,7 @@ export class MoveTimeOfDayEvolutionCondition extends SpeciesEvolutionCondition {
} }
const moveKey = Moves[this.move].split("_").filter(f => f).map((f, i) => i ? `${f[0]}${f.slice(1).toLowerCase()}` : f.toLowerCase()).join("") as unknown as string; const moveKey = Moves[this.move].split("_").filter(f => f).map((f, i) => i ? `${f[0]}${f.slice(1).toLowerCase()}` : f.toLowerCase()).join("") as unknown as string;
this.description = i18next.t("pokemonEvolutions:moveTimeOfDay", { move: i18next.t(`move:${moveKey}.name`), tod: i18next.t(`pokemonEvolutions:${tod}`) }); this.description = i18next.t("pokemonEvolutions:moveTimeOfDay", { move: i18next.t(`move:${moveKey}.name`), tod: i18next.t(`pokemonEvolutions:${tod}`) });
console.log("Description:", this.description); // console.log("Description:", this.description);
} }
} }
@ -320,7 +320,7 @@ export class BiomeEvolutionCondition extends SpeciesEvolutionCondition {
super(p => biomes.filter(b => b === globalScene.arena.biomeType).length > 0); super(p => biomes.filter(b => b === globalScene.arena.biomeType).length > 0);
this.biomes = biomes; this.biomes = biomes;
this.description = i18next.t("pokemonEvolutions:biome"); this.description = i18next.t("pokemonEvolutions:biome");
console.log("Description:", this.description); // console.log("Description:", this.description);
} }
} }
@ -335,7 +335,7 @@ export class DunsparceEvolutionCondition extends SpeciesEvolutionCondition {
}); });
const moveKey = Moves[Moves.HYPER_DRILL].split("_").filter(f => f).map((f, i) => i ? `${f[0]}${f.slice(1).toLowerCase()}` : f.toLowerCase()).join("") as unknown as string; const moveKey = Moves[Moves.HYPER_DRILL].split("_").filter(f => f).map((f, i) => i ? `${f[0]}${f.slice(1).toLowerCase()}` : f.toLowerCase()).join("") as unknown as string;
this.description = i18next.t("pokemonEvolutions:move", { move: i18next.t(`move:${moveKey}.name`) }); this.description = i18next.t("pokemonEvolutions:move", { move: i18next.t(`move:${moveKey}.name`) });
console.log("Description:", this.description); // console.log("Description:", this.description);
} }
} }