Advertisement
NRFB

status_effects.json

May 1st, 2023
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.18 KB | None | 0 0
  1. "effect_ID":
  2. String
  3. REQUIRED
  4. A unique identifier for this status effect.
  5. "display_name":
  6. String
  7. REQUIRED
  8. What the name of this status effect should look like in game.
  9. "default_ticking":
  10. bool
  11. Not Required. Will default to false.
  12. If this status effect will automatically tick down its duration at the start of each of the ally's turns.
  13. "tick_on_action":
  14. bool
  15. Not Required. Will default to false.
  16. If this status effect will automatically tick down its duration at the end of any turn that an ally with it performs an action.
  17. "icon_path":
  18. String file location of an image file
  19. REQUIRED
  20. The icon that represents this status effect. The expected image size is 50x50 pixels.
  21. "show_icon":
  22. bool
  23. Not Required. Will default to true.
  24. If gaining this status effect should automatically prompt the UI to show the status effect's icon popping up (unless the status is applied with hidden visibility).
  25. "particles":
  26. Array of Strings
  27. Not Required.
  28. A list of particle effects that may be needed by any of the status effects checks. This field will need to be reworked eventually.
  29. "add_particle_on_apply":
  30. bool
  31. Not Required. Will default to false.
  32. If true, applies the first particle effect in the "particles" field to the ally when the status effect is gained.
  33. "trackers":
  34. Dictionary of String keys and numeric values
  35. Not Required. Will default to an empty dictionary.
  36. Set of internal data tracker names and their default/initial values.
  37. "display_tracker":
  38. Dictionary, expects the following fields:
  39. text: String, text displayed in the status box UI when listing this status effect
  40. value: String, the key of one of the entries in the "trackers" dictionary.
  41. Not Required.
  42. Field used in case something other than duration should be displayed in the UI when listing this status effect. For example, the number of stacks of Charge uses the following in order to display the count of current stacks in the UI:
  43. "trackers": {"SE_Charge_Stacks": 1},
  44. "display_tracker": {"text": "Stacks: ", "value": "SE_Charge_Stacks"},
  45. "description":
  46. String
  47. REQUIRED
  48. Description of the status effect displayed by the UI. Supports BBCode. Should be enclosed with [center][/center] for formatting.
  49. "plaintext_description":
  50. String
  51. Not Required
  52. Currently unused. Added just in case I ever need a status effect's description without any BBCode tags.
  53. "checks":
  54. Array of Dictionaries
  55. Not Required
  56. List of checks this status effect can generate and what triggers those checks to be raised. See the explanation of the checks field.
  57. "tags":
  58. Array of Strings
  59. Not Required. Will default to no tags.
  60. A list of categorizations for this status effect.
  61. "disable_selection":
  62. bool
  63. Not Required. Will default to false.
  64. If having this status effect causes the player to be unable to select the afflicted ally and change their orders.
  65. "override_dungeon_behavior":
  66. String, one of "WANDER", "EXPLORE", "REST", "WAIT", "FOLLOW", "DIRECT", "SLEEP", "CAPTIVE", "TRANCE", "BERSERK", "FLIRT", "LOST", "CHARMED"
  67. Not Required. Will default to nothing.
  68. What AI behavior having this status effect should force the afflicted ally to follow. These are hard coded and will likely require an AI overhaul to make not that way.
  69. "stat_bonuses":
  70. Array of Dictionaries. Dictionaries expect the following fields:
  71. "stat": String, one of "Strength", "Dexterity", "Focus", "Vitality", "Physique", "Reflex", "Willpower", "Health". The name of the stat that will recieve an increase.
  72. "amount": Amount*, evaluated to a number, this is how much the given stat should be increased by.
  73. Not Required. Will default to nothing.
  74. A list of any stats as well as how much those stats should be increased by while having this status effect.
  75. "stat_penalties":
  76. Array of Dictionaries. Dictionaries expect the following fields:
  77. "stat": String, one of "Strength", "Dexterity", "Focus", "Vitality", "Physique", "Reflex", "Willpower", "Health". The name of the stat that will recieve a decrease.
  78. "amount": Amount*, evaluated to a number, this is how much the given stat should be decreased by.
  79. Not Required. Will default to nothing.
  80. A list of any stats as well as how much those stats should be decreased by while having this status effect.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement