on_vehicle_fuel_empty
Fired when a vehicle runs out of fuel.
Entry Information
| Property | Value |
|---|---|
| Entry ID | on_vehicle_fuel_empty |
| Type | Event |
| Color | Red |
| Icon | fa6-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"