Skip to content

Commit

Permalink
Apply review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
irwiss committed Aug 29, 2022
1 parent de51069 commit 5c91d79
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion data/json/items/tool/unfoldable.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"type": "TOOL",
"copy-from": "generic_folded_vehicle",
"name": { "str": "inflatable boat" },
"description": "This rubber rowboat (oars included) is deflated for storage. Activate it (having an air pump in inventory) to inflate and launch.",
"description": "This rubber rowboat (oars included) is deflated for storage. Activate it, having an air pump in inventory, to inflate and launch.",
"weight": "32420 g",
"volume": "9000 ml",
"symbol": "0",
Expand Down
4 changes: 4 additions & 0 deletions data/json/vehicleparts/vehicle_parts.json
Original file line number Diff line number Diff line change
Expand Up @@ -1178,7 +1178,9 @@
"item": "inflatable_section",
"location": "structure",
"folded_volume": "750 ml",
"folding_time": "60 seconds",
"unfolding_tools": [ "hand_pump" ],
"unfolding_time": "150 seconds",
"requirements": {
"install": { "skills": [ [ "mechanics", 3 ] ], "time": "60 m", "using": [ [ "vehicle_screw", 1 ], [ "drilling_standard", 1 ] ] },
"removal": { "skills": [ [ "mechanics", 2 ] ], "time": "30 m", "using": [ [ "vehicle_screw", 1 ] ] },
Expand All @@ -1202,7 +1204,9 @@
"item": "inflatable_airbag",
"location": "under",
"folded_volume": "750 ml",
"folding_time": "60 seconds",
"unfolding_tools": [ "hand_pump" ],
"unfolding_time": "150 seconds",
"requirements": {
"install": { "skills": [ [ "mechanics", 2 ] ], "time": "60 m", "using": [ [ "vehicle_screw", 1 ], [ "drilling_standard", 1 ] ] },
"removal": { "skills": [ [ "mechanics", 2 ] ], "time": "30 m", "using": [ [ "vehicle_screw", 1 ] ] },
Expand Down
13 changes: 5 additions & 8 deletions doc/JSON_INFO.md
Original file line number Diff line number Diff line change
Expand Up @@ -2816,8 +2816,11 @@ Vehicle components when installed on a vehicle.
{ "id": "hotplate", "hotkey": "h" },
{ "id": "pot" }
],
"fold_tools": [ "needle" ], // tool itype_ids required for folding
"unfold_tools": [ "hand_pump" ], // tool itype_ids required for unfolding
"folded_volume": "750 ml", // volume this vpart takes in folded form
"folding_tools": [ "needle_curved" ], // tool itype_ids required for folding
"folding_time": "100 seconds", // time to fold this part
"unfolding_tools": [ "hand_pump" ], // tool itype_ids required for unfolding
"unfolding_time": "150 seconds", // time to unfold this part
"damage_reduction" : { // Flat reduction of damage, as described below. If not specified, set to zero
"all" : 10,
"physical" : 5
Expand Down Expand Up @@ -3972,12 +3975,6 @@ The contents of use_action fields can either be a string indicating a built-in f
"waterproof": true, // Is the effect waterproof. (Default: false)
"moves": 500 // Number of moves required in the process.
},
"use_action": {
"type": "unfold_vehicle", // Transforms the item into a vehicle.
"vehicle_name": "bicycle", // Vehicle name to create.
"unfold_msg": "You painstakingly unfold the bicycle and make it ready to ride.", // Message to display when transforming.
"moves": 500 // Number of moves required in the process.
},
"use_action" : {
"type" : "consume_drug", // A drug the player can consume.
"activation_message" : "You smoke your crack rocks. Mother would be proud.", // Message, ayup.
Expand Down

0 comments on commit 5c91d79

Please sign in to comment.