Barotrauma Client Doc
|
Classes | |
class | Requirement |
Public Member Functions | |
IReadOnlyList< string > | GetMessages (Faction faction) |
LocationTypeChange (Identifier currentType, ContentXElement element, bool requireChangeMessages, float defaultProbability=0.0f) | |
float | DetermineProbability (Location location) |
Public Attributes | |
readonly Identifier | CurrentType |
readonly Identifier | ChangeToType |
readonly float | Probability |
Base probability per turn for the location to change if near one of the RequiredLocations More... | |
readonly bool | RequireDiscovered |
List< Requirement > | Requirements = new List<Requirement>() |
readonly ImmutableArray< Identifier > | DisallowedAdjacentLocations |
The change can't happen if there's one or more of the given types of locations near this one More... | |
readonly int | DisallowedProximity |
How close the location needs to be to one of the DisallowedAdjacentLocations for the change to be disabled More... | |
readonly int | CooldownAfterChange |
The location can't change it's type for this many turns after this location type changes occurs More... | |
readonly Point | RequiredDurationRange |
Definition at line 11 of file LocationTypeChange.cs.
Barotrauma.LocationTypeChange.LocationTypeChange | ( | Identifier | currentType, |
ContentXElement | element, | ||
bool | requireChangeMessages, | ||
float | defaultProbability = 0.0f |
||
) |
Definition at line 178 of file LocationTypeChange.cs.
float Barotrauma.LocationTypeChange.DetermineProbability | ( | Location | location | ) |
Definition at line 218 of file LocationTypeChange.cs.
IReadOnlyList<string> Barotrauma.LocationTypeChange.GetMessages | ( | Faction | faction | ) |
Definition at line 140 of file LocationTypeChange.cs.
readonly Identifier Barotrauma.LocationTypeChange.ChangeToType |
Definition at line 126 of file LocationTypeChange.cs.
readonly int Barotrauma.LocationTypeChange.CooldownAfterChange |
The location can't change it's type for this many turns after this location type changes occurs
Definition at line 174 of file LocationTypeChange.cs.
readonly Identifier Barotrauma.LocationTypeChange.CurrentType |
Definition at line 124 of file LocationTypeChange.cs.
readonly ImmutableArray<Identifier> Barotrauma.LocationTypeChange.DisallowedAdjacentLocations |
The change can't happen if there's one or more of the given types of locations near this one
Definition at line 164 of file LocationTypeChange.cs.
readonly int Barotrauma.LocationTypeChange.DisallowedProximity |
How close the location needs to be to one of the DisallowedAdjacentLocations for the change to be disabled
Definition at line 169 of file LocationTypeChange.cs.
readonly float Barotrauma.LocationTypeChange.Probability |
Base probability per turn for the location to change if near one of the RequiredLocations
Definition at line 131 of file LocationTypeChange.cs.
readonly Point Barotrauma.LocationTypeChange.RequiredDurationRange |
Definition at line 176 of file LocationTypeChange.cs.
readonly bool Barotrauma.LocationTypeChange.RequireDiscovered |
Definition at line 133 of file LocationTypeChange.cs.
List<Requirement> Barotrauma.LocationTypeChange.Requirements = new List<Requirement>() |
Definition at line 135 of file LocationTypeChange.cs.