Skip to content

Commit

Permalink
[Refactor] Move some relevant files, tables etc to new balance folder (
Browse files Browse the repository at this point in the history
…#4510)

* Move biomes.ts

* Move starter costs, passives, friendship, starter-candy to starters.ts

* Change relative imports to absolute imports

* Add docstrings, passives.ts

* Constants in rates.ts for egg pity, egg tier rates, hatch waves, variant chances

---------

Co-authored-by: NightKev <[email protected]>
Co-authored-by: flx-sta <[email protected]>
  • Loading branch information
3 people authored Oct 2, 2024
1 parent 7473c31 commit 8a2900a
Show file tree
Hide file tree
Showing 43 changed files with 1,729 additions and 1,654 deletions.
4 changes: 2 additions & 2 deletions src/battle-scene.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { trainerConfigs, TrainerSlot } from "./data/trainer-config";
import Trainer, { TrainerVariant } from "./field/trainer";
import TrainerData from "./system/trainer-data";
import SoundFade from "phaser3-rex-plugins/plugins/soundfade";
import { pokemonPrevolutions } from "./data/pokemon-evolutions";
import { pokemonPrevolutions } from "./data/balance/pokemon-evolutions";
import PokeballTray from "./ui/pokeball-tray";
import InvertPostFX from "./pipelines/invert";
import { Achv, achvs, ModifierAchv, MoneyAchv } from "./system/achv";
Expand All @@ -42,7 +42,7 @@ import PokemonSpriteSparkleHandler from "./field/pokemon-sprite-sparkle-handler"
import CharSprite from "./ui/char-sprite";
import DamageNumberHandler from "./field/damage-number-handler";
import PokemonInfoContainer from "./ui/pokemon-info-container";
import { biomeDepths, getBiomeName } from "./data/biomes";
import { biomeDepths, getBiomeName } from "./data/balance/biomes";
import { SceneBase } from "./scene-base";
import CandyBar from "./ui/candy-bar";
import { Variant, variantData } from "./data/variant";
Expand Down
6 changes: 3 additions & 3 deletions src/data/biomes.ts → src/data/balance/biomes.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Type } from "./type";
import * as Utils from "../utils";
import { pokemonEvolutions, SpeciesFormEvolution } from "./pokemon-evolutions";
import { Type } from "#app/data/type";
import * as Utils from "#app/utils";
import { pokemonEvolutions, SpeciesFormEvolution } from "#app/data/balance/pokemon-evolutions";
import i18next from "i18next";
import { Biome } from "#enums/biome";
import { Species } from "#enums/species";
Expand Down
4 changes: 2 additions & 2 deletions src/data/egg-moves.ts → src/data/balance/egg-moves.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { allMoves } from "./move";
import * as Utils from "../utils";
import { allMoves } from "#app/data/move";
import * as Utils from "#app/utils";
import { Moves } from "#enums/moves";
import { Species } from "#enums/species";

Expand Down
Loading

0 comments on commit 8a2900a

Please sign in to comment.