Skip to content

feat: additional ambulance lights improvement.#8281

Open
Baratan-creates wants to merge 1 commit intocataclysmbn:mainfrom
Baratan-creates:emergency_lights_fix
Open

feat: additional ambulance lights improvement.#8281
Baratan-creates wants to merge 1 commit intocataclysmbn:mainfrom
Baratan-creates:emergency_lights_fix

Conversation

@Baratan-creates
Copy link
Contributor

@Baratan-creates Baratan-creates commented Mar 6, 2026

continuation of #8279
Replaced the blue emergency lights on ambulance vehicles with a new white emergency light item and vehicle part. Added vehicle sprite for the new vehicle part.

Purpose of change (The Why)

Ambulances in the northeast USA use white and red flashing lights, not red and blue lights.

Describe the solution (The How)

Since no white emergency light item existed, a new vehicle part and sprite were added. Previous PR replaced blue lights with red, this PR improves that improvement.

Describe alternatives you've considered

Replacing the blue lights with red lights.

Testing

Tested in-game on a previous save, and a new save and experienced no errors and can see the new item on the spawned ambulance. Ambulances are the only vehicle affected by this change.

Additional context

image

Checklist

Mandatory

Replaced Blue Ambulance Lights with new White emergency light item. Ambulances in the northeast USA use white and red flashing lights. Since no white emergency light item existed, a new vehicle part and sprite were added
@github-actions github-actions bot added the JSON related to game datas in JSON format. label Mar 6, 2026
@scarf005
Copy link
Member

scarf005 commented Mar 7, 2026

btw to make checkboxes render, remove spaces:

- - [ x]
+ - [x]

https://gist.github.com/pixelspencil/87dfff9816e4bf41f5f6e5bf62eebff4#checkboxes

@AzmodiusX
Copy link
Collaborator

AzmodiusX commented Mar 7, 2026

In order to make the lights customizable, first you're gonna need to separate the light graphic into 2 tiles. One is the light itself, and the other is the panel below it.
I don't know if tints can be stacked if the bg and fg are handled by different tint_configs off the top of my head but if not that should be fixed. It won't be a problem for this.
Once they're separate tiles, you make the panel the bg of the part, and the light the fg.
Then you can add the tint information at the top like can be seen in the eye tinting. (hair wouldn't be as good to reference because it uses tint controllers).
You'll be able to make new colored vehicle parts using that but note - vehicle part data isn't in yet, and we'll probably wait until then to make properly customizable light colors. But for this - standardized lights for emergency vehicles - we can just make a new part for it, should be fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

JSON related to game datas in JSON format.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants