mirror of
https://old.git.ood.ovh/eco/server-config.git
synced 2025-05-07 22:42:55 +02:00
uodate
This commit is contained in:
parent
05aac4077b
commit
20806f7f29
14 changed files with 465 additions and 389 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue