◆ LocationTypeChange()
Barotrauma.LocationTypeChange.LocationTypeChange |
( |
Identifier | currentType, |
|
|
ContentXElement | element, |
|
|
bool | requireChangeMessages, |
|
|
float | defaultProbability = 0::0f ) |
◆ DetermineProbability()
float Barotrauma.LocationTypeChange.DetermineProbability |
( |
Location | location | ) |
|
◆ GetMessages()
IReadOnlyList< string > Barotrauma.LocationTypeChange.GetMessages |
( |
Faction | faction | ) |
|
◆ ChangeToType
readonly Identifier Barotrauma.LocationTypeChange.ChangeToType |
◆ CooldownAfterChange
readonly int Barotrauma.LocationTypeChange.CooldownAfterChange |
The location can't change it's type for this many turns after this location type changes occurs.
◆ CurrentType
readonly Identifier Barotrauma.LocationTypeChange.CurrentType |
◆ DisallowedAdjacentLocations
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.
◆ DisallowedProximity
readonly int Barotrauma.LocationTypeChange.DisallowedProximity |
How close the location needs to be to one of the DisallowedAdjacentLocations for the change to be disabled.
◆ Probability
readonly float Barotrauma.LocationTypeChange.Probability |
Base probability per turn for the location to change if near one of the RequiredLocations.
◆ RequiredDurationRange
readonly Point Barotrauma.LocationTypeChange.RequiredDurationRange |
◆ RequireDiscovered
readonly bool Barotrauma.LocationTypeChange.RequireDiscovered |
◆ Requirements
The documentation for this class was generated from the following file:
- /home/runner/work/Luatrauma.Docs/Luatrauma.Docs/libs/LuaCsForBarotrauma/Barotrauma/BarotraumaShared/SharedSource/Map/Map/LocationTypeChange.cs