MecJob003
Overview
MecJob003 is the third of 3 thin MecJob subclasses β delivers a damaged vehicle labeled "amx30" (displayed as reference image global_polaroid_calderone) to the mechanicβs garage. Like MecJob002 it uses a sPropVehTemplate placeholder prop, but itβs the only one of the three that adds its own extra layer (Vz_State_MecJob003) and its own Cleanup override to mark that layer for removal again afterward.
Inheritance
- Inherits from:
MecJob(βMrxTaskJobβMrxTaskMissionβMrxTask) βMecJobis a locally-defined base class in this samevz/corpus, not a native engine class. - Imports: none
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.
Functions
LoadAssets(self, tSaveData)
Overrides MecJobβs LoadAssets to add an extra layer, Vz_State_MecJob003, alongside the usual vz_state_gua_upperclass_pristine/Vz_State_MecJob pair, before calling AssetsLoaded.
Activated(self)
Sets sVehImg/sVehLabel/sObjText/iMinHealth/sIntro/sWrongVeh/sRightVeh (label "amx30", minimum health 30) and sPropVehTemplate = "Monster Truck phase2", then calls MecJob.Activated(self) (super call).
Cleanup(self)
Marks Vz_State_MecJob003 for removal (undoing the extra layer from LoadAssets), then calls MecJob.Cleanup(self) (super call).
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. - If you add your own extra layer in a
LoadAssetsoverride like this one, remember to mirror it with aCleanupoverride that marks it for removal βMecJob002needs neither because it adds no extra layer of its own.