Class CargoGiftsRuleComponent
Used an event that gifts the station with certian cargo
Inheritance
System.Object
CargoGiftsRuleComponent
Namespace: Content.Server.StationEvents.Components
Assembly: Content.Server.dll
Syntax
public sealed class CargoGiftsRuleComponent : Component
Fields
| Improve this Doc View SourceAnnounce
The base announcement string (which then incorporates the strings below)
Declaration
public string Announce
Field Value
Type | Description |
---|---|
System.String |
Description
What is being sent
Declaration
public string Description
Field Value
Type | Description |
---|---|
System.String |
Dest
Destination of the gifts (who they get sent to on the station)
Declaration
public string Dest
Field Value
Type | Description |
---|---|
System.String |
Gifts
Cargo that you would like gifted to the station, with the quantity for each Use Ids from cargoProduct Prototypes
Declaration
public Dictionary<string, int> Gifts
Field Value
Type | Description |
---|---|
Dictionary<System.String, System.Int32> |
OrderSpaceToLeave
How much space (minimum) you want to leave in the order database for supply to actually do their work
Declaration
public int OrderSpaceToLeave
Field Value
Type | Description |
---|---|
System.Int32 |
Sender
Sender of the gifts
Declaration
public string Sender
Field Value
Type | Description |
---|---|
System.String |
TimeUntilNextGifts
Time until we consider next lot of gifts (if supply is overflowing with orders)
Declaration
public float TimeUntilNextGifts
Field Value
Type | Description |
---|---|
System.Single |