Skip to content

docs: fuel module (sync opx_infinity #124) - #16

Merged
dop42 merged 1 commit into
mainfrom
docs/fuel
Oct 6, 2026
Merged

dop42 merged 1 commit into
mainfrom
docs/fuel

Conversation

@dop42

@dop42 dop42 commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Documents the new fuel module, an ox_fuel port on Open77's fuel bag field (opx_infinity #124). Everything here comes from the code: config/fuel.lua, modules/fuel/**, core/server/exports.lua, and the vehicles, hud and blips changes.

New pages

  • opx_infinity/fuel/
    • index: driving and the burn, the pump and the server-side refuel flow, the jerry can (petrolcan), stations and surveying with /opx.fuel.capture, open77_fuel stand-down, commands and ACL (command.opx.fuel.*), the config keys table (CONSUMPTION and CAN blocks), refusal codes, platform limits.
    • server / client: one page each for the contract members.
    • events: opx:net:fuel:refuel|canBuy|canPour|answer, opx:on:fuel:changed.
  • Creators: GetFuel, GetFuelState, SetFuel (new Fuel section in the server exports index and meta), and opx:on:fuel:changed in the public events page.

Touched pages

  • Nav and module list: fuel added to the meta and the Vehicles table; the module count is now 36.
  • blips: the fuel category (drop_point, open stations only). hud: VEHICLE.FUEL. vehicles: the fuel column and field.
  • Release notes: a new Unreleased heading above 0.2.0. It covers fuel (PR #124) and its upgrade table: unsurveyed stations, the new column, ACL, exports, event and item.
  • Troubleshooting: My car won't start: empty tank, No fuel station on the map: stations are disabled until surveyed, the STATIONS refusal line, and a double burn with open77_fuel.

Checks

  • npm ci: ok
  • node scripts/check-content.mjs: 285 pages, 0 problems
  • npm run types:check: ok
  • npm run build: ok
  • npm run check:api against opx_infinity main (3a93eff): 1860 names, every published name documented

🤖 Generated with Claude Code

… and event

A page set for the new fuel module (an ox_fuel port on Open77's `fuel` bag
field): player usage, the server refuel flow, the can, stations and
/opx.fuel.capture, config keys, commands and ACL, refusal codes, platform
limits; server and client contracts and the net/local events. Creators pages
for GetFuel, GetFuelState, SetFuel and opx:on:fuel:changed. Module list, nav,
blips (fuel category), hud (VEHICLE.FUEL), vehicles (fuel column), an
"Unreleased" release-notes entry and two troubleshooting entries.

Follows opx_infinity #124 (fuel: an ox_fuel port on Open77's fuel bag).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dop42
dop42 merged commit d0cce3a into main Oct 6, 2026
2 checks passed
@dop42
dop42 deleted the docs/fuel branch October 6, 2026 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant