Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DinoMod] dino carriers #60630

Merged
merged 8 commits into from
Sep 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 ] ] ]
}
]