-
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.
[Defense Mode]: My Sweet Cataclysm compatibility (#67839)
* Add everything * Update data/mods/My_Sweet_Cataclysm/modinteractions/Defense_Mode/monstergroups.json Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
e0f1cbf
commit b080355
Showing
6 changed files
with
217 additions
and
4 deletions.
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
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
34 changes: 34 additions & 0 deletions
34
data/mods/Defense_Mode/mod_interactions/My_Sweet_Cataclysm/eocs.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,34 @@ | ||
[ | ||
{ | ||
"type": "effect_on_condition", | ||
"id": "DEFENSE_MODE_WAVE_SPAWN_CANDY", | ||
"condition": { "math": [ "candymonsters_allowed", "==", "1" ] }, | ||
"effect": [ | ||
{ | ||
"u_spawn_monster": "GROUP_SWEET_HORDE", | ||
"real_count": { "global_val": "wave_number", "default": 1 }, | ||
"outdoor_only": true, | ||
"group": true, | ||
"min_radius": 20, | ||
"max_radius": 40 | ||
}, | ||
{ | ||
"u_spawn_monster": "GROUP_SWEET_HORDE", | ||
"real_count": { "global_val": "wave_number", "default": 1 }, | ||
"outdoor_only": true, | ||
"group": true, | ||
"min_radius": 20, | ||
"max_radius": 40 | ||
}, | ||
{ | ||
"u_spawn_monster": "GROUP_SWEET_HORDE", | ||
"real_count": { "global_val": "wave_number", "default": 1 }, | ||
"outdoor_only": true, | ||
"group": true, | ||
"min_radius": 20, | ||
"max_radius": 40 | ||
} | ||
], | ||
"false_effect": { "run_eocs": "DEFENSE_MODE_WAVE_SPAWN_FALLBACK" } | ||
} | ||
] |
20 changes: 20 additions & 0 deletions
20
data/mods/My_Sweet_Cataclysm/modinteractions/Defense_Mode/monstergroups.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,20 @@ | ||
[ | ||
{ | ||
"name": "GROUP_SWEET_HORDE", | ||
"type": "monstergroup", | ||
"monsters": [ | ||
{ "monster": "mon_marshmallow_guy_dm" }, | ||
{ "monster": "mon_marshmallow_buff_dm" }, | ||
{ "monster": "mon_marshmallow_guy_armored_dm" }, | ||
{ "monster": "mon_marshmallow_buff_armored_dm" }, | ||
{ "monster": "mon_gummy_dm" }, | ||
{ "monster": "mon_gummy_gator_dm" }, | ||
{ "monster": "mon_cracker_dm" }, | ||
{ "monster": "mon_cookie_dm" }, | ||
{ "monster": "mon_cookie_hydra_dm" }, | ||
{ "monster": "mon_spider_gum_dm" }, | ||
{ "monster": "mon_gum_spider_wolf_dm" }, | ||
{ "monster": "mon_licorice_snake_dm" } | ||
] | ||
} | ||
] |
135 changes: 135 additions & 0 deletions
135
data/mods/My_Sweet_Cataclysm/modinteractions/Defense_Mode/monsters.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,135 @@ | ||
[ | ||
{ | ||
"id": "mon_marshmallow_guy_dm", | ||
"copy-from": "mon_marshmallow_guy", | ||
"type": "MONSTER", | ||
"species": [ "DM_SWEETS" ], | ||
"default_faction": "marshmallow_boys", | ||
"vision_day": 99, | ||
"vision_night": 99, | ||
"aggression": 100, | ||
"morale": 100 | ||
}, | ||
{ | ||
"id": "mon_marshmallow_buff_dm", | ||
"copy-from": "mon_marshmallow_buff", | ||
"type": "MONSTER", | ||
"species": [ "DM_SWEETS" ], | ||
"default_faction": "marshmallow_boys", | ||
"vision_day": 99, | ||
"vision_night": 99, | ||
"aggression": 100, | ||
"morale": 100 | ||
}, | ||
{ | ||
"id": "mon_marshmallow_guy_armored_dm", | ||
"copy-from": "mon_marshmallow_guy_armored", | ||
"type": "MONSTER", | ||
"species": [ "DM_SWEETS" ], | ||
"default_faction": "marshmallow_boys", | ||
"vision_day": 99, | ||
"vision_night": 99, | ||
"aggression": 100, | ||
"morale": 100 | ||
}, | ||
{ | ||
"id": "mon_marshmallow_buff_armored_dm", | ||
"copy-from": "mon_marshmallow_buff_armored", | ||
"type": "MONSTER", | ||
"species": [ "DM_SWEETS" ], | ||
"default_faction": "marshmallow_boys", | ||
"vision_day": 99, | ||
"vision_night": 99, | ||
"aggression": 100, | ||
"morale": 100 | ||
}, | ||
{ | ||
"id": "mon_gummy_dm", | ||
"copy-from": "mon_gummy", | ||
"type": "MONSTER", | ||
"species": [ "DM_SWEETS" ], | ||
"default_faction": "marshmallow_boys", | ||
"hp": 50, | ||
"vision_day": 99, | ||
"vision_night": 99, | ||
"aggression": 100, | ||
"morale": 100 | ||
}, | ||
{ | ||
"id": "mon_gummy_gator_dm", | ||
"copy-from": "mon_gummy_gator", | ||
"type": "MONSTER", | ||
"species": [ "DM_SWEETS" ], | ||
"default_faction": "marshmallow_boys", | ||
"vision_day": 99, | ||
"vision_night": 99, | ||
"aggression": 100, | ||
"morale": 100 | ||
}, | ||
{ | ||
"id": "mon_cracker_dm", | ||
"copy-from": "mon_cracker", | ||
"type": "MONSTER", | ||
"species": [ "DM_SWEETS" ], | ||
"default_faction": "marshmallow_boys", | ||
"vision_day": 99, | ||
"vision_night": 99, | ||
"aggression": 100, | ||
"morale": 100 | ||
}, | ||
{ | ||
"id": "mon_cookie_dm", | ||
"copy-from": "mon_cookie", | ||
"type": "MONSTER", | ||
"species": [ "DM_SWEETS" ], | ||
"default_faction": "marshmallow_boys", | ||
"vision_day": 99, | ||
"vision_night": 99, | ||
"aggression": 100, | ||
"morale": 100 | ||
}, | ||
{ | ||
"id": "mon_cookie_hydra_dm", | ||
"copy-from": "mon_cookie_hydra", | ||
"type": "MONSTER", | ||
"species": [ "DM_SWEETS" ], | ||
"default_faction": "marshmallow_boys", | ||
"vision_day": 99, | ||
"vision_night": 99, | ||
"aggression": 100, | ||
"morale": 100 | ||
}, | ||
{ | ||
"id": "mon_spider_gum_dm", | ||
"copy-from": "mon_spider_gum", | ||
"type": "MONSTER", | ||
"species": [ "DM_SWEETS" ], | ||
"default_faction": "marshmallow_boys", | ||
"vision_day": 99, | ||
"vision_night": 99, | ||
"aggression": 100, | ||
"morale": 100 | ||
}, | ||
{ | ||
"id": "mon_gum_spider_wolf_dm", | ||
"copy-from": "mon_gum_spider_wolf", | ||
"type": "MONSTER", | ||
"species": [ "DM_SWEETS" ], | ||
"default_faction": "marshmallow_boys", | ||
"vision_day": 99, | ||
"vision_night": 99, | ||
"aggression": 100, | ||
"morale": 100 | ||
}, | ||
{ | ||
"id": "mon_licorice_snake_dm", | ||
"copy-from": "mon_licorice_snake", | ||
"type": "MONSTER", | ||
"species": [ "DM_SWEETS" ], | ||
"default_faction": "marshmallow_boys", | ||
"vision_day": 99, | ||
"vision_night": 99, | ||
"aggression": 100, | ||
"morale": 100 | ||
} | ||
] |
8 changes: 8 additions & 0 deletions
8
data/mods/My_Sweet_Cataclysm/modinteractions/Defense_Mode/species.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,8 @@ | ||
[ | ||
{ | ||
"type": "SPECIES", | ||
"id": "DM_SWEETS", | ||
"flags": [ "ALL_SEEING", "NEMESIS" ], | ||
"footsteps": "shlop." | ||
} | ||
] |