Skip to content

Commit

Permalink
Adds more mi-go to spawn in their camp (#32073)
Browse files Browse the repository at this point in the history
* remove mi-go from monsters.json
* Create basic files for mi-go
* add mi go slaver beam as a "spell"
Remove mi-go from normal nether spawns. Still spaws with captured nether creatures.
Adds mi-go spawn groups for base.
  • Loading branch information
I-am-Erk authored and kevingranade committed Jul 14, 2019
1 parent 8b6938c commit 94a4679
Show file tree
Hide file tree
Showing 11 changed files with 477 additions and 75 deletions.
53 changes: 33 additions & 20 deletions data/json/mapgen/mi-go/mi-go_nested.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
".| ||@@",
".|+||@@"
],
"place_monsters": [ { "monster": "GROUP_MI-GO_BASE_COMMON", "x": [ 2, 3 ], "y": [ 1, 4 ], "repeat": [ 0, 2 ] } ],
"palettes": [ "mi-go_palette" ]
}
},
Expand All @@ -39,6 +40,7 @@
"|||||||@",
"@@@@@@@@"
],
"place_monsters": [ { "monster": "GROUP_MI-GO_BASE_COMMON", "x": [ 1, 6 ], "y": [ 2, 4 ], "repeat": [ 1, 3 ] } ],
"palettes": [ "mi-go_palette" ]
}
},
Expand All @@ -61,6 +63,7 @@
"@@@@@@@@",
"@@@@@@@@"
],
"place_monsters": [ { "monster": "GROUP_MI-GO_BASE_CAPTORS", "x": [ 1, 6 ], "y": 2, "repeat": [ 1, 2 ] } ],
"palettes": [ "mi-go_palette" ]
}
},
Expand Down Expand Up @@ -116,6 +119,7 @@
"|| i@",
"@|+|||@"
],
"place_monsters": [ { "monster": "GROUP_MI-GO_BASE_COMMON", "x": [ 2, 5 ], "y": [ 1, 5 ], "repeat": [ 1, 3 ] } ],
"palettes": [ "mi-go_palette" ]
}
},
Expand Down Expand Up @@ -151,14 +155,18 @@
],
"palettes": [ "mi-go_palette" ],
"npcs": {
"1": { "class": "thug" },
"2": { "class": "bandit" },
"3": { "class": "derelict_dweller" },
"4": { "class": "apis" },
"5": { "class": "thug" },
"6": { "class": "bandit" },
"7": { "class": "thug" }
}
"1": { "class": "mi-go_prisoner", "chance": 20 },
"2": { "class": "mi-go_prisoner", "chance": 20 },
"3": { "class": "mi-go_prisoner", "chance": 20 },
"4": { "class": "mi-go_prisoner", "chance": 20 },
"5": { "class": "apis", "chance": 20 },
"6": { "class": "mi-go_prisoner", "chance": 20 },
"7": { "class": "mi-go_prisoner", "chance": 20 }
},
"place_monsters": [
{ "monster": "GROUP_MI-GO_BASE_CAPTORS", "x": [ 2, 12 ], "y": [ 5, 10 ], "repeat": [ 2, 3 ] },
{ "monster": "GROUP_MI-GO_BASE_BOSS", "x": [ 12, 13 ], "y": [ 7, 8 ], "repeat": [ 0, 1 ] }
]
}
},
{
Expand All @@ -180,6 +188,7 @@
".|||||||",
"@@@@@@@@"
],
"place_monsters": [ { "monster": "GROUP_MI-GO_BASE_COMMON", "x": [ 2, 5 ], "y": [ 1, 4 ], "repeat": [ 0, 3 ] } ],
"palettes": [ "mi-go_palette" ]
}
},
Expand All @@ -194,22 +203,23 @@
"mapgensize": [ 8, 8 ],
"rotation": [ 0, 3 ],
"rows": [
"||||1|||",
"|| ###2|",
"|||| |||",
"|| ### |",
"|P ###",
"|P iV #3",
"|P iV # ",
"|P i} #|",
"+ ||",
"|###|+|@",
"||4||@@@"
"|| ||@@@"
],
"palettes": [ "mi-go_palette" ],
"monsters": {
"1": { "monster": "GROUP_DOMESTIC", "chance": 100 },
"2": { "monster": "GROUP_FOREST", "chance": 100 },
"3": { "monster": "GROUP_SWAMP", "chance": 100 },
"4": { "monster": "GROUP_CAVE", "chance": 100 }
}
"place_monsters": [
{ "monster": "GROUP_MI-GO_BASE_CAPTORS", "x": [ 2, 4 ], "y": [ 2, 5 ], "repeat": [ 1, 2 ] },
{ "monster": "GROUP_DOMESTIC", "x": 4, "y": 0 },
{ "monster": "GROUP_FOREST", "x": 6, "y": 1 },
{ "monster": "GROUP_SWAMP", "x": 7, "y": 3 },
{ "monster": "GROUP_CAVE", "x": 2, "y": 7 }
],
"palettes": [ "mi-go_palette" ]
}
},
{
Expand All @@ -233,6 +243,7 @@
"@@|||V ",
"@@@@||||+"
],
"place_monsters": [ { "monster": "GROUP_MI-GO_BASE_COMMON", "x": [ 1, 8 ], "y": [ 3, 5 ], "repeat": [ 0, 2 ] } ],
"palettes": [ "mi-go_palette" ]
}
},
Expand All @@ -257,6 +268,7 @@
"P |||@@@@",
"|||@+@@@@"
],
"place_monsters": [ { "monster": "GROUP_MI-GO_BASE_COMMON", "x": [ 0, 3 ], "y": [ 2, 5 ], "repeat": [ 0, 2 ] } ],
"palettes": [ "mi-go_palette" ]
}
},
Expand Down Expand Up @@ -324,6 +336,7 @@
"@@@@@@@@@@",
"@@@@@@@@@@"
],
"place_monsters": [ { "monster": "GROUP_MI-GO_BASE_COMMON", "x": [ 2, 6 ], "y": [ 1, 4 ], "repeat": [ 0, 1 ] } ],
"palettes": [ "mi-go_palette" ]
}
},
Expand Down Expand Up @@ -368,7 +381,7 @@
"|||||."
],
"palettes": [ "mi-go_palette" ],
"monsters": { "1": { "monster": "GROUP_ZOMBIE_BRUTE", "chance": 100 } }
"place_monsters": [ { "monster": "GROUP_ZOMBIE_BRUTE", "x": [ 1, 3 ], "y": [ 3, 4 ], "repeat": [ 1, 2 ] } ]
}
},
{
Expand Down
48 changes: 48 additions & 0 deletions data/json/monster_special_attacks/spells.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
[
{
"id": "pain_damage",
"type": "SPELL",
"name": "Pain",
"description": "Increases pain",
"valid_targets": [ "hostile" ],
"//": "Listed as a recover energy effect with a negative modifier that decreases with each level of the spell, which makes it cause damage instead.",
"min_damage": -25,
"max_damage": -225,
"damage_increment": -50,
"max_level": 10,
"effect": "recover_energy",
"effect_str": "PAIN"
},
{
"id": "stamina_damage",
"type": "SPELL",
"name": "Tired",
"description": "decreases stamina",
"valid_targets": [ "hostile" ],
"//": "Listed as a recover energy effect with a negative modifier that decreases with each level of the spell, which makes it cause damage instead.",
"min_damage": -2000,
"max_damage": -10000,
"damage_increment": -2000,
"max_level": 10,
"effect": "recover_energy",
"effect_str": "STAMINA"
},
{
"id": "mi-go_slaver_beam",
"type": "SPELL",
"name": "mi-go slaver beam",
"description": "Mi-go slaver beams cause pain, lower stamina, and give a short-lasting daze effect. Starts very short range, increases rapidly with level.",
"valid_targets": [ "hostile" ],
"effect": "projectile_attack",
"effect_str": "dazed",
"extra_effects": [ { "id": "pain_damage" }, { "id": "stamina_damage" } ],
"base_casting_time": 100,
"max_level": 5,
"min_range": 1,
"max_range": 25,
"range_increment": 5,
"min_duration": 1000,
"max_duration": 10000,
"duration_increment": 2000
}
]
60 changes: 60 additions & 0 deletions data/json/monstergroups/mi-go.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
[
{
"type": "monstergroup",
"name": "GROUP_MI-GO_CAMP_OM",
"//": "Mi-go raiding parties spawning in the vicinity of a mi-go camp. Puts slavers later on and keeps large groups from spawning until the player can deal with them.",
"default": "mon_mi_go_slaver",
"monsters": [
{ "monster": "mon_mi_go", "freq": 100, "cost_multiplier": 20, "ends": 14 },
{ "monster": "mon_mi_go", "freq": 100, "cost_multiplier": 10, "starts": 14, "ends": 30, "pack_size": [ 2, 4 ] },
{ "monster": "mon_mi_go", "freq": 100, "cost_multiplier": 2, "starts": 30, "pack_size": [ 3, 6 ] },
{ "monster": "mon_mi_go_slaver", "freq": 100, "cost_multiplier": 10, "starts": 14, "ends": 30 },
{
"monster": "mon_mi_go_slaver",
"freq": 100,
"cost_multiplier": 20,
"starts": 14,
"ends": 30,
"pack_size": [ 1, 2 ]
},
{ "monster": "mon_mi_go_slaver", "freq": 100, "cost_multiplier": 5, "starts": 30, "pack_size": [ 3, 6 ] },
{ "monster": "mon_mi_go_myrmidon", "freq": 20, "cost_multiplier": 50, "starts": 45 }
]
},
{
"type": "monstergroup",
"name": "GROUP_MI-GO_BASE_COMMON",
"//": "Basic mi-go base defenders.",
"default": "mon_mi_go_slaver",
"monsters": [
{ "monster": "mon_mi_go", "freq": 100, "cost_multiplier": 1 },
{ "monster": "mon_mi_go", "freq": 100, "cost_multiplier": 3, "pack_size": [ 2, 4 ] },
{ "monster": "mon_mi_go_guard", "freq": 100, "cost_multiplier": 1, "pack_size": [ 1, 2 ] },
{ "monster": "mon_mi_go_guard", "freq": 100, "cost_multiplier": 3, "pack_size": [ 2, 4 ] },
{ "monster": "mon_mi_go_slaver", "freq": 100, "cost_multiplier": 2 },
{ "monster": "mon_mi_go_slaver", "freq": 100, "cost_multiplier": 4, "pack_size": [ 1, 2 ] }
]
},
{
"type": "monstergroup",
"name": "GROUP_MI-GO_BASE_CAPTORS",
"//": "Mi-go base defenders for rooms where captives are being held.",
"default": "mon_mi_go_guard",
"monsters": [
{ "monster": "mon_mi_go_guard", "freq": 100, "cost_multiplier": 1, "pack_size": [ 1, 2 ] },
{ "monster": "mon_mi_go_guard", "freq": 100, "cost_multiplier": 3, "pack_size": [ 2, 4 ] },
{ "monster": "mon_mi_go_surgeon", "freq": 100, "cost_multiplier": 2 },
{ "monster": "mon_mi_go_surgeon", "freq": 100, "cost_multiplier": 4, "pack_size": [ 1, 2 ] }
]
},
{
"type": "monstergroup",
"name": "GROUP_MI-GO_BASE_BOSS",
"//": "Mi-go base defenders for major boss battles.",
"default": "mon_mi_go_guard",
"monsters": [
{ "monster": "mon_mi_go_guard", "freq": 100, "cost_multiplier": 3, "pack_size": [ 2, 5 ] },
{ "monster": "mon_mi_go_myrmidon", "freq": 100, "cost_multiplier": 6, "pack_size": [ 1, 2 ] }
]
}
]
1 change: 0 additions & 1 deletion data/json/monstergroups/monstergroups.json
Original file line number Diff line number Diff line change
Expand Up @@ -4253,7 +4253,6 @@
"monsters": [
{ "monster": "mon_flying_polyp", "freq": 25, "cost_multiplier": 0 },
{ "monster": "mon_hunting_horror", "freq": 240, "cost_multiplier": 0 },
{ "monster": "mon_mi_go", "freq": 120, "cost_multiplier": 0 },
{ "monster": "mon_yugg", "freq": 70, "cost_multiplier": 0 },
{ "monster": "mon_gelatin", "freq": 120, "cost_multiplier": 0 },
{ "monster": "mon_flaming_eye", "freq": 120, "cost_multiplier": 0 },
Expand Down
Loading

0 comments on commit 94a4679

Please sign in to comment.