Skip to content

Commit

Permalink
Add more primitive clothing
Browse files Browse the repository at this point in the history
  • Loading branch information
Rail-Runner authored and anothersimulacrum committed Dec 23, 2020
1 parent 99a9e91 commit c681fcd
Show file tree
Hide file tree
Showing 13 changed files with 355 additions and 0 deletions.
22 changes: 22 additions & 0 deletions data/json/items/armor/coats.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,28 @@
"environmental_protection": 3,
"flags": [ "VARSIZE", "POCKETS", "WATERPROOF", "RAINPROOF", "HOOD", "OUTER" ]
},
{
"id": "coat_straw",
"type": "ARMOR",
"name": { "str": "straw cape" },
"description": "A bulky traditional Japanese raincoat made from straw, which covers the entire body. Also known as mino.",
"weight": "907 g",
"volume": "4 L",
"price": 9000,
"price_postapoc": 25,
"material": [ "dry_plant" ],
"symbol": "[",
"looks_like": "coat_winter",
"color": "yellow",
"armor_portion_data": [
{ "covers": [ "torso" ], "coverage": 95, "encumbrance": 12 },
{ "covers": [ "arm_l", "arm_r" ], "coverage": 40, "encumbrance": 2 },
{ "covers": [ "leg_l", "leg_r" ], "coverage": 50, "encumbrance": 0 }
],
"warmth": 15,
"material_thickness": 2,
"flags": [ "VARSIZE", "WATERPROOF", "OUTER" ]
},
{
"id": "coat_gut",
"type": "ARMOR",
Expand Down
18 changes: 18 additions & 0 deletions data/json/items/armor/hats.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,24 @@
"environmental_protection": 1,
"flags": [ "FANCY", "VARSIZE" ]
},
{
"id": "chaplet",
"type": "ARMOR",
"name": { "str": "chaplet" },
"description": "A headdress in the form of wreath made from plant material and woven into a ring.",
"weight": "46 g",
"volume": "150 ml",
"price": 100,
"price_postapoc": 10,
"material": [ "dry_plant" ],
"symbol": "[",
"looks_like": "hat_cotton",
"color": "dark_gray",
"covers": [ "head" ],
"coverage": 40,
"material_thickness": 1,
"flags": [ "OVERSIZE", "WATER_FRIENDLY", "ALLOWS_NATURAL_ATTACKS" ]
},
{
"id": "cowboy_hat",
"type": "ARMOR",
Expand Down
18 changes: 18 additions & 0 deletions data/json/items/armor/legs_clothes.json
Original file line number Diff line number Diff line change
Expand Up @@ -685,6 +685,24 @@
"material_thickness": 1,
"flags": [ "VARSIZE" ]
},
{
"id": "skirt_grass",
"type": "ARMOR",
"name": { "str": "grass skirt" },
"description": "A primitive skirt made from grass. Not actually useful for much other than looking like a tribal person.",
"weight": "72 g",
"volume": "500 ml",
"price": 100,
"price_postapoc": 5,
"material": [ "dry_plant" ],
"symbol": "[",
"looks_like": "kilt",
"color": "yellow",
"covers": [ "leg_l", "leg_r" ],
"coverage": 35,
"material_thickness": 1,
"flags": [ "VARSIZE", "OVERSIZE", "WATER_FRIENDLY" ]
},
{
"id": "skirt_leather",
"repairs_like": "pants_leather",
Expand Down
66 changes: 66 additions & 0 deletions data/json/items/armor/sheath.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,40 @@
"use_action": { "type": "holster", "holster_prompt": "Sheath knife", "holster_msg": "You sheath your %s" },
"flags": [ "BELTED", "OVERSIZE", "ALLOWS_NATURAL_ATTACKS", "WATER_FRIENDLY", "NOT_FOOTWEAR" ]
},
{
"id": "bootsheath_birchbark",
"type": "ARMOR",
"name": { "str": "birchbark ankle sheath", "str_pl": "birchbark ankle sheathes" },
"description": "A handcrafted small concealed knife sheath worn on the ankle, made from birch bark. It is awkward to use without practice. Activate to sheathe/draw a weapon.",
"weight": "190 g",
"volume": "500 ml",
"price": 1200,
"price_postapoc": 150,
"to_hit": -1,
"material": [ "wood" ],
"symbol": "[",
"looks_like": "bootsheath",
"color": "brown",
"covers": [ "foot_l", "foot_r" ],
"sided": true,
"coverage": 5,
"encumbrance": 2,
"max_encumbrance": 3,
"material_thickness": 1,
"pocket_data": [
{
"magazine_well": "200 ml",
"holster": true,
"flag_restriction": [ "SHEATH_KNIFE" ],
"moves": 35,
"max_contains_volume": "500 ml",
"max_contains_weight": "1 kg",
"max_item_length": "30 cm"
}
],
"use_action": { "type": "holster", "holster_prompt": "Sheath knife", "holster_msg": "You sheath your %s" },
"flags": [ "BELTED", "OVERSIZE", "ALLOWS_NATURAL_ATTACKS", "WATER_FRIENDLY", "NOT_FOOTWEAR" ]
},
{
"id": "bscabbard",
"type": "ARMOR",
Expand Down Expand Up @@ -195,6 +229,38 @@
"use_action": { "type": "holster", "holster_prompt": "Sheath knife", "holster_msg": "You sheath your %s" },
"flags": [ "WAIST", "OVERSIZE", "WATER_FRIENDLY" ]
},
{
"id": "sheath_birchbark",
"type": "ARMOR",
"name": { "str": "birchbark sheath", "str_pl": "birchbark sheathes" },
"description": "A handcrafted sheath made from birch bark, for holding knives and other small blades, with a strap attached. Activate to sheathe/draw a weapon.",
"weight": "250 g",
"volume": "500 ml",
"price": 1500,
"price_postapoc": 200,
"material": [ "wood" ],
"symbol": "|",
"looks_like": "sheath",
"color": "brown",
"covers": [ "leg_l", "leg_r" ],
"sided": true,
"coverage": 5,
"max_encumbrance": 1,
"material_thickness": 1,
"pocket_data": [
{
"magazine_well": "350 ml",
"holster": true,
"max_contains_volume": "750 ml",
"max_contains_weight": "2 kg",
"max_item_length": "70 cm",
"moves": 25,
"flag_restriction": [ "SHEATH_KNIFE" ]
}
],
"use_action": { "type": "holster", "holster_prompt": "Sheath knife", "holster_msg": "You sheath your %s" },
"flags": [ "WAIST", "OVERSIZE", "WATER_FRIENDLY" ]
},
{
"id": "spearsling",
"type": "ARMOR",
Expand Down
57 changes: 57 additions & 0 deletions data/json/items/armor/storage.json
Original file line number Diff line number Diff line change
Expand Up @@ -959,6 +959,34 @@
"material_thickness": 2,
"flags": [ "BELTED", "WATER_FRIENDLY" ]
},
{
"id": "net_backpack",
"type": "ARMOR",
"name": { "str": "net backpack" },
"description": "A bag woven together from strings, with straps to wear it on back. Lighter than a standard backpack, but more awkward to carry when loaded and unable to hold small or heavy items.",
"weight": "192 g",
"volume": "750 ml",
"price": 1000,
"material": [ "cotton" ],
"symbol": "[",
"color": "green",
"covers": [ "torso" ],
"coverage": 20,
"encumbrance": 1,
"max_encumbrance": 25,
"pocket_data": [
{
"pocket_type": "CONTAINER",
"min_item_volume": "100 ml",
"max_contains_volume": "15 L",
"max_contains_weight": "8 kg",
"max_item_length": "40 cm",
"moves": 300
}
],
"material_thickness": 1,
"flags": [ "BELTED", "WATER_FRIENDLY" ]
},
{
"id": "petpack",
"type": "ARMOR",
Expand Down Expand Up @@ -1554,6 +1582,35 @@
"material_thickness": 2,
"flags": [ "VARSIZE" ]
},
{
"id": "wicker_backpack",
"type": "ARMOR",
"name": { "str": "wicker backpack" },
"description": "A large handmade straw basket with a lid and shoulder straps to wear it like a backpack. Less comfortable than a proper backpack, but will do the job.",
"weight": "712 g",
"volume": "15004 ml",
"longest_side": "42 cm",
"price": 1000,
"material": [ "dry_plant" ],
"symbol": "[",
"color": "green",
"covers": [ "torso" ],
"coverage": 25,
"encumbrance": 5,
"max_encumbrance": 20,
"pocket_data": [
{
"pocket_type": "CONTAINER",
"rigid": true,
"max_contains_volume": "15 L",
"max_contains_weight": "20 kg",
"max_item_length": "35 cm",
"moves": 300
}
],
"material_thickness": 2,
"flags": [ "BELTED", "WATER_FRIENDLY" ]
},
{
"id": "debug_backpack",
"type": "ARMOR",
Expand Down
21 changes: 21 additions & 0 deletions data/json/items/armor/torso_clothes.json
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,27 @@
"material_thickness": 1,
"flags": [ "VARSIZE" ]
},
{
"id": "shirt_straw",
"type": "ARMOR",
"name": { "str": "grass shirt" },
"description": "A crude and bulky short-sleeved shirt woven from grass. Definitely not the most comfortable thing to wear.",
"weight": "500 g",
"volume": "2500 ml",
"price": 100,
"price_postapoc": 5,
"material": [ "dry_plant" ],
"symbol": "[",
"looks_like": "camisole",
"color": "yellow",
"armor_portion_data": [
{ "covers": [ "torso" ], "coverage": 90, "encumbrance": 8 },
{ "covers": [ "arm_l", "arm_r" ], "coverage": 25, "encumbrance": 1 }
],
"warmth": 5,
"material_thickness": 1,
"flags": [ "VARSIZE" ]
},
{
"id": "striped_shirt",
"repairs_like": "tshirt",
Expand Down
13 changes: 13 additions & 0 deletions data/json/items/resources/tailoring.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
[
{
"type": "GENERIC",
"id": "grass_yarn",
"symbol": ",",
"color": "light_gray",
"name": { "str": "grass yarn" },
"category": "spare_parts",
"description": "Some primitive yarn made from coarse plant fibers like straw or grass. Too thick to sew with, but could be woven into a crude sheet of fabric.",
"price": 10,
"material": [ "dry_plant" ],
"weight": "100 g",
"volume": "250 ml"
},
{
"id": "scrap_cotton",
"type": "AMMO",
Expand Down
10 changes: 10 additions & 0 deletions data/json/proficiencies/tailoring.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,16 @@
"default_fail_multiplier": 4,
"time_to_learn": "6 h"
},
{
"type": "proficiency",
"id": "prof_weaving",
"name": { "str": "Weaving" },
"description": "You've learned how to use a loom to produce sheets of fabric from thread.",
"can_learn": true,
"default_time_multiplier": 2,
"default_fail_multiplier": 4,
"time_to_learn": "6 h"
},
{
"type": "proficiency",
"id": "prof_millinery",
Expand Down
13 changes: 13 additions & 0 deletions data/json/recipes/armor/head.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,19 @@
],
"flags": [ "BLIND_EASY", "NO_RESIZE" ]
},
{
"result": "chaplet",
"type": "recipe",
"activity_level": "NO_EXERCISE",
"category": "CC_ARMOR",
"subcategory": "CSC_ARMOR_LEGS",
"skill_used": "tailor",
"difficulty": 1,
"time": "20 m",
"autolearn": true,
"qualities": [ { "id": "CUT", "level": 1 } ],
"components": [ [ [ "straw_pile", 2 ], [ "withered", 2 ] ], [ [ "cordage_short", 1, "LIST" ] ] ]
},
{
"result": "cowboy_hat",
"type": "recipe",
Expand Down
13 changes: 13 additions & 0 deletions data/json/recipes/armor/legs.json
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,19 @@
"byproducts": [ [ "rag", 4 ] ],
"components": [ [ [ "jeans", 1 ] ] ]
},
{
"result": "skirt_grass",
"type": "recipe",
"activity_level": "NO_EXERCISE",
"category": "CC_ARMOR",
"subcategory": "CSC_ARMOR_LEGS",
"skill_used": "tailor",
"difficulty": 2,
"time": "1 h",
"autolearn": true,
"qualities": [ { "id": "CUT", "level": 1 } ],
"components": [ [ [ "straw_pile", 3 ], [ "withered", 3 ] ], [ [ "cordage_short", 2, "LIST" ] ] ]
},
{
"result": "stockings_tent_legs",
"type": "recipe",
Expand Down
Loading

0 comments on commit c681fcd

Please sign in to comment.