Immersive Vehicles (Formerly Transport Simulator)

Immersive Vehicles (Formerly Transport Simulator)

4M Downloads

[Bug] Vehicles that fall within other vehicle's subnames mess up bench cycling.

DrprofLuigi opened this issue ยท 1 comments

commented

This is best explained through example:

I have two vehicles, unucivil_vehicle_unu_labrador and unucivil_vehicle_unu_labrador_mail

unucivil_vehicle_unu_labrador has four subNames: _chocolate, _ivory, _seaweed, and _spaghetti.

unucivil_vehicle_unu_labrador_mail has two subNames: _blackthorne and _ivory.

This results in the following order when the names and subnames are combined:

unucivil_vehicle_unu_labrador_chocolate
unucivil_vehicle_unu_labrador_ivory
unucivil_vehicle_unu_labrador_mail_blackthorne
unucivil_vehicle_unu_labrador_mail_ivory
unucivil_vehicle_unu_labrador_seaweed
unucivil_vehicle_unu_labrador_spaghetti

When you scroll through the vehicle bench, you hit unucivil_vehicle_unu_labrador_chocolate, then unucivil_vehicle_unu_labrador_mail_blackthorne, then unucivil_vehicle_unu_labrador_seaweed. unucivil_vehicle_unu_labrador comes up twice.

If you are on unucivil_vehicle_unu_labrador_seaweed, and cycle to unucivil_vehicle_unu_labrador_ivory or unucivil_vehicle_unu_labrador_chocolate with the color selector, then you will go back to unucivil_vehicle_unu_labrador_mail when yo go to the next vehicle.

commented

This is not a bug. The item registry orders alphabetically, and changing it to be JSON-smart is very difficult, especially given that skins exist. Changing this has the problem that it'll potentially mess up other pack's orderings that rely on specific JSON names.

I cannot support this.