Skip to content

Commit

Permalink
[DinoMod]Add monster Pachycephalosaurus (#39486)
Browse files Browse the repository at this point in the history
* [DinoMod]Add monster Pachycephalosaurus

New content, adds egg laying and rideable Pachycephalosaurus, tougher and less common than gallimimus

* Linted

* Added pachycephalosaurus egg

Required for the new pachycephalosaurus monster to not break Dino Mod. Linted.

* Added dimorphodon eggs

Needed another edit to reset the tests now that they're working. Added dimorphodon eggs to set up egg laying for that monster. Linted.

* corrected name of dimorphodon egg to match

corrected copy-paste error
  • Loading branch information
LyleSY authored Apr 14, 2020
1 parent 7867cd8 commit acedd25
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 0 deletions.
57 changes: 57 additions & 0 deletions data/mods/DinoMod/dinosaur.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,48 @@
"fear_triggers": [ "SOUND", "PLAYER_CLOSE", "HURT", "FIRE" ],
"categories": [ "DINOSAUR" ]
},
{
"type": "MONSTER",
"id": "mon_pachycephalosaurus",
"name": { "str": "Pachycephalosaurus", "str_pl": "Pachycephalosaurus" },
"species": "DINOSAUR",
"default_faction": "pachycephalosaurus",
"symbol": "D",
"color": "light_green_yellow",
"volume": "450000 ml",
"weight": "450 kg",
"material": "flesh",
"aggression": -40,
"morale": -10,
"speed": 150,
"melee_skill": 4,
"melee_dice": 1,
"melee_dice_sides": 4,
"dodge": 3,
"armor_bash": 2,
"armor_cut": 1,
"hp": 40,
"death_function": [ "NORMAL" ],
"description": "A feathered bipedal dinosaur, standing as tall as a human. It looks like a reptilian ostrich with a round hard-looking domed head.",
"reproduction": { "baby_egg": "egg_pachycephalosaurus", "baby_count": 3, "baby_timer": 12 },
"baby_flags": [ "SPRING", "SUMMER" ],
"biosignature": { "biosig_item": "feces_bird", "biosig_timer": 3 },
"flags": [
"SEES",
"SMELLS",
"HEARS",
"GOODHEARING",
"ANIMAL",
"PATH_AVOID_DANGER_1",
"PET_MOUNTABLE",
"CATTLEFODDER",
"PET_WONT_FOLLOW",
"WARM"
],
"harvest": "dino_feather_leather",
"fear_triggers": [ "SOUND", "PLAYER_CLOSE", "HURT", "FIRE" ],
"categories": [ "DINOSAUR" ]
},
{
"type": "MONSTER",
"id": "mon_spinosaurus",
Expand Down Expand Up @@ -595,6 +637,13 @@
"name": "light green and yellow hatchling",
"upgrades": { "age_grow": 20, "into": "mon_gallimimus" }
},
{
"id": "mon_pachycephalosaurus_hatchling",
"type": "MONSTER",
"copy-from": "mon_compsognathus_hatchling",
"name": "light green and yellow hatchling",
"upgrades": { "age_grow": 20, "into": "mon_pachycephalosaurus" }
},
{
"id": "mon_spinosaurus_hatchling",
"type": "MONSTER",
Expand Down Expand Up @@ -686,6 +735,7 @@
"monsters": [
{ "monster": "mon_compsognathus", "freq": 100, "cost_multiplier": 0, "pack_size": [ 4, 12 ] },
{ "monster": "mon_gallimimus", "freq": 50, "cost_multiplier": 0, "pack_size": [ 4, 8 ] },
{ "monster": "mon_pachycephalosaurus", "freq": 25, "cost_multiplier": 0, "pack_size": [ 1, 2 ] },
{ "monster": "mon_spinosaurus", "freq": 1, "cost_multiplier": 50 },
{ "monster": "mon_tyrannosaurus", "freq": 1, "cost_multiplier": 40 },
{ "monster": "mon_triceratops", "freq": 3, "cost_multiplier": 30, "pack_size": [ 1, 2 ] },
Expand Down Expand Up @@ -763,6 +813,13 @@
"pack_size": [ 4, 8 ],
"conditions": [ "SPRING", "SUMMER", "AUTUMN" ]
},
{
"monster": "mon_pachycephalosaurus",
"freq": 10,
"cost_multiplier": 0,
"pack_size": [ 1, 2 ],
"conditions": [ "SPRING", "SUMMER", "AUTUMN" ]
},
{
"monster": "mon_stegosaurus",
"freq": 10,
Expand Down
12 changes: 12 additions & 0 deletions data/mods/DinoMod/egg.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@
"name": "gallimimus egg",
"copy-from": "egg_dino"
},
{
"type": "COMESTIBLE",
"id": "egg_pachycephalosaurus",
"name": "pachycephalosaurus egg",
"copy-from": "egg_dino"
},
{
"type": "COMESTIBLE",
"id": "egg_spinosaurus",
Expand Down Expand Up @@ -99,6 +105,12 @@
"name": "parasaurolophus egg",
"copy-from": "egg_dino"
},
{
"type": "COMESTIBLE",
"id": "egg_dimorphodon",
"name": "dimorphodon egg",
"copy-from": "egg_dino"
},
{
"type": "COMESTIBLE",
"id": "egg_dilophosaurus",
Expand Down

0 comments on commit acedd25

Please sign in to comment.