• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Scripting Question] New Egg Group

  • 12
    Posts
    3
    Years
    • Seen May 5, 2025
    I am fairly new to making games using Essentials and therefore I am not sure how to do certain things. I am wondering how I would go about scripting a new, custom egg group into my game. Any help would be greatly appreciated. Thanks in advance.
     
    I'm gonna assume you're on the latest version since you didn't say, so these instructions are for v19. v19 actually made a lot of QoL changes when it comes to defining new stuff in the GameData classes. Very convenient.

    Just go to the Egg Group script section (for organization's sake, this could really go anywhere after that script section, like a new one above main), and slap in
    Code:
    GameData::EggGroup.register({
      :id   => :NewEggGroup,
      :name => _INTL("New Egg Group")
    })
    And that's it! A new Egg group called "NewEggGroup".
     
    I'm gonna assume you're on the latest version since you didn't say, so these instructions are for v19. v19 actually made a lot of QoL changes when it comes to defining new stuff in the GameData classes. Very convenient.

    Just go to the Egg Group script section (for organization's sake, this could really go anywhere after that script section, like a new one above main), and slap in
    Code:
    GameData::EggGroup.register({
      :id   => :NewEggGroup,
      :name => _INTL("New Egg Group")
    })
    And that's it! A new Egg group called "NewEggGroup".

    I am on 19.1 sorry I forgot to say. This really helps thank you so much for your help.
     
    Back
    Top