-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #78522 from Standing-Storm/magus-light-spell
[Magiclysm] Add Imperishable Light spell
- Loading branch information
Showing
7 changed files
with
92 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
data/mods/Magiclysm/furniture_and_terrain/furniture_pure_magic.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
[ | ||
{ | ||
"type": "furniture", | ||
"id": "f_magus_permanent_light", | ||
"name": "imperishable light", | ||
"description": "A glowing orb of light floats here, emitting a soft radiance.", | ||
"symbol": "*", | ||
"color": "white", | ||
"move_cost_mod": 0, | ||
"light_emitted": 35, | ||
"required_str": -1, | ||
"flags": [ "TRANSPARENT", "PERMEABLE", "TINY", "THIN_OBSTACLE" ], | ||
"bash": { "str_min": 9999, "str_max": 9999 }, | ||
"examine_action": { | ||
"type": "effect_on_condition", | ||
"effect_on_conditions": [ | ||
{ | ||
"id": "EOC_REMOVE_MAGUS_LIGHT", | ||
"condition": { "u_query": "Dismiss the imperishable light?", "default": false }, | ||
"effect": [ | ||
{ | ||
"u_map_run_eocs": [ | ||
{ | ||
"id": "EOC_REMOVE_MAGUS_LIGHT_2", | ||
"effect": [ { "u_cast_spell": { "id": "magus_permanent_light" }, "loc": { "context_val": "loc" } } ], | ||
"false_effect": { "u_message": "There is no nearby light to dismiss.", "type": "bad" } | ||
} | ||
], | ||
"range": 1, | ||
"store_coordinates_in": { "context_val": "loc" }, | ||
"stop_at_first": true, | ||
"condition": { "map_furniture_id": "f_magus_permanent_light", "loc": { "context_val": "loc" } } | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters