Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[magiclysm] orichalcum bike #36905

Merged
merged 1 commit into from
Jan 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions data/mods/Magiclysm/items/vehicle/frames.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[
{
"type": "GENERIC",
"id": "fold_orichalcum_frame",
"name": "foldable orichalcum frame",
"copy-from": "foldframe",
"description": "A folding frame made of orichalcum pipes. Not as light as aluminum, but significantly sturdier.",
"weight": "10 kg",
"color": "yellow",
"material": [ "orichalcum_metal" ],
"price": 10000
}
]
42 changes: 42 additions & 0 deletions data/mods/Magiclysm/vehicle_groups.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[
{
"type": "vehicle_group",
"id": "city_vehicles",
"vehicles": [ [ "bicycle_orichalcum", 300 ] ]
},
{
"type": "vehicle_group",
"id": "suburban_home",
"vehicles": [ [ "bicycle_orichalcum", 100 ] ]
},
{
"type": "vehicle_group",
"id": "dirtlot",
"vehicles": [ [ "bicycle_orichalcum", 50 ] ]
},
{
"type": "vehicle_group",
"id": "parkinglot",
"vehicles": [ [ "bicycle_orichalcum", 350 ] ]
},
{
"type": "vehicle_group",
"id": "campground_vehicles",
"vehicles": [ [ "bicycle_orichalcum", 75 ] ]
},
{
"type": "vehicle_group",
"id": "bikeshop",
"vehicles": [ [ "bicycle_orichalcum", 600 ] ]
},
{
"type": "vehicle_group",
"id": "back_alley",
"vehicles": [ [ "bicycle_orichalcum", 450 ] ]
},
{
"type": "vehicle_group",
"id": "showroom_small_vehicles",
"vehicles": [ [ "bicycle_orichalcum", 100 ] ]
}
]
21 changes: 21 additions & 0 deletions data/mods/Magiclysm/vehicleparts/frames.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[
{
"id": "folding_orichalcum_frame",
"type": "vehicle_part",
"name": "foldable orichalcum frame",
"item": "fold_orichalcum_frame",
"location": "structure",
"symbol": "h",
"durability": 250,
"description": "A light metal framework, designed to fold. Other vehicle components can be mounted on it. If all the frames and components of a vehicle are foldable, the vehicle can be folding into a small package and picked up as a normal item.",
"folded_volume": "5 L",
"breaks_into": [ { "item": "orichalcum_lump", "count": [ 0, 2 ] } ],
"requirements": {
"install": { "skills": [ [ "mechanics", 2 ], [ "spellcraft", 1 ] ], "time": "60 m", "using": [ [ "welding_standard", 5 ] ] },
"removal": { "skills": [ [ "mechanics", 2 ], [ "spellcraft", 1 ] ], "time": "30 m", "using": [ [ "vehicle_weld_removal", 1 ] ] },
"repair": { "skills": [ [ "mechanics", 3 ], [ "spellcraft", 1 ] ], "time": "60 m", "using": [ [ "welding_standard", 5 ] ] }
},
"flags": [ "INITIAL_PART", "MOUNTABLE", "FOLDABLE" ],
"damage_reduction": { "all": 12 }
}
]
13 changes: 13 additions & 0 deletions data/mods/Magiclysm/vehicles/bikes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[
{
"id": "bicycle_orichalcum",
"type": "vehicle",
"name": "Bicycle",
"blueprint": [ "o#o" ],
"parts": [
{ "x": 0, "y": 0, "parts": [ "folding_orichalcum_frame", "saddle", "horn_bicycle", "foot_pedals" ] },
{ "x": 1, "y": 0, "parts": [ "folding_orichalcum_frame", "wheel_mount_light_steerable", "wheel_bicycle" ] },
{ "x": -1, "y": 0, "parts": [ "folding_orichalcum_frame", "wheel_mount_light", "wheel_bicycle", "basketsm" ] }
]
}
]