Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

If a new patch comes out to change what maps are available or release a brand new one, you will need to update the data stored in the enum and include some assets for that map as well.

Main enum Class

Located NautDrafter/src/main/java/com/monkygames/nautdrafter/model/Planet.java is the class that contains all of the statistics and data about each 'naut.

Editing

Locate the map/planet you want to edit and update the values in the constructor. You may want to check the JavaDoc for the constructor for help on what each variable is.

Adding

Create a brand new enum, placed at the bottom of the list, likely based on an existing one and then change all of the values to be for this new map. Take special care for the third argument, shortName, as this is important later.

Assets you need to add

When you add a new

...

map there is a large amount of places where new assets need to be added. These need to be named as the shortName from above

...

with a suffix and placed inside this folder.

  • Regular Image: 
  • Thumb: A small 48x48 thumbnail image of the planet. Taken from the maps page on the official gamepedia and cropped/resized to size.
  • Map: