Skip to content

Wert Fuel System & Gas Station Business

Latest

Choose a tag to compare

@Wert22 Wert22 released this 27 Nov 11:32
42ab577

v2.1.0 – Attendant Service & New Text UI

✨ New

  • Attendant (full service): Drivers can now stay in their car and press G at a pump to call an attendant. Pick a full tank or an amount, pay by cash or bank, and an NPC walks over, fills the vehicle (live on the pump screen) and hangs the nozzle back. Self service still works as before.
  • Owner control: Station owners can switch the attendant on or off for their station in the dashboard (Finance tab). The service fee goes into the station vault.
  • New text UI: A clean, animated prompt in the Wert style. Pick the position, or keep using ox_lib's text UI.
Order card
Order card
Attendant at work
Attendant at work
New text UI
New text UI

🔧 Improvements

  • The order card shows exactly how far the tank will fill before you pay.
  • The attendant won't start if you park too close to the pump, and he no longer gets stuck between the car and the pump.
  • If the car drives off, the engine starts or the attendant gets hurt, the service is cancelled and the unused money is refunded. The fee is only charged if fuel was actually delivered.

⚙️ Config changes

  • config/main.lua: Config.TextUIPosition is replaced by Config.TextUI = { Provider, Position }
  • config/fuel.lua: new Config.Fuel.Attendant block (Enabled, Fee, FeeToVault, UnownedStations, key, models …). Set Enabled = false to turn it off everywhere.
  • config/server.lua: new log event attendant_status
  • locales/*.json: new keys for the attendant and the text UI

No database changes needed, existing stations get the attendant switched on by default.