Skip to content

Commit

Permalink
[Magiclysm] Add life-destroying / terrain bash to Cause Rot (CleverRa…
Browse files Browse the repository at this point in the history
…ven#71343)

* Initial commit

* Account for crabapple trees

* Spelling
  • Loading branch information
Standing-Storm authored Jan 30, 2024
1 parent 4bcebb3 commit 1949d26
Show file tree
Hide file tree
Showing 2 changed files with 192 additions and 1 deletion.
37 changes: 36 additions & 1 deletion data/mods/Magiclysm/Spells/druid.json
Original file line number Diff line number Diff line change
Expand Up @@ -605,9 +605,10 @@
"name": "Cause Rot",
"description": "A spell from a darker sect of druidry, created to forcibly begin the circle of life anew. For without rot, you cannot have growth. Affects a huge area, but is indiscriminate; even rusting machines into nothing but dust and slow both in casting and effect. Once lost entirely to the passage of time, this spell was thought to be no more than a myth, the stuff of fairy tales, albeit grim ones.",
"effect": "attack",
"extra_effects": [ { "id": "druid_cause_rot_terrain" }, { "id": "druid_cause_rot_terrain_bash" } ],
"shape": "blast",
"valid_targets": [ "hostile", "ground" ],
"flags": [ "SOMATIC", "NO_PROJECTILE", "CONCENTRATE", "VERBAL" ],
"flags": [ "SOMATIC", "NO_PROJECTILE", "CONCENTRATE", "VERBAL", "IGNORE_WALLS" ],
"max_level": 25,
"spell_class": "DRUID",
"energy_source": "MANA",
Expand All @@ -631,6 +632,40 @@
"max_duration": 5000,
"duration_increment": 180
},
{
"id": "druid_cause_rot_terrain",
"type": "SPELL",
"name": "Cause Rot Terrain Rot",
"description": "The ruin terrain effect of the Cause Rot spell. It's a bug if you have it directly.",
"effect": "ter_transform",
"effect_str": "ter_druid_cause_rot_terrain",
"shape": "blast",
"valid_targets": [ "hostile", "ground" ],
"flags": [ "SOMATIC", "NO_PROJECTILE", "CONCENTRATE", "VERBAL", "IGNORE_WALLS" ],
"max_level": 25,
"spell_class": "DRUID",
"min_aoe": 5,
"max_aoe": 50,
"aoe_increment": 1.8
},
{
"id": "druid_cause_rot_terrain_bash",
"type": "SPELL",
"name": "Cause Rot Terrain Bash",
"description": "The bash terrain effect of the Cause Rot spell. It's a bug if you have it directly. It would be nice if this could take effect gradually but that's now how terrain bash works.",
"effect": "bash",
"shape": "blast",
"valid_targets": [ "hostile", "ground" ],
"flags": [ "SOMATIC", "NO_PROJECTILE", "CONCENTRATE", "VERBAL", "IGNORE_WALLS" ],
"max_level": 25,
"spell_class": "DRUID",
"min_aoe": 5,
"max_aoe": 50,
"aoe_increment": 1.8,
"min_damage": 20,
"max_damage": 170,
"damage_increment": 6
},
{
"id": "druid_healing",
"type": "SPELL",
Expand Down
156 changes: 156 additions & 0 deletions data/mods/Magiclysm/ter_fur_transform/ter_fur_transform.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,35 @@
"result": "t_grass",
"valid_terrain": [ "t_grass_dead" ],
"message": "Life springs anew from the dead grass."
},
{
"result": [
[ "t_tree_birch", 32 ],
[ "t_tree_elm", 32 ],
[ "t_tree_cottonwood", 32 ],
[ "t_tree_basswood", 32 ],
[ "t_tree_alder", 32 ],
[ "t_tree_pine", 64 ],
[ "t_tree_maple", 64 ],
[ "t_tree_willow", 64 ],
[ "t_tree_hickory_harvested", 32 ],
[ "t_tree_walnut_harvested", 16 ],
[ "t_tree_butternut", 4 ],
[ "t_tree_chestnut_harvested", 8 ],
[ "t_tree_hazelnut_harvested", 2 ],
[ "t_tree_beech", 4 ],
[ "t_tree_blackjack", 8 ],
[ "t_tree_apple_harvested", 2 ],
[ "t_tree_cherry_harvested", 2 ],
[ "t_tree_juniper", 2 ],
[ "t_tree_pear_harvested", 2 ],
[ "t_tree_plum_harvested", 2 ],
[ "t_tree_elderberry_harvested", 2 ],
[ "t_tree_mulberry_harvested", 2 ],
[ "t_tree_sassafras", 3 ]
],
"valid_terrain": [ "t_tree_very_dead" ],
"message": "The withered, desiccated tree springs back to life."
}
]
},
Expand Down Expand Up @@ -293,6 +322,132 @@
}
]
},
{
"type": "ter_furn_transform",
"id": "ter_druid_cause_rot_terrain",
"terrain": [
{
"result": "t_dirt",
"valid_terrain": [
"t_grass",
"t_grass_alien",
"t_grass_dead",
"t_bamboo_long",
"t_grass_long",
"t_bamboo_tall",
"t_grass_tall",
"t_bamboo",
"t_bamboo_harvested",
"t_shrub",
"t_shrub_rose",
"t_shrub_lilac",
"t_shrub_grape",
"t_shrub_peanut",
"t_shrub_blueberry",
"t_shrub_hydrangea",
"t_shrub_raspberry",
"t_shrub_strawberry",
"t_shrub_blackberry",
"t_shrub_huckleberry",
"t_shrub_rose_harvested",
"t_shrub_grape_harvested",
"t_shrub_lilac_harvested",
"t_shrub_peanut_harvested",
"t_shrub_raspberry_harvested",
"t_shrub_blueberry_harvested",
"t_shrub_hydrangea_harvested",
"t_shrub_blackberry_harvested",
"t_shrub_strawberry_harvested",
"t_shrub_huckleberry_harvested",
"t_forestfloor",
"t_moss",
"t_underbrush",
"t_underbrush_harvested_spring",
"t_underbrush_harvested_summer",
"t_underbrush_harvested_autumn",
"t_underbrush_harvested_winter",
"t_fern",
"t_fern_harvested",
"t_tree_young"
],
"message": "The plants wither and rot into nothingness in seconds!"
},
{
"result": "t_tree_very_dead",
"valid_terrain": [
"t_tree",
"t_tree_elm",
"t_tree_harvested",
"t_tree_plum_harvested",
"t_tree_pine_harvested",
"t_tree_dead",
"t_tree_pear",
"t_tree_plum",
"t_tree_pear_harvested",
"t_tree_pine",
"t_tree_maple",
"t_tree_apple",
"t_tree_beech",
"t_tree_alder_harvested",
"t_tree_peach_harvested",
"t_tree_peach",
"t_tree_birch",
"t_tree_birch_harvested",
"t_tree_maple_tapped",
"t_tree_pecan_harvested",
"t_tree_beech_harvested",
"t_tree_apple_harvested",
"t_tree_pecan",
"t_tree_alder",
"t_tree_walnut",
"t_tree_almond_harvested",
"t_tree_willow_harvested",
"t_tree_willow",
"t_tree_walnut_harvested",
"t_tree_fungal",
"t_tree_cherry_harvested",
"t_tree_cherry",
"t_tree_coffee_harvested",
"t_tree_coffee",
"t_tree_almond",
"t_tree_hickory_harvested",
"t_tree_hickory",
"t_tree_apricot_harvested",
"t_tree_apricot",
"t_tree_juniper_harvested",
"t_tree_juniper",
"t_marloss_tree",
"t_tree_chestnut_harvested",
"t_tree_chestnut",
"t_tree_mulberry_harvested",
"t_tree_mulberry",
"t_tree_basswood",
"t_tree_hazelnut_harvested",
"t_tree_hazelnut",
"t_tree_basswood_harvested",
"t_tree_pistachio_harvested",
"t_tree_pistachio",
"t_tree_deadpine",
"t_tree_butternut",
"t_tree_butternut_harvested",
"t_tree_sassafras_harvested",
"t_tree_sassafras",
"t_tree_cottonwood_harvested",
"t_tree_elderberry",
"t_tree_elderberry_harvested",
"t_tree_cottonwood",
"t_tree_blackjack",
"t_tree_dead_warped",
"t_tree_hickory_dead",
"t_tree_deadpine_warped",
"t_tree_blackjack_harvested",
"t_tree_crabapple",
"t_tree_crabapple_harvested"
],
"message": "The trees caught in the spell crack and desiccates, their branches warping and shrinking."
}
]
},
{
"type": "ter_furn_transform",
"id": "ter_druid_renew_forest",
Expand All @@ -319,6 +474,7 @@
[ "t_tree_juniper", 2 ],
[ "t_tree_pear_harvested", 2 ],
[ "t_tree_plum_harvested", 2 ],
[ "t_tree_crabapple_harvested", 2 ],
[ "t_tree_elderberry_harvested", 2 ],
[ "t_tree_mulberry_harvested", 2 ],
[ "t_tree_sassafras", 3 ]
Expand Down

0 comments on commit 1949d26

Please sign in to comment.