Key:fuel price

From Scout Wiki
Revision as of 20:16, 2 September 2025 by Sidbmw (talk | contribs) (Fuel types)
Jump to navigation Jump to search

The Lua error: Internal error: The interpreter exited with status 127. fact provides information about the fuel prices at a given station.

The fuel_price fact requires a fuel type specifier.

Fuel types

Fuel comes in many varieties.

Gasoline

Type Examples
87 octane Lua error: Internal error: The interpreter exited with status 127.

All gasoline fuels can have an optional ethanol specifier.

Type Examples
e0 (no ethanol) Lua error: Internal error: The interpreter exited with status 127.
e5 Lua error: Internal error: The interpreter exited with status 127.
e10 Lua error: Internal error: The interpreter exited with status 127.
e15 Lua error: Internal error: The interpreter exited with status 127.
e25 Lua error: Internal error: The interpreter exited with status 127.
e85 Lua error: Internal error: The interpreter exited with status 127.
e100 (pure ethanol) Lua error: Internal error: The interpreter exited with status 127.

Diesel

Type Examples
Standard diesel Lua error: Internal error: The interpreter exited with status 127.
Premium diesel Lua error: Internal error: The interpreter exited with status 127.

All diesel fuels can have an optional biodiesel specifier.

Type Examples
b0 (pure petroleum diesel) Lua error: Internal error: The interpreter exited with status 127.
b5 Lua error: Internal error: The interpreter exited with status 127.
b7 Lua error: Internal error: The interpreter exited with status 127.
b20 Lua error: Internal error: The interpreter exited with status 127.
b100 (pure biodiesel) Lua error: Internal error: The interpreter exited with status 127.

Special Fuels

Type Examples
LPG (Liquefied Petroleum Gas) Lua error: Internal error: The interpreter exited with status 127.
Hydrogen Lua error: Internal error: The interpreter exited with status 127.
E85 (85% Ethanol Flex Fuel) Lua error: Internal error: The interpreter exited with status 127.

Note: E85 should be used as a special fuel when the octane value is unknown or not advertised at the fuel pump. If the octane rating is known (typically 105-115 range), use the specific octane with e85 ethanol specifier instead (e.g., fuel_price:105:e85).

Values

Type Examples Meaning
Fuel price Lua error: Internal error: The interpreter exited with status 127.
Lua error: Internal error: The interpreter exited with status 127.
Lua error: Internal error: The interpreter exited with status 127.
The last-known price for a given fuel type.