◆ LocationType()
◆ Dispose()
override void Barotrauma.LocationType.Dispose |
( |
| ) |
|
◆ GetForcedOutpostGenerationParams()
◆ GetHireablesMissingFromCrew()
IEnumerable< JobPrefab > Barotrauma.LocationType.GetHireablesMissingFromCrew |
( |
| ) |
|
◆ GetPortrait()
Sprite Barotrauma.LocationType.GetPortrait |
( |
int | randomSeed | ) |
|
◆ GetRandomHireable()
JobPrefab Barotrauma.LocationType.GetRandomHireable |
( |
| ) |
|
◆ GetRandomNameId()
◆ GetRandomRawName()
string Barotrauma.LocationType.GetRandomRawName |
( |
Random | rand, |
|
|
IEnumerable< Location > | existingLocations ) |
For backwards compatibility. Chooses a random name from the names defined in the .txt name files (rawNamePaths).
◆ Random()
static LocationType Barotrauma.LocationType.Random |
( |
Random | rand, |
|
|
int? | zone = null, |
|
|
bool | requireOutpost = false, |
|
|
Func< LocationType, bool > | predicate = null ) |
|
static |
◆ ToString()
override string Barotrauma.LocationType.ToString |
( |
| ) |
|
◆ BeaconStationChance
readonly float Barotrauma.LocationType.BeaconStationChance |
◆ CanChangeTo
◆ CommonnessPerZone
readonly Dictionary<int, float> Barotrauma.LocationType.CommonnessPerZone = new Dictionary<int, float>() |
◆ Description
◆ ForceLocationName
readonly Identifier Barotrauma.LocationType.ForceLocationName |
◆ HideEntitySubcategories
readonly List<string> Barotrauma.LocationType.HideEntitySubcategories = new List<string>() |
◆ MinCountPerZone
readonly Dictionary<int, int> Barotrauma.LocationType.MinCountPerZone = new Dictionary<int, int>() |
◆ MissionIdentifiers
readonly ImmutableArray<Identifier> Barotrauma.LocationType.MissionIdentifiers |
◆ MissionTags
readonly ImmutableArray<Identifier> Barotrauma.LocationType.MissionTags |
◆ Name
◆ OutpostTeam
◆ Prefabs
◆ ShowSonarMarker
readonly bool Barotrauma.LocationType.ShowSonarMarker = true |
◆ AllowAsBiomeGate
bool Barotrauma.LocationType.AllowAsBiomeGate |
|
get |
◆ AllowInRandomLevels
bool Barotrauma.LocationType.AllowInRandomLevels |
|
get |
Can this location type be used in the random, non-campaign levels that don't take place in any specific zone.
◆ DailySpecialPriceModifier
float Barotrauma.LocationType.DailySpecialPriceModifier = 0.5f |
|
get |
◆ DailySpecialsCount
int Barotrauma.LocationType.DailySpecialsCount = 1 |
|
get |
◆ Faction
If set, forces the location to be assigned to this faction. Set to "None" if you don't want the location to be assigned to any faction.
◆ HasHireableCharacters
bool Barotrauma.LocationType.HasHireableCharacters |
|
get |
◆ HasOutpost
bool Barotrauma.LocationType.HasOutpost |
|
get |
◆ IgnoreGenericEvents
bool Barotrauma.LocationType.IgnoreGenericEvents |
|
get |
If set to true, only event sets that explicitly define this location type in EventSet.LocationTypeIdentifiers can be selected at this location. Defaults to false.
◆ IsEnterable
bool Barotrauma.LocationType.IsEnterable |
|
get |
◆ NameFormats
IReadOnlyList<string> Barotrauma.LocationType.NameFormats |
|
get |
◆ RadiationSprite
Sprite Barotrauma.LocationType.RadiationSprite |
|
get |
◆ ReplaceInRadiation
Identifier Barotrauma.LocationType.ReplaceInRadiation |
|
get |
◆ RequestedGoodsCount
int Barotrauma.LocationType.RequestedGoodsCount = 1 |
|
get |
◆ RequestGoodPriceModifier
float Barotrauma.LocationType.RequestGoodPriceModifier = 2f |
|
get |
◆ SecondaryFaction
Identifier Barotrauma.LocationType.SecondaryFaction |
|
get |
If set, forces the location to be assigned to this secondary faction. Set to "None" if you don't want the location to be assigned to any secondary faction.
◆ Sprite
Sprite Barotrauma.LocationType.Sprite |
|
get |
◆ SpriteColor
Color Barotrauma.LocationType.SpriteColor |
|
get |
◆ StoreInitialBalance
int Barotrauma.LocationType.StoreInitialBalance = 5000 |
|
get |
◆ StoreMaxReputationModifier
float Barotrauma.LocationType.StoreMaxReputationModifier = 0.1f |
|
get |
◆ StorePriceModifierRange
int Barotrauma.LocationType.StorePriceModifierRange = 5 |
|
get |
◆ StoreSellPriceModifier
float Barotrauma.LocationType.StoreSellPriceModifier = 0.3f |
|
get |
◆ UsePortraitInRandomLoadingScreens
bool Barotrauma.LocationType.UsePortraitInRandomLoadingScreens |
|
get |
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/LocationType.cs