Skip to content

Commit

Permalink
Add espadrilles (#74490)
Browse files Browse the repository at this point in the history
* initial commit

* str_pl to str_sp

* add an actual description

* add xl and xs versions

* fix result ids

* adjust amount of material needed to craft

* doubled the amount of material because I'm silly

* update and add recipes

* add an id_suffix to the new recipes
  • Loading branch information
BalthazarArgall authored Jun 16, 2024
1 parent 051fbd5 commit ae7671a
Show file tree
Hide file tree
Showing 8 changed files with 117 additions and 4 deletions.
9 changes: 6 additions & 3 deletions data/json/itemgroups/Clothing_Gear/clothing.json
Original file line number Diff line number Diff line change
Expand Up @@ -1447,7 +1447,7 @@
{
"id": "dress_shoes",
"type": "item_group",
"items": [ [ "dress_shoes", 50 ], [ "heels", 50 ], [ "leathersandals", 20 ] ]
"items": [ [ "dress_shoes", 50 ], [ "heels", 50 ], [ "espadrilles", 20 ] ]
},
{
"id": "wedding_dresses",
Expand Down Expand Up @@ -1781,6 +1781,7 @@
[ "boots_western", 10 ],
[ "clogs", 1 ],
[ "leathersandals", 10 ],
[ "espadrilles", 5 ],
[ "rollerskates", 1 ],
[ "roller_blades", 5 ],
[ "roller_shoes_off", 1 ],
Expand Down Expand Up @@ -2084,6 +2085,7 @@
[ "boots_western", 60 ],
[ "clogs", 60 ],
[ "leathersandals", 100 ],
[ "espadrilles", 50 ],
[ "rollerskates", 10 ],
[ "roller_blades", 20 ],
[ "roller_shoes_off", 10 ],
Expand Down Expand Up @@ -2686,7 +2688,7 @@
[ "wetsuit_booties_thick", 5 ],
[ "bastsandals", 5 ],
[ "straw_sandals", 5 ],
[ "leathersandals", 5 ]
[ "espadrilles", 5 ]
]
},
{
Expand Down Expand Up @@ -4358,7 +4360,8 @@
{ "item": "straw_sandals", "prob": 20 },
{ "item": "flip_flops", "prob": 40 },
{ "item": "flip_flops_exp", "prob": 5 },
{ "item": "leathersandals", "prob": 35 }
{ "item": "leathersandals", "prob": 35 },
{ "item": "espadrilles", "prob": 20 }
],
"prob": 60
},
Expand Down
2 changes: 1 addition & 1 deletion data/json/itemgroups/Clothing_Gear/gear_civilian.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@
{ "item": "flip_flops", "prob": 35 },
{ "item": "flip_flops_exp", "prob": 5 },
{ "item": "leathersandals", "prob": 40 },
{ "item": "straw_sandals", "prob": 20 },
{ "item": "espadrilles", "prob": 20 },
{ "item": "bastsandals", "prob": 20 },
{ "item": "sneakers_steel", "prob": 20 },
{ "item": "knee_high_boots", "prob": 20 },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,7 @@
[ "alarmclock", 5 ],
[ "bagh_nakha", 2 ],
[ "leathersandals", 10 ],
[ "espadrilles", 5 ],
[ "maid_dress", 3 ],
[ "maid_dress_short", 3 ],
[ "maid_hat", 3 ],
Expand Down
1 change: 1 addition & 0 deletions data/json/itemgroups/Locations_MapExtras/mansion.json
Original file line number Diff line number Diff line change
Expand Up @@ -933,6 +933,7 @@
[ "shark_plushie", 10 ],
[ "bottle_plastic", 30 ],
[ "leathersandals", 30 ],
[ "espadrilles", 15 ],
[ "leather_belt", 30 ],
[ "bag_plastic", 30 ],
[ "shot_hull", 30 ],
Expand Down
1 change: 1 addition & 0 deletions data/json/itemgroups/activities_hobbies.json
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,7 @@
[ "whistle", 20 ],
[ "charcoal", 20 ],
[ "leathersandals", 10 ],
[ "espadrilles", 5 ],
[ "bullwhip", 1 ],
[ "grapnel", 1 ],
[ "razor_blade", 9 ],
Expand Down
2 changes: 2 additions & 0 deletions data/json/itemgroups/collections_domestic.json
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,7 @@
{ "item": "smoxygen_tank", "prob": 1, "charges": [ 0, 24 ] },
{ "group": "religious_books", "prob": 38 },
{ "item": "leathersandals", "prob": 25 },
{ "item": "espadrilles", "prob": 15 },
{ "item": "phonebook", "prob": 5 },
{ "item": "survnote", "prob": 1 },
{ "group": "toy_radio_car", "prob": 2 },
Expand Down Expand Up @@ -1218,6 +1219,7 @@
{ "group": "religious_books", "prob": 38 },
{ "item": "mouthpiece", "prob": 1 },
{ "item": "leathersandals", "prob": 25 },
{ "item": "espadrilles", "prob": 15 },
{ "item": "survnote", "prob": 2 },
{ "item": "mask_guy_fawkes", "prob": 5 },
{ "item": "magnifying_glass", "prob": 2 },
Expand Down
49 changes: 49 additions & 0 deletions data/json/items/armor/boots.json
Original file line number Diff line number Diff line change
Expand Up @@ -3384,5 +3384,54 @@
"name": { "str": "tempered steel sabaton" },
"proportional": { "weight": 1.25, "volume": 1.25 },
"extend": { "flags": [ "OVERSIZE", "PREFIX_XL" ] }
},
{
"id": "espadrilles",
"category": "armor",
"type": "ARMOR",
"name": { "str_sp": "espadrilles" },
"description": "Originating from the Pyrenees and made from a rope sole and cloth, these shoes are perfect for the hot weather, sipping Sangria and dodging tourists.",
"looks_like": "leathersandals",
"price": "20 USD",
"price_postapoc": "10 USD",
"symbol": "[",
"volume": "600 ml",
"weight": "500 g",
"flags": [ "VARSIZE" ],
"warmth": 2,
"armor": [
{
"layers": [ "NORMAL" ],
"encumbrance": 4,
"coverage": 100,
"covers": [ "foot_l", "foot_r" ],
"specifically_covers": [ "foot_toes_r", "foot_toes_l", "foot_heel_r", "foot_heel_l" ],
"material": [ { "type": "cotton", "thickness": 1 } ]
},
{
"layers": [ "NORMAL" ],
"encumbrance": 0,
"coverage": 100,
"covers": [ "foot_l", "foot_r" ],
"specifically_covers": [ "foot_arch_r", "foot_arch_l", "foot_sole_r", "foot_sole_l" ],
"material": [ { "type": "dry_plant", "thickness": 6 } ]
}
]
},
{
"id": "xl_espadrilles",
"copy-from": "espadrilles",
"type": "ARMOR",
"name": { "str_sp": "espadrilles" },
"extend": { "flags": [ "PREFIX_XL", "OVERSIZE" ] },
"proportional": { "weight": 1.5, "volume": 1.5 }
},
{
"id": "xs_espadrilles",
"copy-from": "espadrilles",
"type": "ARMOR",
"name": { "str_sp": "espadrilles" },
"extend": { "flags": [ "PREFIX_XS", "UNDERSIZE" ] },
"proportional": { "weight": 0.5, "volume": 0.5 }
}
]
56 changes: 56 additions & 0 deletions data/json/recipes/armor/feet.json
Original file line number Diff line number Diff line change
Expand Up @@ -1955,5 +1955,61 @@
],
"qualities": [ { "id": "CHISEL", "level": 3 } ],
"tools": [ [ [ "hotcut_any", 1, "LIST" ] ], [ [ "metal_tank", -1 ] ], [ [ "water", -120 ], [ "water_clean", -120 ] ] ]
},
{
"result": "espadrilles",
"type": "recipe",
"activity_level": "NO_EXERCISE",
"category": "CC_ARMOR",
"subcategory": "CSC_ARMOR_FEET",
"skill_used": "tailor",
"difficulty": 2,
"time": "3 h",
"autolearn": true,
"qualities": [ { "id": "CUT", "level": 2 } ],
"using": [ [ "tailoring_cotton", 1 ] ],
"proficiencies": [ { "proficiency": "prof_basketweaving" } ],
"components": [ [ [ "filament", 900, "LIST" ] ] ]
},
{
"copy-from": "espadrilles",
"result": "espadrilles",
"id_suffix": "from_rope",
"type": "recipe",
"time": "2 h",
"components": [ [ [ "rope_natural_short", 1, "LIST" ] ] ],
"byproducts": [ [ "string_36", 3 ] ]
},
{
"copy-from": "espadrilles",
"result": "xl_espadrilles",
"type": "recipe",
"using": [ [ "tailoring_cotton", 1.5 ] ],
"components": [ [ [ "filament", 1200, "LIST" ] ] ]
},
{
"copy-from": "xl_espadrilles",
"result": "xl_espadrilles",
"id_suffix": "from_rope",
"type": "recipe",
"time": "2 h",
"components": [ [ [ "rope_natural_short", 1, "LIST" ] ] ],
"byproducts": [ [ "string_36", 2 ] ]
},
{
"copy-from": "espadrilles",
"result": "xs_espadrilles",
"type": "recipe",
"using": [ [ "tailoring_cotton", 1 ] ],
"components": [ [ [ "filament", 600, "LIST" ] ] ]
},
{
"copy-from": "xs_espadrilles",
"result": "xs_espadrilles",
"id_suffix": "from_rope",
"type": "recipe",
"time": "2 h",
"components": [ [ [ "rope_natural_short", 1, "LIST" ] ] ],
"byproducts": [ [ "string_36", 4 ] ]
}
]

0 comments on commit ae7671a

Please sign in to comment.