<CustomOpportunityClass> in <OpportunitiesSetup> dataset


NRaas.Gameplay.Opportunities.OpportunityEx, NRaasCareer
  • Generic opportunity scripting class which enables an expanded set of <Requirement[N]> parameters
  • Note that use of this class is intended only if you use the expanded set of parameters.
    • Do not use a custom scripting class if you intend to use the default EA parameters

NRaas.Gameplay.Opportunities.KillOpportunity, NRaasCareer
  • Based off "NRaas.Gameplay.Opportunities.OpportunityEx"
  • This opportunity is satisfied when the given target is killed by any means (even old age)

NRaas.Gameplay.Opportunities.RecruitOpportunity, NRaasCareer
  • Based off "NRaas.Gameplay.Opportunities.OpportunityEx"
  • This opportunity is satisfied when the given target changes careers to match the handler



Opportunity Rewards


The following are expanded parameters available when using scripting classes:
  • "NRaas.Gameplay.Opportunities.OpportunityEx"
  • "NRaas.Gameplay.OmniSpace.Events.EventReward"
  • "NRaas.Gameplay.OmniSpace.Events.EventChoice"


  • NRaas.Gameplay.Rewards.BurnDeathReward, NRaasCareer
  • NRaas.Gameplay.Rewards.CurseDeathReward, NRaasCareer
  • NRaas.Gameplay.Rewards.DeathReward, NRaasCareer
  • NRaas.Gameplay.Rewards.DrownDeathReward, NRaasCareer
  • NRaas.Gameplay.Rewards.ElectrocutionDeathReward, NRaasCareer
  • NRaas.Gameplay.Rewards.StarveDeathReward, NRaasCareer
    • Kills the sim in the given manner

  • NRaas.Gameplay.Rewards.PregnancyReward, NRaasCareer
    • Impregnates the sim using the Target as the other sim
    • If there is not target (which occurs when the reward is used during a Career Event), a random adult resident of the opposite sex is used as the other sim



Expanded <Requirement[N]> parameters added by "NRaas.Gameplay.Opportunities.OpportunityEx"


See EA Scripting Constants Opportunities for Core values.

TargetAge
  • Target must be of a specific age. This must be followed by a comma separated list of applicable ages
  • Ages: Baby, Toddler, Child, Teen, YoungAdult, Adult, Elder
TargetCareer
  • Target must be of a specific career. This must be followed by comma separated list of CareerNames elements
TargetGender
  • Target must be of a specific gender. This must be followed by a comma and either Male or Female
SameCareer
  • Target must be in the Same Career
DifferentCareer
  • Target must be in the Different Career
SameBranch
  • Target must be in the Same Career and the same branch
DifferentBranch
  • Target must be in the Same Career but a different branch
TargetService
  • Target must be a service sim. This can be followed by a comma separated list of valid ServiceType elements
  • If no specific ServiceType elements are given, any service sim (except Reaper) is considered valid
Alive
  • Target must be alive (ie: not dead)
Undead
  • Target must be "dead" (ghost or mummy)
Coworker
  • Target must be your coworker
Boss
  • Target must be your boss