ILiquidContainerInternal
An interface in Root.Township, Alta.Liquid.
The internal side of a liquid container, used by the pouring code to change its contents directly.
- Listed in Stats, effects, heat and liquid
- Derived types
LiquidContainer,StaticLiquidContainer
Properties
| Member | What it is |
|---|---|
LiquidTransition OutTransition { get; } | The pour currently leaving this container, if any. |
Methods
| Member | What it is |
|---|---|
bool AddLiquid(LiquidContent containedLiquid, int amount, bool isForced = false) | Adds an amount of a liquid. Returns whether it worked. |
void AddLiquidInTransition(LiquidTransition liquidTransition) | Starts receiving liquid from a pour in progress. |
bool RemoveLiquid(int amount, bool isForced = false) | Removes an amount. Returns whether it worked. |
void RemoveLiquidInTransition(LiquidTransition liquidTransition) | Stops receiving from a pour in progress. |
void SetContent(LiquidContent stewLiquidContent) | Replaces what liquid the container holds. |