MecJob001
Overview
MecJob001 is the first of 3 thin MecJob subclasses β a side job asking the player to deliver a damaged vehicle labeled "rtr" (displayed as reference image global_polaroid_belmont) to the mechanicβs garage. All of the actual delivery/garage/VO logic lives in MecJob; this file only supplies the job-specific identity fields and spawns a starter vehicle for the player to find.
Inheritance
- Inherits from:
MecJob(βMrxTaskJobβMrxTaskMissionβMrxTask) βMecJobis a locally-defined base class in this samevz/corpus, not a native engine class. - Imports:
MrxUtil
Instance pattern
Native task-framework subclass (self-based) β no state of its own beyond the identity fields it sets on self before deferring to its parent. See MecJob for what those fields drive.
Functions
Activated(self)
Sets sVehImg/sVehLabel/sObjText/iMinHealth/sIntro/sWrongVeh/sRightVeh (label "rtr", minimum health 30), then calls MecJob.Activated(self) (super call), and finally spawns an βRTR (crappy)β vehicle at a random one of 3 named spawn points (mecjob001.rtrspawn1/2/3) via MrxUtil.SpawnObject.
Events
None registered directly in this file β all event wiring happens in MecJob.
Notes for modders
- This is the native
MrxTaskContract/WifMissionDatamission system (theMrxTaskJobbranch), not Contract Framework β see Contract.Register & Lifecycle for why mods use a different, ephemeral system instead of hooking into this one directly. - To make a variant of this job, copy this fileβs shape rather than
MecJobitself β seeMecJob002/MecJob003for how little a concrete job actually needs to define.