Skip to content

Commit

Permalink
Add new 10" wheel type (#36564)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Taylor authored and ZhilkinSerg committed Dec 31, 2019
1 parent 44775fc commit 327c276
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 5 deletions.
17 changes: 17 additions & 0 deletions data/json/items/vehicle/wheel.json
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,23 @@
"diameter": 4,
"width": 1
},
{
"id": "wheel_10",
"category": "veh_parts",
"type": "WHEEL",
"name": { "str": "set of wheels", "str_pl": "sets of wheels" },
"description": "A set of four small wheels with tough rubber tires.",
"weight": "4 kg",
"volume": "4 L",
"price": 14000,
"bashing": 6,
"to_hit": -1,
"material": [ "steel", "plastic" ],
"symbol": "]",
"color": "dark_gray",
"diameter": 10,
"width": 4
},
{
"id": "wheel_metal",
"category": "veh_parts",
Expand Down
28 changes: 28 additions & 0 deletions data/json/vehicleparts/wheel.json
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,34 @@
},
"flags": [ "WHEEL", "NEEDS_JACKING", "STABLE", "FOLDABLE", "STEERABLE" ]
},
{
"id": "wheel_10",
"type": "vehicle_part",
"name": "wheels",
"item": "wheel_10",
"location": "under",
"symbol": "o",
"broken_symbol": "x",
"color": "dark_gray",
"durability": 120,
"description": "A set of 10\" wheels with tough rubber tires.",
"folded_volume": 10,
"breaks_into": [
{ "item": "steel_lump", "prob": 50 },
{ "item": "steel_chunk", "count": [ 1, 5 ] },
{ "item": "scrap", "count": [ 1, 5 ] },
{ "item": "plastic_chunk", "count": [ 1, 5 ] }
],
"rolling_resistance": 29,
"wheel_type": "off-road",
"contact_area": 4,
"requirements": {
"install": { "skills": [ [ "mechanics", 1 ] ], "time": "15 m", "using": [ [ "vehicle_bolt", 1 ] ] },
"removal": { "skills": [ [ "mechanics", 2 ] ], "time": "15 m", "using": [ [ "vehicle_bolt", 1 ] ] },
"repair": { "skills": [ [ "mechanics", 2 ] ], "time": "15 m", "using": [ [ "welding_standard", 5 ] ] }
},
"flags": [ "WHEEL", "NEEDS_JACKING", "STABLE", "FOLDABLE", "STEERABLE" ]
},
{
"id": "wheel_motorbike",
"type": "vehicle_part",
Expand Down
10 changes: 5 additions & 5 deletions data/json/vehicles/carts.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"blueprint": [ "#" ],
"parts": [
{ "x": 0, "y": 0, "part": "folding_frame" },
{ "x": 0, "y": 0, "part": "wheel_caster" },
{ "x": 0, "y": 0, "part": "wheel_10" },
{ "x": 0, "y": 0, "part": "crane_small" }
]
},
Expand All @@ -20,11 +20,11 @@
],
"parts": [
{ "x": -1, "y": 0, "part": "xlframe_vertical_2" },
{ "x": -1, "y": 0, "part": "wheel_caster" },
{ "x": -1, "y": 0, "part": "wheel_10" },
{ "x": -1, "y": 0, "part": "small_storage_battery" },
{ "x": -1, "y": 0, "part": "kitchen_unit" },
{ "x": 0, "y": 0, "part": "xlframe_vertical_2" },
{ "x": 0, "y": 0, "part": "wheel_caster" },
{ "x": 0, "y": 0, "part": "wheel_10" },
{ "x": 0, "y": 0, "part": "minifridge" },
{ "x": 0, "y": 0, "part": "controls_electronic" }
],
Expand Down Expand Up @@ -147,7 +147,7 @@
"blueprint": [ "=" ],
"parts": [
{ "x": 0, "y": 0, "part": "frame_handle" },
{ "x": 0, "y": 0, "part": "wheel_caster" },
{ "x": 0, "y": 0, "part": "wheel_10" },
{ "x": 0, "y": 0, "part": "crane_small" }
]
},
Expand All @@ -158,7 +158,7 @@
"blueprint": [ "#" ],
"parts": [
{ "x": 0, "y": 0, "part": "xlframe_vertical_2" },
{ "x": 0, "y": 0, "part": "wheel_caster" },
{ "x": 0, "y": 0, "part": "wheel_10" },
{ "x": 0, "y": 0, "part": "small_storage_battery" },
{ "x": 0, "y": 0, "part": "minifreezer" },
{ "x": 0, "y": 0, "part": "controls_electronic" }
Expand Down

0 comments on commit 327c276

Please sign in to comment.