OilJob011

Overview

An Oil Company β€œverify a set of targets” side job spanning two location series β€” OilJob011_Target_01–05 and OilJob012_Target_01–05, ten targets total under one job. Structurally the Oil Company counterpart to GurJob002.

Inheritance

  • Inherits from: MrxTaskJobVerifySet (a real resident/ module β€” see that page for the base class’s own behavior)
  • Imports: none

Instance pattern

A native task-framework subclass. Module-level _tTargetNearbyVo (5 entries) and _tTargetCompleteVo (6 entries, gated by tRange on remaining-target count) are handed to the base class in Activated.

Functions

LoadAssets(self, tSaveData)

Registers the five OilJob011_Target_0N targets individually, then the five OilJob012_Target_NN targets in a for i = 1, 5 loop using string.format("%02d", i) β€” the same two-series shape as GurJob002, just built with a literal block for the first five instead of a loop for both. Note the OilJob012 targets’ staging/pristine layer names are built from an "OilJob011_" prefix rather than "OilJob012_" (e.g. vz_State_OilJob011_01_staging for an OilJob012_Target_01 target) β€” likely a copy-paste artifact from writing the second loop off the first block, though harmless as long as those layers actually exist under that name. Calls MrxTaskJobVerifySet.LoadAssets(self, tSaveData) last.

Activated(self)

Calls MrxTaskJobVerifySet.Activated(self), sets the faction id to "Oil" (_SetFactionId), sets both VO tables, and calls _Go().

Events

None registered directly in this file β€” target discovery/verification events live in the native MrxTaskJobVerifySet base.

Notes for modders

This is the native MrxTaskJobVerifySet/WifMissionData job system, not Contract Framework β€” see VZ Modules for the general native-vs-framework explanation and Contract.Register & Lifecycle for why mods use a different, ephemeral system instead of hooking into this one directly.

  • Confirms the pattern noted on GurJob002: every MrxTaskJobVerifySet subclass in this batch calls _SetFactionId in Activated (here, "Oil"), while MrxTaskJobDestroySet subclasses (GurJob020, OilJob008) never do.

Back to top

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