AllJob003
Overview
A minimal Allied Nation side job: a generic bounty to destroy every object carrying the "China" label, restricted to hero characters. The whole file is eight lines โ it sets the base classโs label filter and hero-only flag, then starts the job. All actual target-finding/tracking logic lives in the MrxTaskJobDestroyType base class, not in this file.
Inheritance
- Inherits from:
MrxTaskJobDestroyType(a realresident/module โ see that page for the base classโs own behavior) - Imports: none
Instance pattern
A native MrxTaskJobDestroyType subclass with no data or state of its own โ this file only configures the base class.
Functions
Activated(self)
Calls the base MrxTaskJobDestroyType.Activated, sets the label filter to "China", restricts the job to hero characters (_SetHeroOnly(true)), and starts it with _Go.
Events
None registered directly in this file โ target discovery/tracking is entirely handled inside the native MrxTaskJobDestroyType base class.
Notes for modders
This is the native MrxTaskContract/WifMissionData mission system, not Contract Framework โ see Contract.Register & Lifecycle for why mods use a different, ephemeral system instead of hooking into this one directly.
- This is the minimal possible
MrxTaskJobDestroyTypesubclass โ a good reference shape for a โdestroy every labeled Xโ bounty job that needs no custom data. - Mirror pair: ChiJob003 is the exact same file with the label filter flipped to
"Allied"โ each faction offers a side job to hunt down the other factionโs labeled assets.