Species Feature Assignments: Difference between revisions

(Created page with "{{TOC|right}} == Preface == You can create a <code>species feature assignment</code> file if you want to assign a feature to a Pokémon or many features to many Pokémon. This is a great way to prevent issues when multiple data packs want add their own <code>species feature</code> to the same species. This article will give some examples of species feature assignments and break down its different properties. === Species Feature Assignment Breakdown === There is only...")
 
(navbox)
Line 29: Line 29:
   "features": ["face_spots", "face_spots2", "left_ear_spots", "right_ear_spots", "special_spots"]
   "features": ["face_spots", "face_spots2", "left_ear_spots", "right_ear_spots", "special_spots"]
  }
  }
{{Addon Creation}}

Revision as of 11:38, 14 October 2023

Preface

You can create a species feature assignment file if you want to assign a feature to a Pokémon or many features to many Pokémon. This is a great way to prevent issues when multiple data packs want add their own species feature to the same species.

This article will give some examples of species feature assignments and break down its different properties.

Species Feature Assignment Breakdown

There is only one format for the species feature assignment file. You simply list a number of Pokémon and then list a number of features that they will receive. You can list as many features or Pokémon as you like.

Here is a breakdown of the pumpkin_size feature assignment. Hover over the underlined text to see more information.

{
 "pokemon": ["pumpkaboo", "gourgeist"],
 "features": ["pumpkin_size"]
}


Species Feature Assignment Examples

This section will list a couple of examples you may use a template for your own species_feature_assignments.

  • ekans_arbok_snake_pattern
{
 "pokemon": ["ekans", "arbok"],
 "features": ["snake_pattern"]
}
  • spinda_spots
{
 "pokemon": ["spinda"],
 "features": ["face_spots", "face_spots2", "left_ear_spots", "right_ear_spots", "special_spots"]
}