Skip to content

Commit

Permalink
[DinoMod] dino carriers (#60630)
Browse files Browse the repository at this point in the history
* [DinoMod] dino carriers

* add wood variant to innawoods

* revert innawood change

* Create recipe_others.json

* spawn in dino locations

* Update pets.json

* Update pets.json

* Update pets.json
  • Loading branch information
LyleSY authored Sep 1, 2022
1 parent 1bd284a commit 38b75ae
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 69 deletions.
72 changes: 3 additions & 69 deletions data/mods/DinoMod/items/itemgroups.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,77 +132,11 @@
{ "item": "sweater_armor_ostrich", "prob": 10, "event": "christmas" },
{ "item": "iron_armor_ostrich", "prob": 10 },
{ "item": "steel_armor_ostrich", "prob": 10 },
{ "item": "bronze_armor_ostrich", "prob": 10 }
{ "item": "bronze_armor_ostrich", "prob": 10 },
{ "item": "dino_carrier", "prob": 10 },
{ "item": "dino_carrier_wooden", "prob": 10 }
]
},
{
"type": "item_group",
"id": "rare",
"magazine": 100,
"subtype": "distribution",
"copy-from": "rare",
"extend": {
"entries": [
{ "item": "kiernans_notes", "prob": 10 },
{ "item": "kevlar_armor_elephant", "prob": 10 },
{ "item": "acidchitin_armor_elephant", "prob": 10 },
{ "item": "chitin_armor_elephant", "prob": 10 },
{ "item": "chainmail_armor_elephant", "prob": 10 },
{ "item": "leather_armor_elephant", "prob": 10 },
{ "item": "leatherbone_armor_elephant", "prob": 10 },
{ "item": "rubber_armor_elephant", "prob": 10 },
{ "item": "sweater_armor_elephant", "prob": 10, "event": "christmas" },
{ "item": "iron_armor_elephant", "prob": 10 },
{ "item": "steel_armor_elephant", "prob": 10 },
{ "item": "bronze_armor_elephant", "prob": 10 },
{ "item": "kevlar_armor_ostrich", "prob": 10 },
{ "item": "acidchitin_armor_ostrich", "prob": 10 },
{ "item": "chitin_armor_ostrich", "prob": 10 },
{ "item": "chainmail_armor_ostrich", "prob": 10 },
{ "item": "leather_armor_ostrich", "prob": 10 },
{ "item": "leatherbone_armor_ostrich", "prob": 10 },
{ "item": "rubber_armor_ostrich", "prob": 10 },
{ "item": "sweater_armor_ostrich", "prob": 10, "event": "christmas" },
{ "item": "iron_armor_ostrich", "prob": 10 },
{ "item": "steel_armor_ostrich", "prob": 10 },
{ "item": "bronze_armor_ostrich", "prob": 10 }
]
}
},
{
"type": "item_group",
"id": "spider",
"magazine": 100,
"subtype": "distribution",
"copy-from": "spider",
"extend": {
"entries": [
{ "item": "kiernans_notes", "prob": 10 },
{ "item": "kevlar_armor_elephant", "prob": 10 },
{ "item": "acidchitin_armor_elephant", "prob": 10 },
{ "item": "chitin_armor_elephant", "prob": 10 },
{ "item": "chainmail_armor_elephant", "prob": 10 },
{ "item": "leather_armor_elephant", "prob": 10 },
{ "item": "leatherbone_armor_elephant", "prob": 10 },
{ "item": "rubber_armor_elephant", "prob": 10 },
{ "item": "sweater_armor_elephant", "prob": 10, "event": "christmas" },
{ "item": "iron_armor_elephant", "prob": 10 },
{ "item": "steel_armor_elephant", "prob": 10 },
{ "item": "bronze_armor_elephant", "prob": 10 },
{ "item": "kevlar_armor_ostrich", "prob": 10 },
{ "item": "acidchitin_armor_ostrich", "prob": 10 },
{ "item": "chitin_armor_ostrich", "prob": 10 },
{ "item": "chainmail_armor_ostrich", "prob": 10 },
{ "item": "leather_armor_ostrich", "prob": 10 },
{ "item": "leatherbone_armor_ostrich", "prob": 10 },
{ "item": "rubber_armor_ostrich", "prob": 10 },
{ "item": "sweater_armor_ostrich", "prob": 10, "event": "christmas" },
{ "item": "iron_armor_ostrich", "prob": 10 },
{ "item": "steel_armor_ostrich", "prob": 10 },
{ "item": "bronze_armor_ostrich", "prob": 10 }
]
}
},
{
"type": "item_group",
"id": "museum_armor_pet",
Expand Down
40 changes: 40 additions & 0 deletions data/mods/DinoMod/items/pets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
[
{
"id": "dino_carrier",
"type": "TOOL",
"name": { "str": "large pet carrier" },
"description": "A sturdy reinforced plastic container meant to hold dinosaurs for transport. Use it on a suitable animal to capture, use it on an empty tile to release.",
"weight": "10000 g",
"volume": "50 L",
"price": 2000,
"price_postapoc": 200,
"bashing": 1,
"cutting": 1,
"material": [ "steel", "plastic" ],
"symbol": "#",
"color": "light_gray",
"properties": [ [ "creature_size_capacity", "HUGE" ] ],
"use_action": [ "CAPTURE_MONSTER_ACT" ],
"flags": [ "TRADER_AVOID" ],
"looks_like": "pet_carrier"
},
{
"id": "dino_carrier_wooden",
"type": "TOOL",
"name": { "str": "large wooden pet carrier" },
"description": "A sturdy reinforced wooden container meant to hold dinosaurs for transport. Use it on a suitable animal to capture, use it on an empty tile to release.",
"weight": "15000 g",
"volume": "50 L",
"price": 1600,
"price_postapoc": 100,
"bashing": 1,
"cutting": 1,
"material": [ "wood" ],
"symbol": "#",
"color": "brown",
"properties": [ [ "creature_size_capacity", "HUGE" ] ],
"use_action": [ "CAPTURE_MONSTER_ACT" ],
"flags": [ "TRADER_AVOID" ],
"looks_like": "pet_carrier"
}
]
16 changes: 16 additions & 0 deletions data/mods/DinoMod/recipes/recipe_others.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[
{
"type": "recipe",
"activity_level": "MODERATE_EXERCISE",
"result": "dino_carrier_wooden",
"category": "CC_OTHER",
"subcategory": "CSC_OTHER_OTHER",
"skill_used": "fabrication",
"difficulty": 3,
"time": "4 h",
"reversible": true,
"autolearn": true,
"qualities": [ { "id": "HAMMER", "level": 2 }, { "id": "SAW_W", "level": 2 } ],
"components": [ [ [ "2x4", 40 ] ], [ [ "nail", 200 ] ], [ [ "hinge", 2 ] ] ]
}
]

0 comments on commit 38b75ae

Please sign in to comment.