From b4d188d07ae02de60310cab8e815d4aa8a13deab Mon Sep 17 00:00:00 2001 From: Chorus System Date: Sat, 25 May 2024 14:15:20 -0400 Subject: [PATCH] feat(content): light wooden wheel mount (#4694) * Added light wooden wheel mount Co-Authored-By: VissValdyr <167661460+VissValdyr@users.noreply.github.com> * style(autofix.ci): automated formatting * Update data/json/items/vehicle/wheel.json Co-authored-by: Viss Valdyr <33199510+Lamandus@users.noreply.github.com> * style(autofix.ci): automated formatting * style(autofix.ci): automated formatting Co-Authored-By: Viss Valdyr <33199510+Lamandus@users.noreply.github.com> --------- Co-authored-by: VissValdyr <167661460+VissValdyr@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Chaosvolt Co-authored-by: Viss Valdyr <33199510+Lamandus@users.noreply.github.com> --- data/json/items/vehicle/wheel.json | 8 ++++++++ data/json/recipes/other/vehicles.json | 13 +++++++++++++ data/json/vehicleparts/wheel.json | 23 +++++++++++++++++++++++ 3 files changed, 44 insertions(+) diff --git a/data/json/items/vehicle/wheel.json b/data/json/items/vehicle/wheel.json index 5e4c6f9be709..ff7dfc34c383 100644 --- a/data/json/items/vehicle/wheel.json +++ b/data/json/items/vehicle/wheel.json @@ -374,5 +374,13 @@ "name": { "str": "banded wooden cart wheel" }, "description": "A wooden cart wheel with metal bands for durability, hand made.", "relative": { "weight": 500 } + }, + { + "id": "wheel_mount_light_wood", + "type": "GENERIC", + "name": { "str": "light wooden wheel mount" }, + "description": "A piece of wood with holes suitable for a bike or motorbike wheel.", + "copy-from": "wheel_mount_light", + "material": [ "wood" ] } ] diff --git a/data/json/recipes/other/vehicles.json b/data/json/recipes/other/vehicles.json index 5af039e42880..57a6eca2f461 100644 --- a/data/json/recipes/other/vehicles.json +++ b/data/json/recipes/other/vehicles.json @@ -1473,5 +1473,18 @@ "using": [ [ "welding_standard", 25 ], [ "steel_standard", 20 ] ], "qualities": [ { "id": "HAMMER", "level": 2 }, { "id": "SAW_M", "level": 1 }, { "id": "WRENCH", "level": 1 } ], "components": [ [ [ "frame", 2 ] ] ] + }, + { + "type": "recipe", + "result": "wheel_mount_light_wood", + "category": "CC_OTHER", + "subcategory": "CSC_OTHER_VEHICLE", + "skill_used": "mechanics", + "difficulty": 1, + "skills_required": [ "fabrication", 2 ], + "time": "20 m", + "autolearn": true, + "qualities": [ { "id": "HAMMER", "level": 2 }, { "id": "SAW_W", "level": 1 } ], + "components": [ [ [ "nail", 4 ] ], [ [ "stick", 2 ], [ "2x4", 2 ] ] ] } ] diff --git a/data/json/vehicleparts/wheel.json b/data/json/vehicleparts/wheel.json index 7c8761b89594..2dfc20f7e16a 100644 --- a/data/json/vehicleparts/wheel.json +++ b/data/json/vehicleparts/wheel.json @@ -636,5 +636,28 @@ "rolling_resistance": 2.05, "proportional": { "durability": 2, "damage_modifier": 2 }, "damage_reduction": { "all": 20 } + }, + { + "type": "vehicle_part", + "id": "wheel_mount_light_wood", + "name": { "str": "light wooden wheel mount" }, + "copy-from": "wheel_mount_light", + "durability": 70, + "description": "A piece of wood with holes suitable for a bike or motorbike wheel.", + "item": "wheel_mount_light_wood", + "requirements": { + "install": { "skills": [ [ "mechanics", 2 ] ], "time": "60 m", "using": [ [ "vehicle_bolt", 1 ] ] }, + "removal": { "skills": [ [ "mechanics", 1 ] ], "time": "10 m", "qualities": [ { "id": "SAW_W", "level": 1 } ] }, + "repair": { "skills": [ [ "mechanics", 2 ] ], "time": "15 m", "using": [ [ "adhesive", 1 ] ] } + }, + "breaks_into": [ { "item": "2x4", "count": [ 0, 1 ] }, { "item": "nail", "charges": [ 0, 5 ] } ], + "damage_reduction": { "all": 10 } + }, + { + "id": "wheel_mount_light_steerable_wood", + "copy-from": "wheel_mount_light_wood", + "type": "vehicle_part", + "name": { "str": "light wheel mount (steerable)" }, + "extend": { "flags": [ "STEERABLE" ] } } ]