Skip to content

Commit

Permalink
[DinoMod] lokiceratops (#77759)
Browse files Browse the repository at this point in the history
* [DinoMod] lokiceratops

* bodytype fix

* Update dictionary.txt

* egg

* define skull

* Create mx_nest_lokiceratops.json

* Rename mx_nest_lokiceratops.json to nest_lokiceratops.json

* random egg spawns

* dino monstergroups

* fungi monster group

* wilderness spawn

* zombie spawns

* fungal

* Update hatchling.json

* Update juvenile.json

* Update zed-dinosaur.json

* Update zinosaur_burned.json

* Update zinosaur_upgrade.json

* Update map_extras.json

* Update head.json

* Update cooking_components.json

* Update harvest.json

* Update regional_overlay.json

* finish inheritance rework

* add looks-like
  • Loading branch information
LyleSY authored Nov 13, 2024
1 parent 918bc6f commit daebd7d
Show file tree
Hide file tree
Showing 21 changed files with 331 additions and 83 deletions.
14 changes: 14 additions & 0 deletions data/mods/DinoMod/harvest.json
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,20 @@
]
}
},
{
"id": "lokiceratops",
"//": "drops large stomach and skull",
"type": "harvest",
"copy-from": "mammal_large_leather",
"delete": { "entries": [ { "drop": "bone", "type": "bone", "mass_ratio": 0.15 } ] },
"extend": {
"entries": [
{ "drop": "skull_lokiceratops", "type": "bone", "scale_num": [ 1, 1 ], "max": 1 },
{ "drop": "bone", "type": "bone", "mass_ratio": 0.05 },
{ "drop": "large_bone", "type": "bone", "mass_ratio": 0.1 }
]
}
},
{
"id": "styracosaurus",
"//": "drops large stomach and skull",
Expand Down
8 changes: 8 additions & 0 deletions data/mods/DinoMod/items/carnivore.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,14 @@
"name": { "str": "giganotosaurus skull" },
"copy-from": "skull_dino_pred_large"
},
{
"type": "GENERIC",
"id": "skull_lokiceratops",
"name": { "str": "lokiceratops skull" },
"description": "Large dinosaur skull with two large horns above the eyes and a large crest with two large horns pointing out and down.",
"copy-from": "skull_dino_large",
"qualities": [ [ "COOK", 1 ] ]
},
{
"type": "GENERIC",
"id": "skull_triceratops",
Expand Down
7 changes: 7 additions & 0 deletions data/mods/DinoMod/items/egg.json
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,13 @@
"copy-from": "egg_dino",
"rot_spawn": { "monster": "mon_zuniceratops_hatchling" }
},
{
"type": "COMESTIBLE",
"id": "egg_lokiceratops",
"name": "lokiceratops egg",
"copy-from": "egg_dino",
"rot_spawn": { "monster": "mon_lokiceratops_hatchling" }
},
{
"type": "COMESTIBLE",
"id": "egg_styracosaurus",
Expand Down
77 changes: 77 additions & 0 deletions data/mods/DinoMod/mapgen/map_extras/nest_lokiceratops.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
[
{
"type": "mapgen",
"method": "json",
"update_mapgen_id": "mx_nest_lokiceratops",
"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_forest" ],
",": [ "t_pit_shallow" ],
"-": [ "t_fern", "t_grass", "t_grass", "t_region_groundcover_forest" ],
".": [ "t_dirt", "t_dirt", "t_grass", "t_grass", "t_region_groundcover_forest" ]
},
"place_monster": [
{
"monster": "mon_lokiceratops",
"x": [ 0, 23 ],
"y": [ 0, 23 ],
"repeat": [ 2, 10 ],
"chance": 50,
"spawn_data": { "patrol": [ { "x": [ 0, 23 ], "y": [ 0, 23 ] } ] }
}
],
"place_item": [
{ "item": "egg_lokiceratops", "x": 10, "y": 10, "amount": [ 3, 15 ] },
{ "item": "egg_lokiceratops", "x": 14, "y": 9, "amount": [ 3, 15 ] },
{ "item": "egg_lokiceratops", "x": 10, "y": 12, "amount": [ 3, 15 ] },
{ "item": "egg_lokiceratops", "x": 15, "y": 12, "amount": [ 3, 15 ] },
{ "item": "egg_lokiceratops", "x": 12, "y": 13, "amount": [ 3, 15 ] },
{ "item": "feather", "x": [ 0, 23 ], "y": [ 0, 23 ], "amount": [ 10, 20 ], "repeat": [ 1, 24 ], "chance": 20 },
{
"item": "down_feather",
"x": [ 0, 23 ],
"y": [ 0, 23 ],
"amount": [ 5, 10 ],
"repeat": [ 1, 24 ],
"chance": 20
},
{
"item": "straw_pile",
"x": [ 0, 23 ],
"y": [ 0, 23 ],
"amount": [ 10, 20 ],
"repeat": [ 1, 24 ],
"chance": 20
}
],
"place_items": [ { "item": "trash_forest", "x": [ 4, 17 ], "y": [ 6, 15 ], "repeat": [ 1, 3 ], "chance": 40 } ]
}
}
]
2 changes: 2 additions & 0 deletions data/mods/DinoMod/monstergroups/dinosaur.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@
{ "monster": "mon_aquilops_hatchling", "weight": 10, "cost_multiplier": 0, "pack_size": [ 1, 2 ] },
{ "monster": "mon_leptoceratops_hatchling", "weight": 3, "cost_multiplier": 10, "pack_size": [ 1, 2 ] },
{ "monster": "mon_zuniceratops_hatchling", "weight": 3, "cost_multiplier": 10, "pack_size": [ 1, 2 ] },
{ "monster": "mon_lokiceratops_hatchling", "weight": 3, "cost_multiplier": 10, "pack_size": [ 1, 2 ] },
{ "monster": "mon_styracosaurus_hatchling", "weight": 3, "cost_multiplier": 10, "pack_size": [ 1, 2 ] },
{ "monster": "mon_centrosaurus_hatchling", "weight": 3, "cost_multiplier": 10, "pack_size": [ 1, 2 ] },
{ "monster": "mon_einiosaurus_hatchling", "weight": 3, "cost_multiplier": 10, "pack_size": [ 1, 2 ] },
Expand Down Expand Up @@ -280,6 +281,7 @@
{ "monster": "mon_lambeosaurus", "weight": 20, "cost_multiplier": 10, "pack_size": [ 1, 2 ] },
{ "monster": "mon_corythosaurus", "weight": 20, "cost_multiplier": 10, "pack_size": [ 1, 2 ] },
{ "monster": "mon_hypacrosaurus", "weight": 20, "cost_multiplier": 10, "pack_size": [ 1, 2 ] },
{ "monster": "mon_lokiceratops", "weight": 3, "cost_multiplier": 30, "pack_size": [ 1, 2 ] },
{ "monster": "mon_styracosaurus", "weight": 3, "cost_multiplier": 30, "pack_size": [ 1, 2 ] },
{ "monster": "mon_centrosaurus", "weight": 3, "cost_multiplier": 30, "pack_size": [ 1, 2 ] },
{ "monster": "mon_einiosaurus", "weight": 3, "cost_multiplier": 30, "pack_size": [ 1, 2 ] },
Expand Down
1 change: 1 addition & 0 deletions data/mods/DinoMod/monstergroups/fungi.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
{ "monster": "mon_zachycephalosaurus_fungus", "starts": "3 days" },
{ "monster": "mon_zeptoceratops_fungus", "starts": "3 days" },
{ "monster": "mon_zzuniceratops_fungus", "starts": "3 days" },
{ "monster": "mon_zokiceratops_fungus", "starts": "3 days" },
{ "monster": "mon_ztyracosaurus_fungus", "starts": "3 days" },
{ "monster": "mon_zentrosaurus_fungus", "starts": "3 days" },
{ "monster": "mon_zeiniosaurus_fungus", "starts": "3 days" },
Expand Down
1 change: 1 addition & 0 deletions data/mods/DinoMod/monstergroups/monstergroups_egg.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
{ "monster": "mon_pachycephalosaurus_hatchling", "weight": 20 },
{ "monster": "mon_leptoceratops_hatchling", "weight": 3 },
{ "monster": "mon_zuniceratops_hatchling", "weight": 3 },
{ "monster": "mon_lokiceratops_hatchling", "weight": 3 },
{ "monster": "mon_styracosaurus_hatchling", "weight": 3 },
{ "monster": "mon_centrosaurus_hatchling", "weight": 3 },
{ "monster": "mon_einiosaurus_hatchling", "weight": 3 },
Expand Down
1 change: 1 addition & 0 deletions data/mods/DinoMod/monstergroups/wilderness.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
{ "monster": "mon_aquilops", "weight": 3, "pack_size": [ 4, 8 ] },
{ "monster": "mon_leptoceratops", "weight": 3, "pack_size": [ 4, 8 ] },
{ "monster": "mon_zuniceratops", "weight": 3, "pack_size": [ 4, 8 ] },
{ "monster": "mon_lokiceratops", "weight": 3, "pack_size": [ 4, 8 ] },
{ "monster": "mon_styracosaurus", "weight": 3, "cost_multiplier": 20, "pack_size": [ 4, 8 ] },
{ "monster": "mon_centrosaurus", "weight": 3, "cost_multiplier": 20, "pack_size": [ 4, 8 ] },
{ "monster": "mon_einiosaurus", "weight": 3, "cost_multiplier": 20, "pack_size": [ 4, 8 ] },
Expand Down
6 changes: 6 additions & 0 deletions data/mods/DinoMod/monstergroups/zinosaur.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
{ "monster": "mon_zachycephalosaurus", "weight": 200, "starts": "3 days", "pack_size": [ 1, 2 ] },
{ "monster": "mon_zeptoceratops", "weight": 10, "cost_multiplier": 40, "starts": "3 days" },
{ "monster": "mon_zzuniceratops", "weight": 10, "cost_multiplier": 40, "starts": "3 days" },
{ "monster": "mon_zokiceratops", "weight": 10, "cost_multiplier": 40, "starts": "3 days" },
{ "monster": "mon_ztyracosaurus", "weight": 10, "cost_multiplier": 40, "starts": "3 days" },
{ "monster": "mon_zentrosaurus", "weight": 10, "cost_multiplier": 40, "starts": "3 days" },
{ "monster": "mon_zeiniosaurus", "weight": 10, "cost_multiplier": 40, "starts": "3 days" },
Expand Down Expand Up @@ -610,6 +611,11 @@
"name": "GROUP_zzuniceratops_UPGRADE",
"monsters": [ { "monster": "mon_suniceratops", "weight": 600 }, { "monster": "mon_zzuniceratops_brute", "weight": 400 } ]
},
{
"type": "monstergroup",
"name": "GROUP_zokiceratops_UPGRADE",
"monsters": [ { "monster": "mon_sokiceratops", "weight": 600 }, { "monster": "mon_zokiceratops_brute", "weight": 400 } ]
},
{
"type": "monstergroup",
"name": "GROUP_ztyracosaurus_UPGRADE",
Expand Down
Loading

0 comments on commit daebd7d

Please sign in to comment.