Skip to content

Commit

Permalink
Add option to raise the visor to motorcycle helmet
Browse files Browse the repository at this point in the history
Copies entire entry, replace using copy-from once CleverRaven#43144 will get merged
  • Loading branch information
Salty-Panda committed Apr 17, 2021
1 parent fa0b7d6 commit 0da8905
Showing 1 changed file with 31 additions and 2 deletions.
33 changes: 31 additions & 2 deletions data/json/items/armor/helmets.json
Original file line number Diff line number Diff line change
Expand Up @@ -507,10 +507,10 @@
{
"id": "helmet_motor",
"repairs_like": "nomex_hood",
"type": "ARMOR",
"type": "TOOL_ARMOR",
"category": "armor",
"name": { "str": "motorcycle helmet" },
"description": "A helmet with covers for your head and chin, leaving space in-between for you to wear goggles.",
"description": "A helmet with covers for your head and chin, leaving space in-between for you to wear goggles. Activate to raise the visor.",
"weight": "1587 g",
"volume": "2250 ml",
"price": 32500,
Expand All @@ -525,6 +525,35 @@
{ "covers": [ "eyes" ], "coverage": 100, "encumbrance": 5 },
{ "covers": [ "mouth" ], "coverage": 100, "encumbrance": 15 }
],
"use_action": { "type": "transform", "target": "helmet_motor_raised", "msg": "You raise your visor." },
"warmth": 30,
"material_thickness": 6,
"environmental_protection": 1,
"techniques": [ "WBLOCK_1" ],
"qualities": [ [ "GLARE", 1 ] ],
"flags": [ "WATERPROOF", "STURDY" ]
},
{
"id": "helmet_motor_raised",
"//": "Can't use copy-from and armor_portion_data at the same time, clear up this item once #43144 will be merged",
"repairs_like": "nomex_hood",
"type": "TOOL_ARMOR",
"category": "armor",
"name": { "str": "motorcycle helmet (raised visor)", "str_pl": "motorcycle helmet (raised visor)" },
"description": "A helmet with covers for your head and chin, leaving space in-between for you to wear goggles. The visor is raised. Activate to put down the visor.",
"weight": "1587 g",
"volume": "2250 ml",
"price": 32500,
"price_postapoc": 750,
"to_hit": -1,
"bashing": 7,
"material": [ "plastic", "nomex" ],
"symbol": "[",
"color": "dark_gray",
"armor_portion_data": [
{ "covers": [ "head" ], "coverage": 100, "encumbrance": 25 }
],
"use_action": { "type": "transform", "target": "helmet_motor", "msg": "You put down your visor." },
"warmth": 30,
"material_thickness": 6,
"environmental_protection": 1,
Expand Down

0 comments on commit 0da8905

Please sign in to comment.