Adds new 4-door Hatchback vehicle. #36584
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
SUMMARY: Content "Adds new 4-door hatchback car"
Purpose of change
Being a bit of a car nut, I was slightly bothered by the fact that the car called a 'Hatchback' in game,
car_mini
, most closely resembles a 2-seat city car such as a Smart Fortwo, and not a larger 4-door hatchback that is usually associated with the term. This PR renames the old 2-seat Hatchback to 'City Car' and introduces a 4-door variant in its place.Describe the solution
Adds a new car,
car_hatch
, a small 4 door hatchback that is essentially justcar_mini
extended to have an extra row of seats, with storage space being hatches instead of a trunk like on a normalcar
.car_hatch
has a fuel capacity of 40L, a midpoint between the 20L ofcar_mini
and the 60L ofcar
, and roughly analogous to a real-life subcompact hatchback.car_mini
is renamed from 'Hatchback' to 'City Car'.Spawning behavior of
car_hatch
andcar_mini
is as follows:car_hatch
is roughly half as common ascar
, except for on highways where it's 1/3 as common.car_mini
's spawn density is cut in half and is now a bit less common than the Beetle, to reflect the relative rarity of city cars in most of the US. I'm not 100% familiar with how these spawn rates are balanced, so feel free to suggest changes to this.Testing
Loaded a large city map and verified that it spawned and had all the correct parts.
Additional context