From e90cba8016a7ef6dd83daf3c6a0e04ee28abbdd5 Mon Sep 17 00:00:00 2001 From: Maleclypse <54345792+Maleclypse@users.noreply.github.com> Date: Sat, 13 Aug 2022 06:33:07 -0500 Subject: [PATCH] Acid Anthills (#60095) * Acid Anthills * Update ants.json * Update ants.json --- data/json/mapgen/bugs/ants.json | 444 ++++++++++++++++++ data/json/monstergroups/bugs.json | 16 +- .../json/overmap/overmap_mutable/anthill.json | 68 +++ .../overmap_terrain/overmap_terrain_ants.json | 32 ++ 4 files changed, 559 insertions(+), 1 deletion(-) diff --git a/data/json/mapgen/bugs/ants.json b/data/json/mapgen/bugs/ants.json index 15934343447d4..3b223769db142 100644 --- a/data/json/mapgen/bugs/ants.json +++ b/data/json/mapgen/bugs/ants.json @@ -618,5 +618,449 @@ ], "place_monster": [ { "monster": "mon_ant_queen", "x": [ 6, 17 ], "y": [ 6, 22 ] } ] } + }, + { + "type": "mapgen", + "method": "json", + "om_terrain": "acid_ants_straight", + "object": { + "fill_ter": "t_dirt_underground", + "rows": [ + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######" + ], + "terrain": { "#": "t_soil" }, + "place_nested": [ + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 0 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 1 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 2 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 3 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 4 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 5 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 6 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 7 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 8 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 9 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 10 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 11 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 12 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 13 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 14 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 15 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 16 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 17 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 18 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 19 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 20 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 21 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 22 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 23 } + ] + } + }, + { + "type": "mapgen", + "method": "json", + "om_terrain": "acid_ants_end", + "object": { + "fill_ter": "t_dirt_underground", + "rows": [ + "########################", + "########################", + "########################", + "########################", + "########################", + "########################", + "########################", + "########################", + "########################", + "########################", + "########################", + "########################", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######" + ], + "terrain": { "#": "t_soil" }, + "place_nested": [ + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 12 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 13 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 14 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 15 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 16 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 17 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 18 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 19 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 20 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 21 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 22 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 23 } + ] + } + }, + { + "type": "mapgen", + "method": "json", + "om_terrain": "acid_ants_curved", + "object": { + "fill_ter": "t_dirt_underground", + "rows": [ + "########################", + "########################", + "########################", + "########################", + "########################", + "########################", + "########################", + "####### ", + "####### ", + "####### ", + "####### ", + "####### ", + "####### ", + "####### ", + "####### ", + "####### ", + "####### ", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######" + ], + "terrain": { "#": "t_soil" }, + "place_nested": [ + { "chunks": [ "ant_tunnel_bounds_h1" ], "x": [ 4, 6 ], "y": 7 }, + { "chunks": [ "ant_tunnel_bounds_h1" ], "x": [ 4, 6 ], "y": 8 }, + { "chunks": [ "ant_tunnel_bounds_h1" ], "x": [ 4, 6 ], "y": 9 }, + { "chunks": [ "ant_tunnel_bounds_h1" ], "x": [ 4, 6 ], "y": 10 }, + { "chunks": [ "ant_tunnel_bounds_h1" ], "x": [ 4, 6 ], "y": 11 }, + { "chunks": [ "ant_tunnel_bounds_h1" ], "x": [ 4, 6 ], "y": 12 }, + { "chunks": [ "ant_tunnel_bounds_h1" ], "x": [ 4, 6 ], "y": 13 }, + { "chunks": [ "ant_tunnel_bounds_h1" ], "x": [ 4, 6 ], "y": 14 }, + { "chunks": [ "ant_tunnel_bounds_h1" ], "x": [ 4, 6 ], "y": 15 }, + { "chunks": [ "ant_tunnel_bounds_h1" ], "x": [ 4, 6 ], "y": 16 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 17 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 18 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 19 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 20 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 21 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 22 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 23 }, + { "chunks": [ "ant_tunnel_bounds_v1" ], "y": [ 4, 6 ], "x": 7 }, + { "chunks": [ "ant_tunnel_bounds_v1" ], "y": [ 4, 6 ], "x": 8 }, + { "chunks": [ "ant_tunnel_bounds_v1" ], "y": [ 4, 6 ], "x": 9 }, + { "chunks": [ "ant_tunnel_bounds_v1" ], "y": [ 4, 6 ], "x": 10 }, + { "chunks": [ "ant_tunnel_bounds_v1" ], "y": [ 4, 6 ], "x": 11 }, + { "chunks": [ "ant_tunnel_bounds_v1" ], "y": [ 4, 6 ], "x": 12 }, + { "chunks": [ "ant_tunnel_bounds_v1" ], "y": [ 4, 6 ], "x": 13 }, + { "chunks": [ "ant_tunnel_bounds_v1" ], "y": [ 4, 6 ], "x": 14 }, + { "chunks": [ "ant_tunnel_bounds_v1" ], "y": [ 4, 6 ], "x": 15 }, + { "chunks": [ "ant_tunnel_bounds_v1" ], "y": [ 4, 6 ], "x": 16 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 17 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 18 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 19 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 20 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 21 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 22 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 23 } + ] + } + }, + { + "type": "mapgen", + "method": "json", + "om_terrain": "acid_ants_tee", + "object": { + "fill_ter": "t_dirt_underground", + "rows": [ + "########################", + "########################", + "########################", + "########################", + "########################", + "########################", + "########################", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######" + ], + "terrain": { "#": "t_soil" }, + "place_nested": [ + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 17 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 18 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 19 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 20 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 21 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 22 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 23 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 0 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 1 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 2 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 3 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 4 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 5 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 6 }, + { "chunks": [ "ant_tunnel_bounds_v1" ], "y": [ 4, 6 ], "x": 7 }, + { "chunks": [ "ant_tunnel_bounds_v1" ], "y": [ 4, 6 ], "x": 8 }, + { "chunks": [ "ant_tunnel_bounds_v1" ], "y": [ 4, 6 ], "x": 9 }, + { "chunks": [ "ant_tunnel_bounds_v1" ], "y": [ 4, 6 ], "x": 10 }, + { "chunks": [ "ant_tunnel_bounds_v1" ], "y": [ 4, 6 ], "x": 11 }, + { "chunks": [ "ant_tunnel_bounds_v1" ], "y": [ 4, 6 ], "x": 12 }, + { "chunks": [ "ant_tunnel_bounds_v1" ], "y": [ 4, 6 ], "x": 13 }, + { "chunks": [ "ant_tunnel_bounds_v1" ], "y": [ 4, 6 ], "x": 14 }, + { "chunks": [ "ant_tunnel_bounds_v1" ], "y": [ 4, 6 ], "x": 15 }, + { "chunks": [ "ant_tunnel_bounds_v1" ], "y": [ 4, 6 ], "x": 16 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 17 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 18 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 19 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 20 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 21 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 22 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 23 } + ] + } + }, + { + "type": "mapgen", + "method": "json", + "om_terrain": "acid_ants_four_way", + "object": { + "fill_ter": "t_dirt_underground", + "rows": [ + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######", + "####### #######" + ], + "terrain": { "#": "t_soil" }, + "place_nested": [ + { "chunks": [ "ant_up_to_surface" ], "joins": { "above": "tunnel_to_surface" }, "x": 11, "y": 11 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 0 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 1 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 2 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 3 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 4 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 5 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 6 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 17 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 18 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 19 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 20 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 21 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 22 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 23 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 0 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 1 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 2 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 3 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 4 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 5 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 6 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 17 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 18 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 19 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 20 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 21 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 22 }, + { "chunks": [ "ant_tunnel_bounds_v" ], "y": [ 4, 6 ], "x": 23 } + ] + } + }, + { + "type": "mapgen", + "method": "json", + "om_terrain": "acid_ants_food", + "object": { + "fill_ter": "t_dirt_underground", + "rows": [ + "####### #######", + "####### #######", + "####### #######", + "###### #######", + "####### #######", + "###### ######", + "###### #####", + "##### ####", + "#### #####", + "##### #####", + "#### ####", + "#### ####", + "### ###", + "### ####", + "#### ######", + "####### #####", + "######### ####", + "######## ######", + "####### ######", + "######## #####", + "########## ########", + "############ ##########", + "########################", + "########################" + ], + "terrain": { "#": "t_soil" }, + "place_nested": [ + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 0 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 1 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 2 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 3 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 4 } + ], + "items": { " ": { "item": "ant_food", "chance": 4 } } + } + }, + { + "type": "mapgen", + "method": "json", + "om_terrain": "acid_ants_larvae", + "object": { + "fill_ter": "t_dirt_underground", + "rows": [ + "####### #######", + "####### #######", + "####### #######", + "###### #######", + "####### #######", + "###### ######", + "###### #####", + "##### ####", + "#### #####", + "##### #####", + "#### ####", + "#### ####", + "### ###", + "### ####", + "#### ######", + "####### #####", + "######### ####", + "######## ######", + "####### ######", + "######## #####", + "########## ########", + "############ ##########", + "########################", + "########################" + ], + "terrain": { "#": "t_soil" }, + "place_nested": [ + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 0 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 1 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 2 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 3 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 4 } + ], + "place_monster": [ { "monster": "mon_ant_acid_larva", "x": [ 6, 17 ], "y": [ 6, 22 ], "repeat": 10 } ] + } + }, + { + "type": "mapgen", + "method": "json", + "om_terrain": "acid_ants_queen", + "object": { + "fill_ter": "t_dirt_underground", + "rows": [ + "####### #######", + "####### #######", + "####### #######", + "###### #######", + "####### #######", + "###### ######", + "###### #####", + "##### ####", + "#### #####", + "##### #####", + "#### ####", + "#### ####", + "### ###", + "### ####", + "#### ######", + "####### #####", + "######### ####", + "######## ######", + "####### ######", + "######## #####", + "########## ########", + "############ ##########", + "########################", + "########################" + ], + "terrain": { "#": "t_soil" }, + "place_nested": [ + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 0 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 1 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 2 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 3 }, + { "chunks": [ "ant_tunnel_bounds_h" ], "x": [ 4, 6 ], "y": 4 } + ], + "place_monster": [ { "monster": "mon_ant_acid_queen", "x": [ 6, 17 ], "y": [ 6, 22 ] } ] + } } ] diff --git a/data/json/monstergroups/bugs.json b/data/json/monstergroups/bugs.json index f7b50d6f6fc9e..931d81620240a 100644 --- a/data/json/monstergroups/bugs.json +++ b/data/json/monstergroups/bugs.json @@ -26,7 +26,7 @@ }, { "type": "monstergroup", - "name": "GROUP_ANT_ACID", + "name": "GROUP_ACID_ANT", "is_animal": true, "monsters": [ { "monster": "mon_ant_acid_larva", "weight": 35, "cost_multiplier": 0 }, @@ -35,6 +35,20 @@ { "monster": "mon_ant_acid_small", "weight": 865, "cost_multiplier": 0 } ] }, + { + "type": "monstergroup", + "name": "GROUP_ACID_ANT_SURFACE", + "is_animal": true, + "monsters": [ + { "monster": "mon_ant_acid_soldier", "weight": 90, "cost_multiplier": 5 }, + { "monster": "mon_aphid", "weight": 40, "pack_size": [ 3, 10 ], "cost_multiplier": 0 }, + { "monster": "mon_lady_bug", "weight": 10, "pack_size": [ 1, 3 ], "cost_multiplier": 10 }, + { "monster": "mon_lady_bug_giant", "weight": 5, "cost_multiplier": 10, "starts": "15 days" }, + { "monster": "mon_antlion_larva", "weight": 5, "cost_multiplier": 10 }, + { "monster": "mon_antlion_giant", "weight": 3, "cost_multiplier": 10 }, + { "monster": "mon_ant_acid_small", "weight": 852, "cost_multiplier": 0 } + ] + }, { "type": "monstergroup", "name": "GROUP_BEE", diff --git a/data/json/overmap/overmap_mutable/anthill.json b/data/json/overmap/overmap_mutable/anthill.json index cc436e4e8cb5e..abf04e6602eb4 100644 --- a/data/json/overmap/overmap_mutable/anthill.json +++ b/data/json/overmap/overmap_mutable/anthill.json @@ -78,5 +78,73 @@ { "overmap": "surface", "weight": 1 } ] ] + }, + { + "type": "overmap_special", + "id": "acid_anthill", + "subtype": "mutable", + "locations": [ "subterranean_empty" ], + "city_distance": [ 10, -1 ], + "occurrences": [ 80, 100 ], + "flags": [ "ANT", "UNIQUE", "WILDERNESS" ], + "spawns": { "group": "GROUP_ACID_ANT_SURFACE", "population": [ 1000, 2000 ], "radius": [ 10, 30 ] }, + "check_for_locations": [ + [ [ 0, 0, 0 ], [ "land" ] ], + [ [ 0, 0, -1 ], [ "subterranean_empty" ] ], + [ [ 1, 0, -1 ], [ "subterranean_empty" ] ], + [ [ 0, 1, -1 ], [ "subterranean_empty" ] ], + [ [ -1, 0, -1 ], [ "subterranean_empty" ] ], + [ [ 0, -1, -1 ], [ "subterranean_empty" ] ] + ], + "joins": [ + { "id": "surface_to_tunnel", "opposite": "tunnel_to_surface" }, + { "id": "tunnel_to_surface", "opposite": "surface_to_tunnel", "into_locations": [ "land" ] }, + "tunnel_to_tunnel" + ], + "overmaps": { + "surface": { "overmap": "anthill_north", "below": "surface_to_tunnel", "locations": [ "land" ] }, + "below_entrance": { + "overmap": "acid_ants_nesw", + "above": "tunnel_to_surface", + "north": "tunnel_to_tunnel", + "east": "tunnel_to_tunnel", + "south": "tunnel_to_tunnel", + "west": "tunnel_to_tunnel" + }, + "crossroads": { + "overmap": "acid_ants_nesw", + "north": "tunnel_to_tunnel", + "east": "tunnel_to_tunnel", + "south": "tunnel_to_tunnel", + "west": "tunnel_to_tunnel" + }, + "tee": { "overmap": "acid_ants_nes", "north": "tunnel_to_tunnel", "east": "tunnel_to_tunnel", "south": "tunnel_to_tunnel" }, + "straight_tunnel": { "overmap": "acid_ants_ns", "north": "tunnel_to_tunnel", "south": "tunnel_to_tunnel" }, + "corner": { "overmap": "acid_ants_ne", "north": "tunnel_to_tunnel", "east": "tunnel_to_tunnel" }, + "dead_end": { "overmap": "acid_ants_end_south", "north": "tunnel_to_tunnel" }, + "queen": { "overmap": "acid_ants_queen_north", "north": "tunnel_to_tunnel" }, + "larvae": { "overmap": "acid_ants_larvae_north", "north": "tunnel_to_tunnel" }, + "food": { "overmap": "acid_ants_food_north", "north": "tunnel_to_tunnel" } + }, + "root": "surface", + "phases": [ + [ { "overmap": "below_entrance", "max": 1 } ], + [ + { "overmap": "straight_tunnel", "max": { "poisson": 20 } }, + { "overmap": "corner", "max": { "poisson": 5 } }, + { "overmap": "tee", "max": { "poisson": 10 } }, + { "overmap": "below_entrance", "max": { "poisson": 0.7 } } + ], + [ { "overmap": "queen", "max": 1 } ], + [ { "overmap": "food", "max": { "poisson": 5 } }, { "overmap": "larvae", "max": { "poisson": 5 } } ], + [ + { "overmap": "dead_end", "weight": 2000 }, + { "overmap": "straight_tunnel", "weight": 100 }, + { "overmap": "corner", "weight": 100 }, + { "overmap": "tee", "weight": 10 }, + { "overmap": "crossroads", "weight": 1 }, + { "overmap": "surface", "weight": 1 } + ] + ] } ] diff --git a/data/json/overmap/overmap_terrain/overmap_terrain_ants.json b/data/json/overmap/overmap_terrain/overmap_terrain_ants.json index 1db06ac11e5a5..8edbc95e491ca 100644 --- a/data/json/overmap/overmap_terrain/overmap_terrain_ants.json +++ b/data/json/overmap/overmap_terrain/overmap_terrain_ants.json @@ -17,6 +17,15 @@ "see_cost": 5, "spawns": { "group": "GROUP_ANT", "population": [ 6, 10 ], "chance": 100 } }, + { + "type": "overmap_terrain", + "id": "acid_ants_food", + "name": "ant food storage", + "sym": "O", + "color": "green", + "see_cost": 5, + "spawns": { "group": "GROUP_ACID_ANT", "population": [ 6, 10 ], "chance": 100 } + }, { "type": "overmap_terrain", "id": "ants_larvae", @@ -24,6 +33,13 @@ "name": "ant larva chamber", "color": "white" }, + { + "type": "overmap_terrain", + "id": "acid_ants_larvae", + "copy-from": "ants_food", + "name": "ant larva chamber", + "color": "white" + }, { "type": "overmap_terrain", "id": "ants_queen", @@ -31,6 +47,13 @@ "name": "ant queen chamber", "color": "red" }, + { + "type": "overmap_terrain", + "id": "acid_ants_queen", + "copy-from": "ants_food", + "name": "ant queen chamber", + "color": "red" + }, { "type": "overmap_terrain", "id": "ants", @@ -39,5 +62,14 @@ "see_cost": 5, "spawns": { "group": "GROUP_ANT", "population": [ 4, 6 ], "chance": 100 }, "flags": [ "LINEAR" ] + }, + { + "type": "overmap_terrain", + "id": "acid_ants", + "name": "ant tunnel", + "color": "brown", + "see_cost": 5, + "spawns": { "group": "GROUP_ACID_ANT", "population": [ 4, 6 ], "chance": 100 }, + "flags": [ "LINEAR" ] } ]