RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

Server CommandsGE UtilitiesGame Engine MainNavigation GraphScreenshot CaptureServerServer ConnectionSpawnpoint ManagerSimulation TimeVehicle SpawningSuspension Frequency Tester
Flowgraph Base ModuleFlowgraph Base NodeFlowgraph Base State NodeFlowgraph Node BuilderFlowgraph GraphFlowgraph Group HelperFlowgraph LinkFlowgraph ManagerNew Node TemplateFlowgraph PinFlowgraph States ManagerFlowgraph UtilsFlowgraph Variable Storage
Add To Inventory (Flowgraph Node)Career Vehicle Select (Flowgraph Node)Set Tutorial Step (Flowgraph Node)Complete Quest (Flowgraph Node)On Custom Tow (Flowgraph Node)Garage Computer Util (Flowgraph Node)Garage Tutorial Util (Flowgraph Node)Get Tutorial Step (Flowgraph Node)Get Tutorial Flag (Flowgraph Node)Logbook Entry (Flowgraph Node)Menu Closed (Flowgraph Node)On Garage Event (Flowgraph Node)On Intro Popup Career Closed (Flowgraph Node)On Poi Prompt Shown (Flowgraph Node)On Mission Start/Stop (Flowgraph Node)On RefuelingOn Testdrive ChangedOn Vehicle Shopping EventAdd Or Remove Player AttributeSet Fuel LevelSet Tutorial FlagTasklist HeaderVehicle Group by Performance Class

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 Extensionsflowgraphnodescareer

Garage Tutorial Util (Flowgraph Node)

- **Node Name:** `Garage Tutorial Util`

Overview

  • Node Name: Garage Tutorial Util
  • Category: repeat_instant
  • File: extensions/flowgraph/nodes/career/garageTutorialUtil.lua

Utility node for the garage tutorial that checks vehicle parking and repair status.

Pin Schema

Output Pins

PinTypeDescription
parkedInGarageboolWhether a vehicle is parked in the garage (velocity < 0.25)
isRepairedboolWhether the vehicle in the garage is fully repaired

Behavior

  • work() - Every frame:
    1. Gets the inventory ID of the vehicle in the closest garage via career_modules_inventory.getInventoryIdsInClosestGarage(true).
    2. If a vehicle exists and its velocity is below 0.25, sets parkedInGarage = true.
    3. Every 1 second (sim time timer), updates part conditions via career_modules_inventory.updatePartConditions() if not walking.
    4. Checks repair status via career_modules_insurance_insurance.inventoryVehNeedsRepair() and outputs the inverse as isRepaired.

Key Dependencies

  • career_modules_inventory - vehicle inventory lookups
  • career_modules_insurance_insurance.inventoryVehNeedsRepair() - repair status check
  • gameplay_walk.isWalking() - walking mode check
  • map.objects - vehicle physics data (velocity)

Notes

  • Uses self.mgr.dtSim (sim time) for the part condition update timer.
  • Part condition updates are throttled to once per second to avoid performance issues.

See Also

  • Add To Inventory (Flowgraph Node) - Related reference
  • Career Vehicle Select (Flowgraph Node) - Related reference
  • Set Tutorial Step (Flowgraph Node) - Related reference
  • FlowGraph Guide - Guide

Garage Computer Util (Flowgraph Node)

- **Node Name:** `Garage Computer Util`

Get Tutorial Step (Flowgraph Node)

- **Node Name:** `Get Tutorial Step`

On this page

OverviewPin SchemaOutput PinsBehaviorKey DependenciesNotesSee Also