Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "spell_ID":
- String
- Required
- A unique identifier for this spell.
- "display_name":
- String
- REQUIRED
- What the name of this spell should look like in game.
- "description":
- String
- REQUIRED
- Description of the spell displayed by the UI. Supports BBCode. Should be enclosed with [center][/center] for formatting.
- "icon_path":
- String file location of an image file
- REQUIRED
- The icon that represents this spell effect. The expected image size is 36x36 pixels.
- "cast_particle":
- String
- "passive_spell":
- bool
- REQUIRED
- If this spell is passive (can be set while in camp and remains on until unset) or active (can be casted while in camp before going on cooldown)
- "target_type": "LOCATION",
- String, one of "LOCATION", "ALLY", "SELF", "ALLALLIES"
- REQUIRED (if passive_spell is false)
- Determines how this spell is targeted when it is cast. After the initial CAMP_PLAYER_CAST_SPELL check is raised...
- "LOCATION": Raises a CAMP_PLAYER_CAST_SPELL_ON_LOCATION check for the chosen camp location and a CAMP_PLAYER_CAST_SPELL_ON_ALLY on every ally inside that camp location. If the spell is SP_Scry, also raises a CAMP_PLAYER_SCRY_LOCATION check for the chosen location.
- "ALLY": Raises a CAMP_PLAYER_CAST_SPELL_ON_ALLY check for the chosen ally.
- "SELF": Does nothing further (logic for self target spells should be triggered off the initial CAMP_PLAYER_CAST_SPELL).
- "ALLALLIES": Raises a CAMP_PLAYER_CAST_SPELL_ON_ALLY for each ally.
- "mana_cost":
- int
- REQUIRED (Spells with passive_spell set to false should have a mana cost of 0)
- How much mana is required for this passive spell to be activated during spell preparation in camp.
- "checks":
- Array of Dictionaries
- Not Required
- List of checks this spell can generate and what triggers those checks to be raised. See the explanation of the checks field.
- "allow_starting_spell":
- bool
- Not Required. Will default to false.
- If this spell should be added to the pool of possible spells that the game randomly picks from to give for free at the start of a run.
- "allow_witch_sell":
- bool
- Not Required. Will default to false.
- If this spell can show up in the inventory of a Witch's Den.
- "sell_requirements":
- Requirements Dictionary
- Not Required. If not present, the spell will not be sold in the Witch's Den.
- The set of requirements that must be met before this spell can appear in the inventory of a Witch's Den.
- "spawn_as_scroll":
- bool
- Not Required. Will default to false.
- If this spell can be found in spell scroll form in the dungeon.
- "tags":
- Array of Strings
- Not Required. Will default to no tags.
- A list of categorizations for this spell. Currently (ALMOST) entirely unused. Probably shouldn't be.
- Note that currently spells do not have trackers. There's no great reason for this other than me not having implemented them yet. They'll probably be a thing eventually.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement