mirror of
https://old.git.ood.ovh/eco/server-config.git
synced 2025-04-28 18:14:17 +02:00
uodate
This commit is contained in:
parent
05aac4077b
commit
20806f7f29
14 changed files with 465 additions and 389 deletions
|
@ -5,15 +5,18 @@
|
|||
"HoursPlayedToBeActiveDemographic": 0.5,
|
||||
"DayRangeForAbandonedDemographic": 7.0,
|
||||
"HoursPlayedToBeAbandonedDemographic": 0.0,
|
||||
"CitizenAgeForAbandonedDemographic": 24.0,
|
||||
"MinutesBetweenCivicsUpdates": 5.0,
|
||||
"AllowInvalidCivicContainerTimeInMinutes": 20.0,
|
||||
"WageFrequencyMinutes": 360.0,
|
||||
"RecurringTransferFrequency": 30.0,
|
||||
"AllowLawsToPreventLoginOrPlay": false,
|
||||
"BasicElectionSettings": {
|
||||
"MaximumElectionHours": 24.0,
|
||||
"MinimumPercentOfEligibleVotersRequired": 10.0,
|
||||
"EndElectionEarlyWhenThisPercentHaveVoted": 95.0,
|
||||
"MinimumDaysBetweenElectionsOfThisType": 0.0,
|
||||
"EndElectionEarlyWhenThisPercentHaveVoted": 95.0,
|
||||
"PercentOfAllVotersToInstantWin": 51.0,
|
||||
"PercentOfAllVotersToInstantLose": 51.0,
|
||||
"AnonymousVoting": false
|
||||
}
|
||||
}
|
2
Configs/EcoSim.eco.template
Normal file → Executable file
2
Configs/EcoSim.eco.template
Normal file → Executable file
|
@ -22,7 +22,7 @@
|
|||
"MaxTemperatureChangePerDay": 1.5,
|
||||
"TemperaturesRiseAtCO2ppm": 340.0,
|
||||
"CO2ppmPerDegreeTemperatureRise": 20.0,
|
||||
"MaxCO2PerDayFromAnimals": 10.0,
|
||||
"MaxCO2PerDayFromAnimals": 25.0,
|
||||
"MinCO2PerDayFromPlants": -500.0,
|
||||
"PollutionPerTailingPerTick": 0.016,
|
||||
"MaxDebrisBlocks": 1.0
|
||||
|
|
3
Configs/Economy.eco.template
Executable file
3
Configs/Economy.eco.template
Executable file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"RentEnabled": true
|
||||
}
|
6
Configs/Network.eco.template
Normal file → Executable file
6
Configs/Network.eco.template
Normal file → Executable file
|
@ -1,16 +1,18 @@
|
|||
{
|
||||
"PublicServer": false,
|
||||
"Playtime": "",
|
||||
"DiscordAddress": "",
|
||||
"Password": "",
|
||||
"DiscordAddress": "",
|
||||
"Description": "",
|
||||
"DetailedDescription": "",
|
||||
"ServerCategory": "None",
|
||||
"IPAddress": "Any",
|
||||
"WebServerUrl": "",
|
||||
"RemoteAddress": "",
|
||||
"GameServerPort": 3000,
|
||||
"WebServerPort": 3001,
|
||||
"Rate": 20,
|
||||
"MaxConnections": -1,
|
||||
"UPnPEnabled": true
|
||||
"UPnPEnabled": true,
|
||||
"RelayServerAddress": ""
|
||||
}
|
1
Configs/Storage.eco.template
Normal file → Executable file
1
Configs/Storage.eco.template
Normal file → Executable file
|
@ -2,5 +2,6 @@
|
|||
"SaveName": "Game",
|
||||
"SaveFrequency": 60,
|
||||
"CleanupFilesOnExceptions": false,
|
||||
"UseCacheForDBQueries": true,
|
||||
"StorageDirectory": "Storage"
|
||||
}
|
|
@ -1,32 +1,9 @@
|
|||
{
|
||||
"ConfigVersion": 1,
|
||||
"UseWaste": false,
|
||||
"MaxRepFromOnePerson": 30.0,
|
||||
"MinRepFromOnePerson": -10.0,
|
||||
"AllowDebugCalls": false,
|
||||
"WhiteList": {
|
||||
"System.String": {
|
||||
"$type": "System.Collections.Generic.List`1[[System.String, System.Private.CoreLib]], System.Private.CoreLib",
|
||||
"$values": []
|
||||
}
|
||||
},
|
||||
"BlackList": {
|
||||
"System.String": {
|
||||
"$type": "System.Collections.Generic.List`1[[System.String, System.Private.CoreLib]], System.Private.CoreLib",
|
||||
"$values": []
|
||||
}
|
||||
},
|
||||
"MuteList": {
|
||||
"System.String": {
|
||||
"$type": "System.Collections.Generic.List`1[[System.String, System.Private.CoreLib]], System.Private.CoreLib",
|
||||
"$values": []
|
||||
}
|
||||
},
|
||||
"Admins": {
|
||||
"System.String": {
|
||||
"$type": "System.Collections.Generic.List`1[[System.String, System.Private.CoreLib]], System.Private.CoreLib",
|
||||
"$values": []
|
||||
}
|
||||
},
|
||||
"Reputations": {
|
||||
"Eco.Gameplay.Economy.ReputationTitle": {
|
||||
"$type": "System.Collections.Generic.List`1[[Eco.Gameplay.Economy.ReputationTitle, Eco.Gameplay]], System.Private.CoreLib",
|
||||
|
@ -140,5 +117,39 @@
|
|||
"y": 63,
|
||||
"z": 698
|
||||
},
|
||||
"IgnoreVersionMismatch": false
|
||||
"IgnoreVersionMismatch": false,
|
||||
"UserPermission": {
|
||||
"WhiteList": {
|
||||
"Collection": {
|
||||
"System.String": {
|
||||
"$type": "System.Collections.Generic.List`1[[System.String, System.Private.CoreLib]], System.Private.CoreLib",
|
||||
"$values": []
|
||||
}
|
||||
}
|
||||
},
|
||||
"BlackList": {
|
||||
"Collection": {
|
||||
"Eco.Gameplay.Players.TimeUser": {
|
||||
"$type": "System.Collections.Generic.List`1[[Eco.Gameplay.Players.TimeUser, Eco.Gameplay]], System.Private.CoreLib",
|
||||
"$values": []
|
||||
}
|
||||
}
|
||||
},
|
||||
"MuteList": {
|
||||
"Collection": {
|
||||
"Eco.Gameplay.Players.TimeUser": {
|
||||
"$type": "System.Collections.Generic.List`1[[Eco.Gameplay.Players.TimeUser, Eco.Gameplay]], System.Private.CoreLib",
|
||||
"$values": []
|
||||
}
|
||||
}
|
||||
},
|
||||
"Admins": {
|
||||
"Collection": {
|
||||
"System.String": {
|
||||
"$type": "System.Collections.Generic.List`1[[System.String, System.Private.CoreLib]], System.Private.CoreLib",
|
||||
"$values": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
657
Configs/WorldGenerator.eco.template
Normal file → Executable file
657
Configs/WorldGenerator.eco.template
Normal file → Executable file
File diff suppressed because it is too large
Load diff
|
@ -18,11 +18,11 @@ namespace Eco.Mods.WorldLayers
|
|||
public PlantLayerSettingsBirch() : base()
|
||||
{
|
||||
this.Name = "Birch";
|
||||
this.DisplayName = string.Format("{0} {1}", Localizer.DoStr("Birch"), Localizer.DoStr("Population"));
|
||||
this.DisplayName = Localizer.DoStr("Birch");
|
||||
this.InitMultiplier = 1;
|
||||
this.SyncToClient = false;
|
||||
this.Range = new Range(0f, 1f);
|
||||
this.RenderRange = new Range(0f, 0.05f);
|
||||
this.OverrideRenderRange = new Range(0f, 0.05f);
|
||||
this.MinColor = new Color(1f, 1f, 1f);
|
||||
this.MaxColor = new Color(0f, 1f, 0f);
|
||||
this.SumRelevant = true;
|
||||
|
@ -31,6 +31,7 @@ namespace Eco.Mods.WorldLayers
|
|||
this.Category = WorldLayerCategory.Plant;
|
||||
this.ValueType = WorldLayerValueType.FillRate;
|
||||
this.AreaDescription = "";
|
||||
this.Subcategory = "Birch".AddSpacesBetweenCapitals();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -56,6 +57,7 @@ namespace Eco.Mods.Organisms
|
|||
static TreeSpecies species;
|
||||
|
||||
[Ecopedia("Plants", "Trees", createAsSubPage: true, display: InPageTooltip.DynamicTooltip)]
|
||||
[Tag("Plants")]
|
||||
public partial class BirchSpecies : TreeSpecies
|
||||
{
|
||||
public BirchSpecies() : base()
|
||||
|
@ -63,6 +65,8 @@ namespace Eco.Mods.Organisms
|
|||
species = this;
|
||||
this.InstanceType = typeof(Birch);
|
||||
|
||||
this.SetDefaultProperties();
|
||||
|
||||
// Info
|
||||
this.Decorative = false;
|
||||
this.Name = "Birch";
|
||||
|
@ -84,11 +88,11 @@ namespace Eco.Mods.Organisms
|
|||
this.ResourceBonusAtGrowth = 0.9f;
|
||||
// Visuals
|
||||
// Climate
|
||||
this.ReleasesCO2TonsPerDay = -0.1f;
|
||||
this.ReleasesCO2TonsPerDay = -0.075f;
|
||||
// WorldLayers
|
||||
this.MaxGrowthRate = 0.02f;
|
||||
this.MaxDeathRate = 0.01f;
|
||||
this.SpreadRate = 0.001f;
|
||||
this.SpreadRate = 0.0001f;
|
||||
this.ResourceConstraints.Add(new ResourceConstraint() { LayerName = "SoilMoisture", HalfSpeedConcentration = 0.1f, MaxResourceContent = 0.1f });
|
||||
this.CapacityConstraints.Add(new CapacityConstraint() { CapacityLayerName = "FertileGround", ConsumedCapacityPerPop = 10 });
|
||||
this.CapacityConstraints.Add(new CapacityConstraint() { CapacityLayerName = "CanopySpace", ConsumedCapacityPerPop = 30 });
|
||||
|
@ -102,8 +106,9 @@ namespace Eco.Mods.Organisms
|
|||
this.MaxPollutionDensity = 0.7f;
|
||||
this.PollutionDensityTolerance = 0.1f;
|
||||
this.VoxelsPerEntry = 20;
|
||||
|
||||
}
|
||||
|
||||
partial void SetDefaultProperties();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,11 +18,11 @@ namespace Eco.Mods.WorldLayers
|
|||
public PlantLayerSettingsCedar() : base()
|
||||
{
|
||||
this.Name = "Cedar";
|
||||
this.DisplayName = string.Format("{0} {1}", Localizer.DoStr("Cedar"), Localizer.DoStr("Population"));
|
||||
this.DisplayName = Localizer.DoStr("Cedar");
|
||||
this.InitMultiplier = 1;
|
||||
this.SyncToClient = false;
|
||||
this.Range = new Range(0f, 1f);
|
||||
this.RenderRange = new Range(0f, 0.05f);
|
||||
this.OverrideRenderRange = new Range(0f, 0.05f);
|
||||
this.MinColor = new Color(1f, 1f, 1f);
|
||||
this.MaxColor = new Color(0f, 1f, 0f);
|
||||
this.SumRelevant = true;
|
||||
|
@ -31,6 +31,7 @@ namespace Eco.Mods.WorldLayers
|
|||
this.Category = WorldLayerCategory.Plant;
|
||||
this.ValueType = WorldLayerValueType.FillRate;
|
||||
this.AreaDescription = "";
|
||||
this.Subcategory = "Cedar".AddSpacesBetweenCapitals();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -56,6 +57,7 @@ namespace Eco.Mods.Organisms
|
|||
static TreeSpecies species;
|
||||
|
||||
[Ecopedia("Plants", "Trees", createAsSubPage: true, display: InPageTooltip.DynamicTooltip)]
|
||||
[Tag("Plants")]
|
||||
public partial class CedarSpecies : TreeSpecies
|
||||
{
|
||||
public CedarSpecies() : base()
|
||||
|
@ -63,6 +65,8 @@ namespace Eco.Mods.Organisms
|
|||
species = this;
|
||||
this.InstanceType = typeof(Cedar);
|
||||
|
||||
this.SetDefaultProperties();
|
||||
|
||||
// Info
|
||||
this.Decorative = false;
|
||||
this.Name = "Cedar";
|
||||
|
@ -84,11 +88,11 @@ namespace Eco.Mods.Organisms
|
|||
this.ResourceBonusAtGrowth = 0.9f;
|
||||
// Visuals
|
||||
// Climate
|
||||
this.ReleasesCO2TonsPerDay = -0.1f;
|
||||
this.ReleasesCO2TonsPerDay = -0.075f;
|
||||
// WorldLayers
|
||||
this.MaxGrowthRate = 0.02f;
|
||||
this.MaxDeathRate = 0.01f;
|
||||
this.SpreadRate = 0.001f;
|
||||
this.SpreadRate = 0.0001f;
|
||||
this.ResourceConstraints.Add(new ResourceConstraint() { LayerName = "SoilMoisture", HalfSpeedConcentration = 0.1f, MaxResourceContent = 0.1f });
|
||||
this.CapacityConstraints.Add(new CapacityConstraint() { CapacityLayerName = "FertileGround", ConsumedCapacityPerPop = 10 });
|
||||
this.CapacityConstraints.Add(new CapacityConstraint() { CapacityLayerName = "CanopySpace", ConsumedCapacityPerPop = 30 });
|
||||
|
@ -102,8 +106,9 @@ namespace Eco.Mods.Organisms
|
|||
this.MaxPollutionDensity = 0.7f;
|
||||
this.PollutionDensityTolerance = 0.1f;
|
||||
this.VoxelsPerEntry = 20;
|
||||
|
||||
}
|
||||
|
||||
partial void SetDefaultProperties();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,11 +18,11 @@ namespace Eco.Mods.WorldLayers
|
|||
public PlantLayerSettingsCeiba() : base()
|
||||
{
|
||||
this.Name = "Ceiba";
|
||||
this.DisplayName = string.Format("{0} {1}", Localizer.DoStr("Ceiba"), Localizer.DoStr("Population"));
|
||||
this.DisplayName = Localizer.DoStr("Ceiba");
|
||||
this.InitMultiplier = 1;
|
||||
this.SyncToClient = false;
|
||||
this.Range = new Range(0f, 1f);
|
||||
this.RenderRange = new Range(0f, 0.05f);
|
||||
this.OverrideRenderRange = new Range(0f, 0.05f);
|
||||
this.MinColor = new Color(1f, 1f, 1f);
|
||||
this.MaxColor = new Color(0f, 1f, 0f);
|
||||
this.SumRelevant = true;
|
||||
|
@ -31,6 +31,7 @@ namespace Eco.Mods.WorldLayers
|
|||
this.Category = WorldLayerCategory.Plant;
|
||||
this.ValueType = WorldLayerValueType.FillRate;
|
||||
this.AreaDescription = "";
|
||||
this.Subcategory = "Ceiba".AddSpacesBetweenCapitals();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -56,6 +57,7 @@ namespace Eco.Mods.Organisms
|
|||
static TreeSpecies species;
|
||||
|
||||
[Ecopedia("Plants", "Trees", createAsSubPage: true, display: InPageTooltip.DynamicTooltip)]
|
||||
[Tag("Plants")]
|
||||
public partial class CeibaSpecies : TreeSpecies
|
||||
{
|
||||
public CeibaSpecies() : base()
|
||||
|
@ -63,6 +65,8 @@ namespace Eco.Mods.Organisms
|
|||
species = this;
|
||||
this.InstanceType = typeof(Ceiba);
|
||||
|
||||
this.SetDefaultProperties();
|
||||
|
||||
// Info
|
||||
this.Decorative = false;
|
||||
this.Name = "Ceiba";
|
||||
|
@ -72,7 +76,7 @@ namespace Eco.Mods.Organisms
|
|||
// Generation
|
||||
this.Height = 1;
|
||||
// Food
|
||||
this.CalorieValue = 15;
|
||||
this.CalorieValue = 30;
|
||||
// Resources
|
||||
this.PostHarvestingGrowth = 0;
|
||||
this.ScythingKills = false;
|
||||
|
@ -84,15 +88,15 @@ namespace Eco.Mods.Organisms
|
|||
this.ResourceBonusAtGrowth = 0.9f;
|
||||
// Visuals
|
||||
// Climate
|
||||
this.ReleasesCO2TonsPerDay = -0.2f;
|
||||
this.ReleasesCO2TonsPerDay = -0.15f;
|
||||
// WorldLayers
|
||||
this.MaxGrowthRate = 0.02f;
|
||||
this.MaxDeathRate = 0.01f;
|
||||
this.SpreadRate = 0.001f;
|
||||
this.SpreadRate = 0.0001f;
|
||||
this.ResourceConstraints.Add(new ResourceConstraint() { LayerName = "SoilMoisture", HalfSpeedConcentration = 0.0f, MaxResourceContent = 1.0f });
|
||||
this.CapacityConstraints.Add(new CapacityConstraint() { CapacityLayerName = "FertileGround", ConsumedCapacityPerPop = 4 });
|
||||
this.CapacityConstraints.Add(new CapacityConstraint() { CapacityLayerName = "CanopySpace", ConsumedCapacityPerPop = 40 });
|
||||
this.BlanketSpawnPercent = 0.5f;
|
||||
this.CapacityConstraints.Add(new CapacityConstraint() { CapacityLayerName = "CanopySpace", ConsumedCapacityPerPop = 10 });
|
||||
this.BlanketSpawnPercent = 0.7f;
|
||||
this.IdealTemperatureRange = new Range(0.65f, 0.75f);
|
||||
this.IdealMoistureRange = new Range(0.75f, 0.95f);
|
||||
this.IdealWaterRange = new Range(0, 0.1f);
|
||||
|
@ -102,8 +106,9 @@ namespace Eco.Mods.Organisms
|
|||
this.MaxPollutionDensity = 0.7f;
|
||||
this.PollutionDensityTolerance = 0.1f;
|
||||
this.VoxelsPerEntry = 20;
|
||||
|
||||
}
|
||||
|
||||
partial void SetDefaultProperties();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,11 +18,11 @@ namespace Eco.Mods.WorldLayers
|
|||
public PlantLayerSettingsJoshua() : base()
|
||||
{
|
||||
this.Name = "Joshua";
|
||||
this.DisplayName = string.Format("{0} {1}", Localizer.DoStr("Joshua"), Localizer.DoStr("Population"));
|
||||
this.DisplayName = Localizer.DoStr("Joshua");
|
||||
this.InitMultiplier = 1;
|
||||
this.SyncToClient = false;
|
||||
this.Range = new Range(0f, 1f);
|
||||
this.RenderRange = new Range(0f, 0.05f);
|
||||
this.OverrideRenderRange = new Range(0f, 0.05f);
|
||||
this.MinColor = new Color(1f, 1f, 1f);
|
||||
this.MaxColor = new Color(0f, 1f, 0f);
|
||||
this.SumRelevant = true;
|
||||
|
@ -31,6 +31,7 @@ namespace Eco.Mods.WorldLayers
|
|||
this.Category = WorldLayerCategory.Plant;
|
||||
this.ValueType = WorldLayerValueType.FillRate;
|
||||
this.AreaDescription = "";
|
||||
this.Subcategory = "Joshua".AddSpacesBetweenCapitals();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -56,6 +57,7 @@ namespace Eco.Mods.Organisms
|
|||
static TreeSpecies species;
|
||||
|
||||
[Ecopedia("Plants", "Trees", createAsSubPage: true, display: InPageTooltip.DynamicTooltip)]
|
||||
[Tag("Plants")]
|
||||
public partial class JoshuaSpecies : TreeSpecies
|
||||
{
|
||||
public JoshuaSpecies() : base()
|
||||
|
@ -63,6 +65,8 @@ namespace Eco.Mods.Organisms
|
|||
species = this;
|
||||
this.InstanceType = typeof(Joshua);
|
||||
|
||||
this.SetDefaultProperties();
|
||||
|
||||
// Info
|
||||
this.Decorative = false;
|
||||
this.Name = "Joshua";
|
||||
|
@ -84,11 +88,11 @@ namespace Eco.Mods.Organisms
|
|||
this.ResourceBonusAtGrowth = 0.9f;
|
||||
// Visuals
|
||||
// Climate
|
||||
this.ReleasesCO2TonsPerDay = -0.05f;
|
||||
this.ReleasesCO2TonsPerDay = -0.0375f;
|
||||
// WorldLayers
|
||||
this.MaxGrowthRate = 0.02f;
|
||||
this.MaxDeathRate = 0.01f;
|
||||
this.SpreadRate = 0.001f;
|
||||
this.SpreadRate = 0.0001f;
|
||||
this.ResourceConstraints.Add(new ResourceConstraint() { LayerName = "SoilMoisture", HalfSpeedConcentration = 0.0f, MaxResourceContent = 1.0f });
|
||||
this.CapacityConstraints.Add(new CapacityConstraint() { CapacityLayerName = "FertileGround", ConsumedCapacityPerPop = 4 });
|
||||
this.CapacityConstraints.Add(new CapacityConstraint() { CapacityLayerName = "CanopySpace", ConsumedCapacityPerPop = 30 });
|
||||
|
@ -102,8 +106,9 @@ namespace Eco.Mods.Organisms
|
|||
this.MaxPollutionDensity = 0.7f;
|
||||
this.PollutionDensityTolerance = 0.1f;
|
||||
this.VoxelsPerEntry = 20;
|
||||
|
||||
}
|
||||
|
||||
partial void SetDefaultProperties();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,11 +18,11 @@ namespace Eco.Mods.WorldLayers
|
|||
public PlantLayerSettingsOak() : base()
|
||||
{
|
||||
this.Name = "Oak";
|
||||
this.DisplayName = string.Format("{0} {1}", Localizer.DoStr("Oak"), Localizer.DoStr("Population"));
|
||||
this.DisplayName = Localizer.DoStr("Oak");
|
||||
this.InitMultiplier = 1;
|
||||
this.SyncToClient = false;
|
||||
this.Range = new Range(0f, 1f);
|
||||
this.RenderRange = new Range(0f, 0.05f);
|
||||
this.OverrideRenderRange = new Range(0f, 0.05f);
|
||||
this.MinColor = new Color(1f, 1f, 1f);
|
||||
this.MaxColor = new Color(0f, 1f, 0f);
|
||||
this.SumRelevant = true;
|
||||
|
@ -31,6 +31,7 @@ namespace Eco.Mods.WorldLayers
|
|||
this.Category = WorldLayerCategory.Plant;
|
||||
this.ValueType = WorldLayerValueType.FillRate;
|
||||
this.AreaDescription = "";
|
||||
this.Subcategory = "Oak".AddSpacesBetweenCapitals();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -56,6 +57,7 @@ namespace Eco.Mods.Organisms
|
|||
static TreeSpecies species;
|
||||
|
||||
[Ecopedia("Plants", "Trees", createAsSubPage: true, display: InPageTooltip.DynamicTooltip)]
|
||||
[Tag("Plants")]
|
||||
public partial class OakSpecies : TreeSpecies
|
||||
{
|
||||
public OakSpecies() : base()
|
||||
|
@ -63,6 +65,8 @@ namespace Eco.Mods.Organisms
|
|||
species = this;
|
||||
this.InstanceType = typeof(Oak);
|
||||
|
||||
this.SetDefaultProperties();
|
||||
|
||||
// Info
|
||||
this.Decorative = false;
|
||||
this.Name = "Oak";
|
||||
|
@ -84,11 +88,11 @@ namespace Eco.Mods.Organisms
|
|||
this.ResourceBonusAtGrowth = 0.9f;
|
||||
// Visuals
|
||||
// Climate
|
||||
this.ReleasesCO2TonsPerDay = -0.2f;
|
||||
this.ReleasesCO2TonsPerDay = -0.15f;
|
||||
// WorldLayers
|
||||
this.MaxGrowthRate = 0.02f;
|
||||
this.MaxDeathRate = 0.01f;
|
||||
this.SpreadRate = 0.001f;
|
||||
this.SpreadRate = 0.0001f;
|
||||
this.ResourceConstraints.Add(new ResourceConstraint() { LayerName = "SoilMoisture", HalfSpeedConcentration = 0.1f, MaxResourceContent = 0.2f });
|
||||
this.CapacityConstraints.Add(new CapacityConstraint() { CapacityLayerName = "FertileGround", ConsumedCapacityPerPop = 20 });
|
||||
this.CapacityConstraints.Add(new CapacityConstraint() { CapacityLayerName = "CanopySpace", ConsumedCapacityPerPop = 50 });
|
||||
|
@ -102,8 +106,9 @@ namespace Eco.Mods.Organisms
|
|||
this.MaxPollutionDensity = 0.7f;
|
||||
this.PollutionDensityTolerance = 0.1f;
|
||||
this.VoxelsPerEntry = 20;
|
||||
|
||||
}
|
||||
|
||||
partial void SetDefaultProperties();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,11 +18,11 @@ namespace Eco.Mods.WorldLayers
|
|||
public PlantLayerSettingsRedwood() : base()
|
||||
{
|
||||
this.Name = "Redwood";
|
||||
this.DisplayName = string.Format("{0} {1}", Localizer.DoStr("Redwood"), Localizer.DoStr("Population"));
|
||||
this.DisplayName = Localizer.DoStr("Redwood");
|
||||
this.InitMultiplier = 1;
|
||||
this.SyncToClient = false;
|
||||
this.Range = new Range(0f, 1f);
|
||||
this.RenderRange = new Range(0f, 0.05f);
|
||||
this.OverrideRenderRange = new Range(0f, 0.05f);
|
||||
this.MinColor = new Color(1f, 1f, 1f);
|
||||
this.MaxColor = new Color(0f, 1f, 0f);
|
||||
this.SumRelevant = true;
|
||||
|
@ -31,6 +31,7 @@ namespace Eco.Mods.WorldLayers
|
|||
this.Category = WorldLayerCategory.Plant;
|
||||
this.ValueType = WorldLayerValueType.FillRate;
|
||||
this.AreaDescription = "";
|
||||
this.Subcategory = "Redwood".AddSpacesBetweenCapitals();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -56,6 +57,7 @@ namespace Eco.Mods.Organisms
|
|||
static TreeSpecies species;
|
||||
|
||||
[Ecopedia("Plants", "Trees", createAsSubPage: true, display: InPageTooltip.DynamicTooltip)]
|
||||
[Tag("Plants")]
|
||||
public partial class RedwoodSpecies : TreeSpecies
|
||||
{
|
||||
public RedwoodSpecies() : base()
|
||||
|
@ -63,6 +65,8 @@ namespace Eco.Mods.Organisms
|
|||
species = this;
|
||||
this.InstanceType = typeof(Redwood);
|
||||
|
||||
this.SetDefaultProperties();
|
||||
|
||||
// Info
|
||||
this.Decorative = false;
|
||||
this.Name = "Redwood";
|
||||
|
@ -84,11 +88,11 @@ namespace Eco.Mods.Organisms
|
|||
this.ResourceBonusAtGrowth = 0.9f;
|
||||
// Visuals
|
||||
// Climate
|
||||
this.ReleasesCO2TonsPerDay = -0.2f;
|
||||
this.ReleasesCO2TonsPerDay = -0.15f;
|
||||
// WorldLayers
|
||||
this.MaxGrowthRate = 0.02f;
|
||||
this.MaxDeathRate = 0.01f;
|
||||
this.SpreadRate = 0.001f;
|
||||
this.SpreadRate = 0.0001f;
|
||||
this.ResourceConstraints.Add(new ResourceConstraint() { LayerName = "SoilMoisture", HalfSpeedConcentration = 0.1f, MaxResourceContent = 0.7f });
|
||||
this.CapacityConstraints.Add(new CapacityConstraint() { CapacityLayerName = "FertileGround", ConsumedCapacityPerPop = 20 });
|
||||
this.CapacityConstraints.Add(new CapacityConstraint() { CapacityLayerName = "CanopySpace", ConsumedCapacityPerPop = 26 });
|
||||
|
@ -102,8 +106,9 @@ namespace Eco.Mods.Organisms
|
|||
this.MaxPollutionDensity = 0.7f;
|
||||
this.PollutionDensityTolerance = 0.1f;
|
||||
this.VoxelsPerEntry = 20;
|
||||
|
||||
}
|
||||
|
||||
partial void SetDefaultProperties();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,11 +18,11 @@ namespace Eco.Mods.WorldLayers
|
|||
public PlantLayerSettingsSaguaroCactus() : base()
|
||||
{
|
||||
this.Name = "SaguaroCactus";
|
||||
this.DisplayName = string.Format("{0} {1}", Localizer.DoStr("Saguaro Cactus"), Localizer.DoStr("Population"));
|
||||
this.DisplayName = Localizer.DoStr("Saguaro Cactus");
|
||||
this.InitMultiplier = 1;
|
||||
this.SyncToClient = false;
|
||||
this.Range = new Range(0f, 1f);
|
||||
this.RenderRange = new Range(0f, 0.05f);
|
||||
this.OverrideRenderRange = new Range(0f, 0.05f);
|
||||
this.MinColor = new Color(1f, 1f, 1f);
|
||||
this.MaxColor = new Color(0f, 1f, 0f);
|
||||
this.SumRelevant = true;
|
||||
|
@ -31,6 +31,7 @@ namespace Eco.Mods.WorldLayers
|
|||
this.Category = WorldLayerCategory.Plant;
|
||||
this.ValueType = WorldLayerValueType.FillRate;
|
||||
this.AreaDescription = "";
|
||||
this.Subcategory = "SaguaroCactus".AddSpacesBetweenCapitals();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -56,6 +57,7 @@ namespace Eco.Mods.Organisms
|
|||
static TreeSpecies species;
|
||||
|
||||
[Ecopedia("Plants", "Plants", createAsSubPage: true, display: InPageTooltip.DynamicTooltip)]
|
||||
[Tag("Plants")]
|
||||
public partial class SaguaroCactusSpecies : TreeSpecies
|
||||
{
|
||||
public SaguaroCactusSpecies() : base()
|
||||
|
@ -63,6 +65,8 @@ namespace Eco.Mods.Organisms
|
|||
species = this;
|
||||
this.InstanceType = typeof(SaguaroCactus);
|
||||
|
||||
this.SetDefaultProperties();
|
||||
|
||||
// Info
|
||||
this.Decorative = false;
|
||||
this.Name = "SaguaroCactus";
|
||||
|
@ -84,11 +88,11 @@ namespace Eco.Mods.Organisms
|
|||
this.ResourceBonusAtGrowth = 0.9f;
|
||||
// Visuals
|
||||
// Climate
|
||||
this.ReleasesCO2TonsPerDay = -0.05f;
|
||||
this.ReleasesCO2TonsPerDay = -0.0375f;
|
||||
// WorldLayers
|
||||
this.MaxGrowthRate = 0.02f;
|
||||
this.MaxDeathRate = 0.01f;
|
||||
this.SpreadRate = 0.001f;
|
||||
this.SpreadRate = 0.0001f;
|
||||
this.ResourceConstraints.Add(new ResourceConstraint() { LayerName = "SoilMoisture", HalfSpeedConcentration = 0.1f, MaxResourceContent = 0.2f });
|
||||
this.CapacityConstraints.Add(new CapacityConstraint() { CapacityLayerName = "FertileGround", ConsumedCapacityPerPop = 4 });
|
||||
this.CapacityConstraints.Add(new CapacityConstraint() { CapacityLayerName = "CanopySpace", ConsumedCapacityPerPop = 15 });
|
||||
|
@ -102,8 +106,9 @@ namespace Eco.Mods.Organisms
|
|||
this.MaxPollutionDensity = 0.7f;
|
||||
this.PollutionDensityTolerance = 0.1f;
|
||||
this.VoxelsPerEntry = 20;
|
||||
|
||||
}
|
||||
|
||||
partial void SetDefaultProperties();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue