11. Adding or Modifying Content

11.1 Adding a Dungeon

  1. Create a new JSON file inside the dungeontypes directory.
  2. Follow an existing file and populate fields such as name, description, and level.
  3. Update the loading routine in main.js so it reads the new file.
  4. Reload the browser and confirm that the dungeon appears in the list.

11.2 Tuning Difficulty

Difficulty affects damage multipliers and enemy strength. Adjust the relevant dungeon data and test the result in game to ensure it feels right.

11.3 Customising the Look

To modify exploration badges or domain crystal behaviour, consult Section 19.5: Domain Effects & Badge Controls for the relevant hooks and definitions.

Iterate gradually: Large changes make debugging harder. Adjust one element at a time, save, and check the result in the browser.

11.4 Embrace Version Control

Use Git or another version-control system when adding content. Record clear commit messages so you can revert to a previous state whenever necessary.