Skip to content

Commit

Permalink
[DinoMod] predator nest improvements (CleverRaven#77638)
Browse files Browse the repository at this point in the history
* Create map_extrasnest_pred_abandoned.json

* Update map_extras.json

* Update regional_overlay.json

* add human skull to remains_human_generic item group

* rename and more corpses

* no chance in place_corpses

* reformat items

* remove x y

* lint

* reformat

* Update nest_acrocanthosaurus.json

* Update nest_albertosaurus.json

* Update nest_allosaurus.json

* Update nest_appalachiosaurus.json

* Update nest_ceratosaurus.json

* Update nest_coelophysis.json

* Update nest_deinonychus.json

* Update nest_dilophosaurus.json

* Update nest_dromaeosaurus.json

* Update nest_dryptosaurus.json

* Update nest_gorgosaurus.json

* Update nest_nanuqsaurus.json

* Update nest_saurornitholestes.json

* Update nest_siats.json

* Update nest_stenonychosaurus.json

* Update nest_tawa.json

* Update nest_torvosaurus.json

* Update nest_tyrannosaurus.json

* Update nest_utahraptor.json

* Update nest_velociraptor.json
  • Loading branch information
LyleSY authored Nov 10, 2024
1 parent 82f1f45 commit d1d2d02
Show file tree
Hide file tree
Showing 24 changed files with 113 additions and 0 deletions.
1 change: 1 addition & 0 deletions data/json/itemgroups/corpses.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"subtype": "collection",
"entries": [
{ "item": "bone_human", "count": [ 5, 8 ], "prob": 100 },
{ "item": "skull_human", "prob": 100 },
{ "item": "human_flesh", "count": [ 5, 8 ], "prob": 100 },
{ "item": "hstomach", "prob": 50 }
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
"-": [ "t_fern" ],
".": [ "t_dirt" ]
},
"items": { ".": { "item": "remains_human_generic", "repeat": [ 1, 3 ], "chance": 1 }, "-": { "item": "corpses", "chance": 1 } },
"place_corpses": [ { "group": "GROUP_SWAMP", "x": [ 4 ], "y": [ 6 ], "repeat": [ 1, 3 ] } ],
"place_monster": [ { "monster": "mon_acrocanthosaurus", "x": 9, "y": 11, "spawn_data": { "patrol": [ { "x": 4, "y": 11 } ] } } ],
"place_item": [
{ "item": "egg_acrocanthosaurus", "x": 10, "y": 10, "amount": [ 3, 16 ] },
Expand Down
2 changes: 2 additions & 0 deletions data/mods/DinoMod/mapgen/map_extras/nest_albertosaurus.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
"-": [ "t_fern" ],
".": [ "t_dirt" ]
},
"items": { ".": { "item": "remains_human_generic", "repeat": [ 1, 3 ], "chance": 1 }, "-": { "item": "corpses", "chance": 1 } },
"place_corpses": [ { "group": "GROUP_SWAMP", "x": [ 4 ], "y": [ 6 ], "repeat": [ 1, 3 ] } ],
"place_monster": [ { "monster": "mon_albertosaurus", "x": 9, "y": 11, "spawn_data": { "patrol": [ { "x": 4, "y": 11 } ] } } ],
"place_item": [
{ "item": "egg_albertosaurus", "x": 10, "y": 10, "amount": [ 3, 16 ] },
Expand Down
2 changes: 2 additions & 0 deletions data/mods/DinoMod/mapgen/map_extras/nest_allosaurus.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
"-": [ "t_fern" ],
".": [ "t_dirt" ]
},
"items": { ".": { "item": "remains_human_generic", "repeat": [ 1, 3 ], "chance": 1 }, "-": { "item": "corpses", "chance": 1 } },
"place_corpses": [ { "group": "GROUP_SWAMP", "x": [ 4 ], "y": [ 6 ], "repeat": [ 1, 3 ] } ],
"place_monster": [ { "monster": "mon_allosaurus", "x": 9, "y": 11, "spawn_data": { "patrol": [ { "x": 4, "y": 11 } ] } } ],
"place_item": [
{ "item": "egg_allosaurus", "x": 10, "y": 10, "amount": [ 3, 16 ] },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
"-": [ "t_fern" ],
".": [ "t_dirt" ]
},
"items": { ".": { "item": "remains_human_generic", "repeat": [ 1, 3 ], "chance": 1 }, "-": { "item": "corpses", "chance": 1 } },
"place_corpses": [ { "group": "GROUP_SWAMP", "x": [ 4 ], "y": [ 6 ], "repeat": [ 1, 3 ] } ],
"place_monster": [ { "monster": "mon_appalachiosaurus", "x": 9, "y": 11, "spawn_data": { "patrol": [ { "x": 4, "y": 11 } ] } } ],
"place_item": [
{ "item": "egg_appalachiosaurus", "x": 10, "y": 10, "amount": [ 3, 16 ] },
Expand Down
2 changes: 2 additions & 0 deletions data/mods/DinoMod/mapgen/map_extras/nest_ceratosaurus.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
"-": [ "t_fern" ],
".": [ "t_dirt" ]
},
"items": { ".": { "item": "remains_human_generic", "repeat": [ 1, 3 ], "chance": 1 }, "-": { "item": "corpses", "chance": 1 } },
"place_corpses": [ { "group": "GROUP_SWAMP", "x": [ 4 ], "y": [ 6 ], "repeat": [ 1, 3 ] } ],
"place_monster": [ { "monster": "mon_ceratosaurus", "x": 9, "y": 11, "spawn_data": { "patrol": [ { "x": 4, "y": 11 } ] } } ],
"place_item": [
{ "item": "egg_ceratosaurus", "x": 10, "y": 10, "amount": [ 3, 16 ] },
Expand Down
2 changes: 2 additions & 0 deletions data/mods/DinoMod/mapgen/map_extras/nest_coelophysis.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
"-": [ "t_fern" ],
".": [ "t_dirt" ]
},
"items": { ".": { "item": "remains_human_generic", "repeat": [ 1, 3 ], "chance": 1 }, "-": { "item": "corpses", "chance": 1 } },
"place_corpses": [ { "group": "GROUP_SWAMP", "x": [ 4 ], "y": [ 6 ], "repeat": [ 1, 3 ] } ],
"place_monster": [ { "monster": "mon_coelophysis", "x": 9, "y": 11, "spawn_data": { "patrol": [ { "x": 4, "y": 11 } ] } } ],
"place_item": [
{ "item": "egg_coelophysis", "x": 10, "y": 10, "amount": [ 3, 16 ] },
Expand Down
2 changes: 2 additions & 0 deletions data/mods/DinoMod/mapgen/map_extras/nest_deinonychus.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
"-": [ "t_fern" ],
".": [ "t_dirt" ]
},
"items": { ".": { "item": "remains_human_generic", "repeat": [ 1, 3 ], "chance": 1 }, "-": { "item": "corpses", "chance": 1 } },
"place_corpses": [ { "group": "GROUP_SWAMP", "x": [ 4 ], "y": [ 6 ], "repeat": [ 1, 3 ] } ],
"place_monster": [ { "monster": "mon_deinonychus", "x": 9, "y": 11, "spawn_data": { "patrol": [ { "x": 4, "y": 11 } ] } } ],
"place_item": [
{ "item": "egg_deinonychus", "x": 10, "y": 10, "amount": [ 3, 16 ] },
Expand Down
2 changes: 2 additions & 0 deletions data/mods/DinoMod/mapgen/map_extras/nest_dilophosaurus.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
"-": [ "t_fern" ],
".": [ "t_dirt" ]
},
"items": { ".": { "item": "remains_human_generic", "repeat": [ 1, 3 ], "chance": 1 }, "-": { "item": "corpses", "chance": 1 } },
"place_corpses": [ { "group": "GROUP_SWAMP", "x": [ 4 ], "y": [ 6 ], "repeat": [ 1, 3 ] } ],
"place_monster": [ { "monster": "mon_dilophosaurus", "x": 9, "y": 11, "spawn_data": { "patrol": [ { "x": 4, "y": 11 } ] } } ],
"place_item": [
{ "item": "egg_dilophosaurus", "x": 10, "y": 10, "amount": [ 3, 16 ] },
Expand Down
2 changes: 2 additions & 0 deletions data/mods/DinoMod/mapgen/map_extras/nest_dromaeosaurus.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
"-": [ "t_fern" ],
".": [ "t_dirt" ]
},
"items": { ".": { "item": "remains_human_generic", "repeat": [ 1, 3 ], "chance": 1 }, "-": { "item": "corpses", "chance": 1 } },
"place_corpses": [ { "group": "GROUP_SWAMP", "x": [ 4 ], "y": [ 6 ], "repeat": [ 1, 3 ] } ],
"place_monster": [ { "monster": "mon_dromaeosaurus", "x": [ 0, 23 ], "y": [ 0, 23 ], "repeat": [ 1, 2 ], "chance": 20 } ],
"place_item": [
{ "item": "egg_dromaeosaurus", "x": 9, "y": 10, "amount": [ 3, 16 ] },
Expand Down
2 changes: 2 additions & 0 deletions data/mods/DinoMod/mapgen/map_extras/nest_dryptosaurus.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
"-": [ "t_fern" ],
".": [ "t_dirt" ]
},
"items": { ".": { "item": "remains_human_generic", "repeat": [ 1, 3 ], "chance": 1 }, "-": { "item": "corpses", "chance": 1 } },
"place_corpses": [ { "group": "GROUP_SWAMP", "x": [ 4 ], "y": [ 6 ], "repeat": [ 1, 3 ] } ],
"place_monster": [ { "monster": "mon_dryptosaurus", "x": 9, "y": 11, "spawn_data": { "patrol": [ { "x": 4, "y": 11 } ] } } ],
"place_item": [
{ "item": "egg_dryptosaurus", "x": 10, "y": 10, "amount": [ 3, 16 ] },
Expand Down
2 changes: 2 additions & 0 deletions data/mods/DinoMod/mapgen/map_extras/nest_gorgosaurus.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
"-": [ "t_fern" ],
".": [ "t_dirt" ]
},
"items": { ".": { "item": "remains_human_generic", "repeat": [ 1, 3 ], "chance": 1 }, "-": { "item": "corpses", "chance": 1 } },
"place_corpses": [ { "group": "GROUP_SWAMP", "x": [ 4 ], "y": [ 6 ], "repeat": [ 1, 3 ] } ],
"place_monster": [ { "monster": "mon_gorgosaurus", "x": 9, "y": 11, "spawn_data": { "patrol": [ { "x": 4, "y": 11 } ] } } ],
"place_item": [
{ "item": "egg_gorgosaurus", "x": 10, "y": 10, "amount": [ 3, 16 ] },
Expand Down
2 changes: 2 additions & 0 deletions data/mods/DinoMod/mapgen/map_extras/nest_nanuqsaurus.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
"-": [ "t_fern" ],
".": [ "t_dirt" ]
},
"items": { ".": { "item": "remains_human_generic", "repeat": [ 1, 3 ], "chance": 1 }, "-": { "item": "corpses", "chance": 1 } },
"place_corpses": [ { "group": "GROUP_SWAMP", "x": [ 4 ], "y": [ 6 ], "repeat": [ 1, 3 ] } ],
"place_monster": [ { "monster": "mon_nanuqsaurus", "x": 9, "y": 11, "spawn_data": { "patrol": [ { "x": 4, "y": 11 } ] } } ],
"place_item": [
{ "item": "egg_nanuqsaurus", "x": 10, "y": 10, "amount": [ 3, 16 ] },
Expand Down
60 changes: 60 additions & 0 deletions data/mods/DinoMod/mapgen/map_extras/nest_pred_abandoned.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
[
{
"type": "mapgen",
"method": "json",
"update_mapgen_id": "mx_nest_pred_abandoned",
"object": {
"rows": [
" ",
" t ",
" t ",
" ",
" t t ",
" t t---- ",
" ----..-t ",
" t t---..-..---t t ",
" -.-..---..--t ",
" ---.---.,---.- ",
" t-.--.,--...-.-- ",
" --...-.--.--. ",
" -..-,-..-,-..-t t ",
" t --....-.-..--- ",
" t---.,.-.---..- ",
" -.---.---..--- ",
" t --.---..---t ",
" t-....---t t ",
" -----t ",
" t ",
" t ",
" t ",
" ",
" t "
],
"flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
"terrain": {
"t": [ "t_region_tree", "t_region_groundcover_swamp" ],
",": [ "t_pit_shallow" ],
"-": [ "t_fern" ],
".": [ "t_dirt" ]
},
"items": { ".": { "item": "remains_human_generic", "repeat": [ 1, 3 ], "chance": 1 }, "-": { "item": "corpses", "chance": 1 } },
"place_corpses": [ { "group": "GROUP_SWAMP", "x": [ 4 ], "y": [ 6 ], "repeat": [ 1, 3 ] } ],
"place_item": [
{ "item": "egg_dino_theropod", "x": 10, "y": 10, "amount": [ 3, 16 ] },
{ "item": "straw_pile", "x": 10, "y": 10, "amount": [ 1, 2 ] },
{ "item": "bone", "x": [ 4, 17 ], "y": [ 6, 15 ], "amount": [ 10, 20 ], "repeat": [ 1, 3 ], "chance": 40 },
{ "item": "meat", "x": [ 4, 17 ], "y": [ 6, 15 ], "amount": [ 10, 20 ], "repeat": [ 1, 3 ], "chance": 40 },
{ "item": "feather", "x": [ 4, 17 ], "y": [ 6, 15 ], "amount": [ 10, 20 ], "repeat": [ 1, 3 ], "chance": 40 },
{
"item": "down_feather",
"x": [ 4, 17 ],
"y": [ 6, 15 ],
"amount": [ 5, 10 ],
"repeat": [ 1, 3 ],
"chance": 40
}
],
"place_items": [ { "item": "military", "x": [ 4, 17 ], "y": [ 6, 15 ], "repeat": [ 1, 3 ], "chance": 40 } ]
}
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
"-": [ "t_fern" ],
".": [ "t_dirt" ]
},
"items": { ".": { "item": "remains_human_generic", "repeat": [ 1, 3 ], "chance": 1 }, "-": { "item": "corpses", "chance": 1 } },
"place_corpses": [ { "group": "GROUP_SWAMP", "x": [ 4 ], "y": [ 6 ], "repeat": [ 1, 3 ] } ],
"place_monster": [ { "monster": "mon_saurornitholestes", "x": 9, "y": 11, "spawn_data": { "patrol": [ { "x": 4, "y": 11 } ] } } ],
"place_item": [
{ "item": "egg_saurornitholestes", "x": 10, "y": 10, "amount": [ 3, 16 ] },
Expand Down
2 changes: 2 additions & 0 deletions data/mods/DinoMod/mapgen/map_extras/nest_siats.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
"-": [ "t_fern" ],
".": [ "t_dirt" ]
},
"items": { ".": { "item": "remains_human_generic", "repeat": [ 1, 3 ], "chance": 1 }, "-": { "item": "corpses", "chance": 1 } },
"place_corpses": [ { "group": "GROUP_SWAMP", "x": [ 4 ], "y": [ 6 ], "repeat": [ 1, 3 ] } ],
"place_monster": [ { "monster": "mon_siats", "x": 9, "y": 11, "spawn_data": { "patrol": [ { "x": 4, "y": 11 } ] } } ],
"place_item": [
{ "item": "egg_siats", "x": 10, "y": 10, "amount": [ 3, 16 ] },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
"-": [ "t_fern" ],
".": [ "t_dirt" ]
},
"items": { ".": { "item": "remains_human_generic", "repeat": [ 1, 3 ], "chance": 1 }, "-": { "item": "corpses", "chance": 1 } },
"place_corpses": [ { "group": "GROUP_SWAMP", "x": [ 4 ], "y": [ 6 ], "repeat": [ 1, 3 ] } ],
"place_monster": [ { "monster": "mon_stenonychosaurus", "x": 9, "y": 11, "spawn_data": { "patrol": [ { "x": 4, "y": 11 } ] } } ],
"place_item": [
{ "item": "egg_stenonychosaurus", "x": 10, "y": 10, "amount": [ 3, 16 ] },
Expand Down
2 changes: 2 additions & 0 deletions data/mods/DinoMod/mapgen/map_extras/nest_tawa.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
"-": [ "t_fern" ],
".": [ "t_dirt" ]
},
"items": { ".": { "item": "remains_human_generic", "repeat": [ 1, 3 ], "chance": 1 }, "-": { "item": "corpses", "chance": 1 } },
"place_corpses": [ { "group": "GROUP_SWAMP", "x": [ 4 ], "y": [ 6 ], "repeat": [ 1, 3 ] } ],
"place_monster": [ { "monster": "mon_tawa", "x": 9, "y": 11, "spawn_data": { "patrol": [ { "x": 4, "y": 11 } ] } } ],
"place_item": [
{ "item": "egg_tawa", "x": 10, "y": 10, "amount": [ 3, 16 ] },
Expand Down
2 changes: 2 additions & 0 deletions data/mods/DinoMod/mapgen/map_extras/nest_torvosaurus.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
"-": [ "t_fern" ],
".": [ "t_dirt" ]
},
"items": { ".": { "item": "remains_human_generic", "repeat": [ 1, 3 ], "chance": 1 }, "-": { "item": "corpses", "chance": 1 } },
"place_corpses": [ { "group": "GROUP_SWAMP", "x": [ 4 ], "y": [ 6 ], "repeat": [ 1, 3 ] } ],
"place_monster": [ { "monster": "mon_torvosaurus", "x": 9, "y": 11, "spawn_data": { "patrol": [ { "x": 4, "y": 11 } ] } } ],
"place_item": [
{ "item": "egg_torvosaurus", "x": 10, "y": 10, "amount": [ 3, 16 ] },
Expand Down
2 changes: 2 additions & 0 deletions data/mods/DinoMod/mapgen/map_extras/nest_tyrannosaurus.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
"-": [ "t_fern" ],
".": [ "t_dirt" ]
},
"items": { ".": { "item": "remains_human_generic", "repeat": [ 1, 3 ], "chance": 1 }, "-": { "item": "corpses", "chance": 1 } },
"place_corpses": [ { "group": "GROUP_SWAMP", "x": [ 4 ], "y": [ 6 ], "repeat": [ 1, 3 ] } ],
"place_monster": [ { "monster": "mon_tyrannosaurus", "x": 9, "y": 11, "spawn_data": { "patrol": [ { "x": 4, "y": 11 } ] } } ],
"place_item": [
{ "item": "egg_tyrannosaurus", "x": 10, "y": 10, "amount": [ 3, 16 ] },
Expand Down
2 changes: 2 additions & 0 deletions data/mods/DinoMod/mapgen/map_extras/nest_utahraptor.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
"-": [ "t_fern" ],
".": [ "t_dirt" ]
},
"items": { ".": { "item": "remains_human_generic", "repeat": [ 1, 3 ], "chance": 1 }, "-": { "item": "corpses", "chance": 1 } },
"place_corpses": [ { "group": "GROUP_SWAMP", "x": [ 4 ], "y": [ 6 ], "repeat": [ 1, 3 ] } ],
"place_monster": [ { "monster": "mon_utahraptor", "x": 9, "y": 11, "spawn_data": { "patrol": [ { "x": 4, "y": 11 } ] } } ],
"place_item": [
{ "item": "egg_utahraptor", "x": 10, "y": 10, "amount": [ 3, 16 ] },
Expand Down
2 changes: 2 additions & 0 deletions data/mods/DinoMod/mapgen/map_extras/nest_velociraptor.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
"-": [ "t_fern" ],
".": [ "t_dirt" ]
},
"items": { ".": { "item": "remains_human_generic", "repeat": [ 1, 3 ], "chance": 1 }, "-": { "item": "corpses", "chance": 1 } },
"place_corpses": [ { "group": "GROUP_SWAMP", "x": [ 4 ], "y": [ 6 ], "repeat": [ 1, 3 ] } ],
"place_monster": [ { "monster": "mon_velociraptor", "x": 9, "y": 11, "spawn_data": { "patrol": [ { "x": 4, "y": 11 } ] } } ],
"place_item": [
{ "item": "egg_velociraptor", "x": 10, "y": 10, "amount": [ 3, 16 ] },
Expand Down
11 changes: 11 additions & 0 deletions data/mods/DinoMod/overmap/map_extras.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@
"autonote": true,
"flags": [ "MAN_MADE" ]
},
{
"id": "mx_nest_pred_abandoned",
"type": "map_extra",
"name": { "str": "abandoned predator nest" },
"description": "An abandoned predator nest.",
"generator": { "generator_method": "update_mapgen", "generator_id": "mx_nest_pred_abandoned" },
"sym": "D",
"color": "light_green",
"autonote": true,
"flags": [ "CLASSIC" ]
},
{
"id": "mx_nest_achelousaurus",
"type": "map_extra",
Expand Down
1 change: 1 addition & 0 deletions data/mods/DinoMod/regional_overlay.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"chance": 20,
"extras": {
"mx_mass_grave_dino": 30,
"mx_nest_pred_abandoned": 30,
"mx_nest_acrocanthosaurus": 30,
"mx_nest_albertosaurus": 30,
"mx_nest_allosaurus": 30,
Expand Down

0 comments on commit d1d2d02

Please sign in to comment.