ProduceResource - Angel-125/Snacks GitHub Wiki
This outcome produces the specified resource in the desired amount. It can be a vessel resource or a roster resource. Example definition: OUTCOME { name = ProduceResource resourceName = Stress amount = 1 }
Fields
resourceName
Name of the resource to produce
randomMin
Optional minimum value of random amount to produce.
randomMax
Optional maximum value of random amount to produce.
amount
Amount of resource to produce. Takes presedence over randomMin and randomMax
Methods
Constructor
Initializes a new instance of the class.
Parameters
node: A ConfigNode containing initialization parameters. Parameters in the class also apply.
Constructor
Initializes a new instance of the class.
Parameters
resourceName: The name of the resource to produce. It can be a roster resource.
amount: The amount of resource to produce
canBeRandom: If set to true it can be randomly selected from the outcomes list.
playerMessage: A message for the player.