Skip to content

PokeMMOZone/PokeMMO-Data-Gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PokeMMO-Data-generate

This project contains the "build" scripts that generate the data for PokeMMO-Data. The intention is for this repo to be a sub folder in PokeMMO-Data in order to update the data. Data is built using the data from PokeAPI as a base. Data formats are kept similar to it as well.

Contributing

If you would like to contribute, please submit a pull request and they will be reviewed and added into the project if approved.

Reporting Incorrect Data

It is very important that data in this project be as accurate as possible. If you see something that is not correct, please open an issue and it will be addressed as soon as humanly possible.

Files

  • generate_all_files.py: This is the main "build" script. If you are trying to generate the data yourself, you should use this file. It will run the other scripts in the needed order. Be warned that it can take a long time to generate the complete data. Results will vary based on your specs.
  • download_PokeAPI_pokemon.py: This script generates pokemon-data.json.
  • download_PokeAPI_moves.py: This script generates moves-data.json.
  • download_PokeAPI_egg-group.py: This script generates egg-groups-data.json.
  • download_PokeAPI_abilities.py: This script generates abilities-data.json.
  • download_PokeAPI_items_unused.py: This script generates item-data.json. Not currently used.
  • generate_PokeMMO_items.py: This script generates item-data.json.
  • download_PokeAPI_sprites.py: This script generates pokemon-sprites.json.
  • add_pokemon_to_abilities.py: Adds Pokemon to their abilities in abilities-data.json.
  • add_pokemon_to_moves.py: Adds Pokemon to their moves in moves-data.json.
  • add_pvp_to_pokemon.py: Adds PVP tiers to the pokemon data.
  • generate_egg_moves.py: This script generates egg-moves-data.json.
  • generate_egg_moves_exp.py: This is an experimental script that generates egg-moves-data.json by performing all calculations.
  • generate_location_data.py: This script generates location-data.json.
  • generate_pokemon_moves.py: This script generates pokemon_moves.json.
  • generate_pvp_data.py: This script generates pvp-data.json.
  • generate_pvp_data_Input.py: This script generates pokemon-pvp-data.json from the dump. Currently disabled.
  • generate_types_data.py: This script generates types-data.json.
  • generate_obtainable_data.py: This script generates obtainable-data.json.
  • generate_locations.py: This script generates the locations.json that is used by the other scripts.
  • generate_location_rarities.py: This script generates location-rarities.json.
  • generate_location_regions.py: This script generates location-regions.json.
  • generate_location_types.py: This script generates location-types.json.
  • generate_obtainable_pokemon.py: This script generates the obtainable_pokemon.json that is used by the other scripts.
  • generate_gender_rates.py: This script generates gender-rates.json.
  • generate_held_items.py: This script adds held item data to pokemon-data.json and item-data.json
  • download_PokeAPI_natures.py: This script generates natures-data.json.
  • pokemon_moves.json: This file contains the data for all of the moves that Pokemon can learn. Generated by generate_pokemon_moves.py.
  • pokemon-pvp-data.json: This file contains the data for all of the tiers Pokemon are in. Changes to tiers should be done here.
  • locations.json: This file contains the data for all encounter locations of Pokemon. Generated by generate_locations.py.
  • obtainable_pokemon.json: This file contains the data for if Pokemon are available in the game. Generated by generate_obtainable_pokemon.py.
  • shiny-tiers.json: This file contains the data fir each Pokemon's shiny tier and points. These are to be the points and tier system decided by the mods of the game.
  • patch_data_files.py: This script performs "patches" on the data. This is needed to handle changes that are different from the main series games. Example of the patching format will be below.
  • patch_pokemon-data.json: This file contains "patches" to the Pokemon data. Things should be added here to make changes to the data if it needs to be different from PokeAPI.
  • patch_move-data.json: This file contains "patches" to the Move data. Things should be added here to make changes to the data if it needs to be different from PokeAPI.
  • dump\: This folder contains data exported from the PokeMMO client. This will be used to keep moves and locations up to date.

Settings -> Utilities -> Dump Moddable Resources -> Pokedex Data

Patching Format

{
    "bulbasaur": {
        "base_happiness": 60, // Change base happiness
        "new_feature": "example_value", // Add a new feature
        // Update a nested value (evolution_chain -> chain -> evolves_to -> species -> name)
        "evolution_chain.chain.evolves_to.0.species.name": "ivysaur-updated",
        // Add a new move (Note that moves shouldn't be added this way but used as an example.)
        "moves_add": [
            {
                "id": 500,
                "name": "New Move",
                "type": "level",
                "level": 20
            }
        ],
        // Remove an ability
        "abilities_remove": [
            {
                "ability_name": "chlorophyll"
            }
        ]
    }
}

Credits

Credits can be found in CREDITS.md

About

Scripts used to generate PokeMMO-Data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages