Перейти к основному содержимому

on_vehicle_fuel_empty

Fired when a vehicle runs out of fuel.

Entry Information

PropertyValue
Entry IDon_vehicle_fuel_empty
TypeEvent
ColorRed
Iconfa6-solid:gas-pump

Description

This event is fired when a vehicle's fuel level reaches zero. Use this to stop the vehicle, display warning messages, or trigger refueling prompts. This event can also trigger onFuelEmpty actions defined in the vehicle definition.

Fields

This entry has no custom fields beyond the standard fields (id, name, comment, group).

Usage Example

- entry: on_vehicle_fuel_empty
name: "On Fuel Empty"
comment: "Fired when vehicle runs out of fuel"
group: "vehicle_events"