NRaas.StoryProgressionSpace.Personalities.GiveCashScenario


The intent of this scenario is to transfer money from the Actor to the Target. The scenario can be written to test scoring and provide a "Success" or "Failure" condition.

Story Translation Information:
  • If "Failure" the story key will be suffixed with "Fail"

  • Index "0" through "9" is the Actor
  • Index "10" through "19" is the Target
  • Index "20" is the amount of cash transferred

<Delta>

  • Defines the amount to increase the relationship between the two sims involved in the scenario
  • Valid values are any whole number ranging from 0 to 100

<Maximum>

  • Defines the maximum amount of family funds that can be transferred to the Target
  • Valid values are any whole number, or the <Name> of an option defined for this personality
  • If an option <Name> is specified, that option must be defined prior to this scenario in the XML file

<Minimum>

  • Defines the minimum amount of family funds that can be transferred to the Target
  • Valid values are any whole number, or the <Name> of an option defined for this personality
  • If an option <Name> is specified, that option must be defined prior to this scenario in the XML file

<AcceptanceScoring>

  • Defines a dual-sim scoring table
  • If the scoring is greater than "0", the money transfer occurs and the "Success" results are fired
  • Otherwise no money is transferred and the "Failure" results are fired
  • The scoring table provided must exist in either this module, or the base-mods scoring file
  • If left empty, the resignation will always succeed

<Success>

  • Specifies the results when the Actor transfers funds to the Target
  • Details on the various fields in this set are available here : StoryProgression Tutorial Success Failure Scenario Field Sets
  • Note that if there is no difference between "Success" and "Failure" results, you can leave off the prefix and define a single Field set to handle both conditions.

<Failure>

  • Specifies the results when no money transfer occurs
  • Details on the various fields in this set are available here : StoryProgression Tutorial Success Failure Scenario Field Sets
  • Note that if there is no difference between "Success" and "Failure" results, you can leave off the prefix and define a single Field set to handle both conditions.