WifTutorialLowFuel
Overview
Shown when the playerβs fuel drops to 10% of capacity or below. Defines only the message and a fixed completion timer; activation is entirely external.
Inheritance
- Inherits from:
MrxTutorial(src/resident/mrxtutorial.lua) β a real corpus module, already documented under Resident Modules, not an opaque native-only engine class despite this file living insrc/vz/. - Imports: none
Instance pattern
A subclass of the corpusβs MrxTutorial task-framework base class β self-based lifecycle overrides, not the Inheritable/uGuid object pattern used in resident/. No module-level or per-instance state beyond what the base class itself tracks (_tEvents).
Functions
GetMessage()
Returns the fixed message key "[Tutorial.LowFuel]".
SetupCompletionCriteria(self)
Standard pattern: a 10-second Event.TimerRelative that calls self.EndTutorial(self, true).
Events
Event.TimerRelativeβ 10-second completion delay.
Notes for modders
- Trigger key:
"LowFuel". NoSetupActivationCriteriaoverride β confirmed sole call site:MrxPmcfiresMrxTutorialManager.StartTutorial("LowFuel")when a negative fuel-amount change brings the new total to 10% or less of_nFuelCapacity(checked only when the 0-fuel"NoFuel"case, seeWifTutorialNoFuel, doesnβt already apply).