RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

server/commands - Camera & Input Commandsge_utils - Game Engine Utility Functionsmain.lua - GE Lua Entry Point & Game Loopmap.lua - Navigation Graph (AI Road Map)screenshot.lua - Screenshot Systemserver/server - Level Loading & Game ServerserverConnection - Client-Server Connection Manager`setSpawnpoint` - Default Spawn Point Persistence`simTimeAuthority` - Simulation Time & Bullet Time Control`spawn` - Vehicle Spawning & Safe Placement`suspensionFrequencyTester` - Suspension Natural Frequency Analysis
Career BranchesCareer System CoreCareer Save System
Career Computer MenuCareer Fuel SystemInspect VehicleVehicle InventoryLinear TutorialLoaner VehiclesCareer LogLogbookMarketplaceMission WrapperCareer Painting ModuleCareer Part Inventory ModuleCareer Part Shopping ModuleCareer Payment ModuleCareer Permissions ModuleCareer Playbook Writer ModuleCareer Player Abstract ModuleCareer Player Attributes ModuleCareer Player Driving ModuleCareer Quick Travel ModuleCareer Rentals ModuleCareer Reputation ModuleCareer Spawn Points ModuleCareer Speed Traps ModuleCareer Test Drive ModuleCareer Tether ModuleCareer Tuning ModuleCareer UI Utils ModuleCareer Unlock Flags ModuleCareer Value Calculator ModuleVehicle Class GroupingVehicle Deletion ServiceVehicle PerformanceVehicle Shopping
Delivery Cargo CardsDelivery Cargo ScreenDelivery GeneralDelivery GeneratorDelivery Pages (Logbook)Delivery Parcel ManagerDelivery Parcel ModifiersDelivery Precision ParkingDelivery ProgressDelivery TasklistDelivery TutorialDelivery Vehicle Offer ManagerDelivery Vehicle Tasks

UI

Resources

BeamNG Game Engine Lua Cheat SheetGE Developer RecipesMCP Server Setup

// RLS.STUDIOS=true

Premium Mods for BeamNG.drive. Career systems, custom vehicles, and immersive gameplay experiences.

Index

HomeProjectsPatreon

Socials

DiscordPatreon (RLS)Patreon (Vehicles)

© 2026 RLS Studios. All rights reserved.

Modding since 2024

API ReferenceGE Extensionscareermodulesdelivery

Delivery Cargo Cards

Builds card UI data for the cargo screen - grouping, sorting, filtering of cargo items by type, destination, container, and task.

Builds card UI data for the cargo screen - grouping, sorting, filtering of cargo items by type, destination, container, and task.


Module Info

FieldValue
Pathextensions/career/modules/delivery/cargoCards.lua
Globalcareer_modules_delivery_cargoCards
TypeCareer Module (Delivery)

Public API

FunctionSignatureDescription
resetFilterCounters()Resets filter tag counters for facility/player card counts
getFilterSets(cardsById)Returns filter sets with locked info and card counts
addFilterPlayerData(filterSets, playerGroupSets, playerCargoContainers)Adds noContainers flag to filters based on player storage
getCardGroupSetsByKey(cardsById, usePlayerCards, playerCargoContainers)Builds group sets: by cargo type, destination, container, task
addSortingValuesToGroups(cardsById, groupSets)Assigns sort values to groups based on their card contents
getCardSortingSetsByKey(cardsById)Builds sorting sets: by cardId, rewardMoney, weight, distance, availability
getConfirmButtonFromPlayerCards(cardsById)Returns item count of player cards with pending transient moves

| M.onCareerActivated | () | - |

Filter Tags

ValueLabelTypeDescription
parcelParcel DeliverycargoSmall and large parcels
vehicleCar JockeycargoVehicle delivery
trailerTrailer DeliverycargoTrailer towing
materialMaterials DeliverycargoFluids and dry bulk
allAll CargocargoCombined view
loanerLoaner VehiclesotherLoaned delivery vehicles

Grouping Sets

  • ungrouped - No grouping
  • cargoType - By parcel, fluid, dryBulk, vehicle, trailer
  • destinations - By destination facility (sorted by distance)
  • containers - By player cargo container (player view only)
  • tasklist - By task label (player view only)
  • loaner - By loaner vehicle/trailer type

Usage Example

local cargoCards = career_modules_delivery_cargoCards
cargoCards.resetFilterCounters()
local groupSets = cargoCards.getCardGroupSetsByKey(cardsById, false)
local sortSets = cargoCards.getCardSortingSetsByKey(cardsById)
cargoCards.addSortingValuesToGroups(cardsById, groupSets)

See Also

  • career_modules_delivery_cargoScreen - Main cargo screen
  • career_modules_delivery_parcelManager - Cargo data

Additional Exports

Values/Properties

ExportDescription
M.addFilterPlayerDataValue: addFilterPlayerData
M.addSortingValuesToGroupsValue: addSortingValuesToGroups
M.getCardGroupSetsByKeyValue: getCardGroupSetsByKey
M.getCardSortingSetsByKeyValue: getCardSortingSetsByKey
M.getConfirmButtonFromPlayerCardsValue: getConfirmButtonFromPlayerCards
M.getFilterSetsValue: getFilterSets
M.resetFilterCountersValue: resetFilterCounters

Career Leagues

Manages league definitions - groups of missions tied to skills. Handles league unlock conditions, star counting, sorting, and mission-to-league assignment.

Delivery Cargo Screen

M.dependencies = {"core_vehicleBridge"}

On this page

Module InfoPublic API| M.onCareerActivated | () | - |Filter TagsGrouping SetsUsage ExampleSee AlsoAdditional ExportsValues/Properties