Advertisement
NRFB

trap_status_effects.json

May 1st, 2023
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.82 KB | None | 0 0
  1. "effect_ID":
  2. String
  3. Required
  4. A unique identifier for this trap 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 turn.
  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 a trap with it performs an action. (has the disarm action used on it)
  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. "description":
  22. String
  23. REQUIRED
  24. Description of the status effect displayed by the UI. Supports BBCode. Should be enclosed with [center][/center] for formatting.
  25. "trackers":
  26. Dictionary of String keys and numeric values
  27. Not Required. Will default to an empty dictionary.
  28. Set of internal data tracker names and their default/initial values.
  29. "is_spawn_modifier":
  30. bool
  31. Not Required. Will default to false.
  32. If this status effect should be in the pool of status effects that a trap can potentially spawn with in order to change their difficulty.
  33. "modifier_spawn_requirements"
  34. Requirements Dictionary
  35. Not Required. If not present, it is assumed that this modifier can be applied to all monsters.
  36. The set of requirements that must be met for a trap to possibly spawn with this status effect already active.
  37. "tags":
  38. Array of Strings
  39. Not Required. Will default to no tags.
  40. A list of categorizations for this curse. Currently (ALMOST) entirely unused. Probably shouldn't be.
  41. "checks":
  42. Array of Dictionaries
  43. Not Required
  44. List of checks this status effect can generate and what triggers those checks to be raised. See the explanation of the checks field.
  45. "stat_changes":
  46. Array of Dictionaries. Dictionaries expect the following fields:
  47. "stat": String, one of "max_health", "attack", "accuracy", "rearm_time". The name of the stat that will receive a change.
  48. "amount": Amount*, evaluated to a number, this is how much the given stat should be changed by.
  49. Not Required. Will default to nothing.
  50. A list of any stats as well as how much those stats should be changed by while having this status effect.
  51. "difficulty_add":
  52. int
  53. Not Required. Will default to 0.
  54. How much should be added to this trap's base difficulty amount for the purpose of calculating the overall floor difficulty (this is almost entirely internal, so don't worry about this field much)
  55. "difficulty_multiplier":
  56. float
  57. Not Required. Will default to 1.
  58. How much should this trap's base difficulty be multiplied by for the purpose of calculating the overall floor difficulty (this is almost entirely internal, so don't worry about this field much)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement