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

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/WifMissionData mission system (the MrxTaskJob branch), 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 MecJob itself β€” see MecJob002/MecJob003 for how little a concrete job actually needs to define.

Back to top

This site uses Just the Docs, a documentation theme for Jekyll.