Skip to content

Feature catalogue ​

np_jobs is the feature host. Logistics registers the logistics pack with schemas, defaults and nodes from shared/config/10_features.lua; checks use hasFeature(src, id) and values come from getFeatureConfig(src, id). Job membership, rank permissions and duty stay with np_jobs/np_faction.

Each feature's permission node is identical to its ID. logistics.hazmat and logistics.car_carrier require logistics.trailers. Some schema fields describe intended extension controls; consult the source and test the relevant gameplay before relying on every field as an enforced rule.

ID / node Configuration keys
logistics.contracts kinds, companyCut, maxActive, minRep, showLocked, penaltyScale
logistics.contracts.post accounts, maxBudget, visibility
logistics.dispatch trackers, assign
logistics.trailers classes, maxGross, yardOnly
logistics.hazmat doc, classes, minGrade
logistics.car_carrier decks, strapTime, damagePerHit
logistics.forklift capacity, models, speedLimit
logistics.pallets canSeal, canSplit, maxWeight
logistics.parcels maxParcels, unattended, useRouteRunner
logistics.manifest canWrite, canSeal
logistics.proof_of_delivery photo, unattended, receive
logistics.warehouse places, canAdjust, npcStaff
logistics.dock rigs, berths
logistics.inspect stations, fineTable, canHold

Example compositions ​

Role Features
Trucker contracts, trailers, manifest, proof_of_delivery; hazmat for ADR work
Courier contracts, parcels, proof_of_delivery
Dock worker dock, forklift, pallets, warehouse
Warehouse clerk warehouse, pallets, manifest
Freight inspector inspect, manifest

Use fully qualified logistics.* IDs in the host definition. Without np_jobs, Config.FallbackJobs maps framework job names to arrays of IDs (or logistics.*). Public light-contract kinds are configured separately. Staff permission does not substitute for a job feature.