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

Add aero-engine #40477

Merged
merged 1 commit into from
May 12, 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
1 change: 1 addition & 0 deletions data/json/itemgroups/supplies.json
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@
[ "steam_triple_small", 1 ],
[ "steam_triple_medium", 1 ],
[ "steam_watts_small", 1 ],
{ "item": "aero_engine_light", "prob": 1 },
[ "1cyl_combustion_small", 10 ],
[ "vehicle_controls", 3 ],
[ "horn_car", 10 ],
Expand Down
12 changes: 12 additions & 0 deletions data/json/items/vehicle/engine.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,18 @@
"displacement": 20,
"faults": [ ]
},
{
"id": "aero_engine_light",
"copy-from": "engine_gasoline",
"type": "ENGINE",
"name": { "str": "light aero-engine" },
"description": "An air-cooled, four-cylinder, horizontally opposed internal combustion engine, rated for 150 horsepower. Commonly used on light aircraft.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks fine as far as it goes, but is it based on any particular aircraft engine? The Lycoming O-235 used in Cessna 152s is a basically like this, but is 75-100 kW (100-135 HP) depending on the version.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's based on Lycoming O-320. I have a Wikipedia link for it in the post above, which says they're either 150 or 160 HP.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I totally missed that. Looks good then.

"weight": "111000 g",
"volume": "4750 ml",
"price": 80000,
"price_postapoc": 2000,
"displacement": 524
},
{
"id": "i4_combustion",
"copy-from": "engine_gasoline",
Expand Down
31 changes: 31 additions & 0 deletions data/json/vehicleparts/combustion.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@
"flags": [ "ENGINE", "E_COMBUSTION", "E_ALTERNATOR", "E_HIGHER_SKILL", "E_HEATER" ],
"description": "A combustion engine. Burns fuel from a tank in the vehicle."
},
{
"abstract": "aero_engine",
"copy-from": "engine_combustion",
"type": "vehicle_part",
"fuel_type": "avgas",
"fuel_options": [ "avgas", "gasoline" ],
"m2c": 60,
"//": "30% energy efficiency",
"description": "A combustion engine for use on aircraft. Burns gasoline or avgas fuel from a tank in the vehicle."
},
{
"abstract": "diesel_engine",
"copy-from": "engine_combustion",
Expand Down Expand Up @@ -181,6 +191,27 @@
"extend": { "flags": [ "FOLDABLE" ] },
"damage_reduction": { "all": 40 }
},
{
"id": "engine_aero_light",
"copy-from": "aero_engine",
"type": "vehicle_part",
"item": "aero_engine_light",
"durability": 300,
"epower": -200,
"power": 111900,
"energy_consumption": 373000,
"breaks_into": [
{ "item": "steel_lump", "count": [ 30, 40 ] },
{ "item": "steel_chunk", "count": [ 30, 40 ] },
{ "item": "scrap", "count": [ 30, 40 ] }
],
"requirements": {
"install": { "skills": [ [ "mechanics", 5 ] ], "time": "60 m", "using": [ [ "vehicle_bolt", 1 ] ] },
"removal": { "skills": [ [ "mechanics", 4 ] ], "time": "30 m", "using": [ [ "vehicle_bolt", 1 ] ] },
"repair": { "skills": [ [ "mechanics", 6 ] ], "time": "60 m", "using": [ [ "welding_standard", 5 ] ] }
},
"damage_reduction": { "all": 50 }
},
{
"id": "engine_inline4",
"copy-from": "gasoline_engine",
Expand Down