Advertisement
NRFB

monsters.json

May 1st, 2023
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.09 KB | None | 0 0
  1. "monster_ID":
  2. String
  3. REQUIRED
  4. A unique identifier for this monster type.
  5. "name":
  6. String
  7. REQUIRED
  8. What the name of this monster should look like in game.
  9. "health":
  10. int
  11. REQUIRED
  12. The maximum health stat of this monster.
  13. "attack":
  14. int
  15. REQUIRED
  16. The attack stat of this monster.
  17. "armor":
  18. int
  19. Not required. Will default to 0.
  20. The armor stat of this monster.
  21. "defend_stat":
  22. String, one of "Physique", "Reflex", "Willpower", "Health"
  23. Not required. Will default to "Health"
  24. The working stat that this monster compares its attack counter against to determine if it scores a hit.
  25. "rarity":
  26. int between 0-20
  27. Not required. Will default to 1.
  28. How relatively rarely this monster should be picked to spawn.
  29. "requirements":
  30. Requirements Dictionary
  31. REQUIRED
  32. The set of requirements that must be true for this monster to be considered spawnable. An empty requirements dictionary means the monster is always spawnable.
  33. "allow_modifiers_on_spawn":
  34. bool
  35. Not required. Will default to true.
  36. If this monster is allowed to spawn with any permanent monster status effects.
  37. "encounter_sound":
  38. String file location of a .ogg or .mp3 file
  39. Not required. Will default to a growling sound.
  40. Sound file that will play when the monster is first encountered and an ALLY_COMBAT_ENCOUNTER check is raised.
  41. "attack_sound":
  42. String file location of a .ogg or .mp3 file
  43. Not required. Will default to a punching sound.
  44. Sound file that will play when the monster attacks and an ALLY_COMBAT_ATTACKED check is raised.
  45. "attack_particle":
  46. String file location of a .tscn file
  47. Not required. Will default to a punching hit spark particle.
  48. Particle effect that will be displayed when the monster attacks and an ALLY_COMBAT_ATTACKED check is raised.
  49. "defeated_sound":
  50. String file location of a .ogg or .mp3 file
  51. Not required. Will default to a monster grunt sound.
  52. Sound file that will play when the monster reaches 0 health and a MONSTER_DEFEATED_FROM_ROOM check is raised.
  53. "defeated_particle":
  54. String file location of a .tscn file
  55. Not required. Will default to a generic particle.
  56. Particle effect that will be displayed when the monster reaches 0 health and a MONSTER_DEFEATED_FROM_ROOM check is raised.
  57. "disallowed_spawn_modifiers":
  58. Array of Strings
  59. Not required. Will default to all modifiers being allowed.
  60. A list of any monster status effect effect_IDs that this monster should be specifically not allowed to spawn with. Unnecessary if allow_modifiers_on_spawn is set to false.
  61. "portrait":
  62. String file location of an image file
  63. Not required (technically, though it'll look a bit silly in the research notes for there to be no picture)
  64. The image file used in the research notes menu for this monster.
  65. "notes_event_list":
  66. Array of Strings
  67. Not required.
  68. A list of any dungeon event dungeon_event_IDs that should show as events for this monster in the research notes menu.
  69. "tags":
  70. Array of Strings
  71. Not required. Will default to no tags.
  72. A list of categorizations for this monster. These are currently just used for determining spawn modifier eligibility, but may be used more in the future.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement