-
Notifications
You must be signed in to change notification settings - Fork 14
ProduceResource
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 }
Name of the resource to produce
Optional minimum value of random amount to produce.
Optional maximum value of random amount to produce.
Amount of resource to produce. Takes presedence over randomMin and randomMax
Initializes a new instance of the class.
node: A ConfigNode containing initialization parameters. Parameters in the class also apply.
Initializes a new instance of the class.
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.