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

Add aero-engine #40477

merged 1 commit into from
May 12, 2020

Conversation

Rail-Runner
Copy link
Contributor

@Rail-Runner Rail-Runner commented May 12, 2020

Summary

SUMMARY: Content "Add aero-engine"

Purpose of change

Add an engine which primarily uses avgas (previously only gas turbine engines could use it). In case planes ever get added, they could use this engine.

Describe the solution

Add JSON entries for engine item and vehicle part, abstract definition for aero-engine, and item group entry.

Describe alternatives you've considered

None.

Testing

Built a car with aero-engine, tried fueling it with both gasoline and avgas, drived it around for a bit, crashed into a random APC on the road.

Additional context

I couldn't really find item groups which could spawn an aero-engine, so it's very rare at the moment. Suggestions in this regard are welcome.
Engine is based on Lycoming O-320 engine: https://en.wikipedia.org/wiki/Lycoming_O-320

"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.

@mlangsdorf mlangsdorf added the Vehicles Vehicles, parts, mechanics & interactions label May 12, 2020
@ZhilkinSerg ZhilkinSerg merged commit d940c89 into CleverRaven:master May 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Vehicles Vehicles, parts, mechanics & interactions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants