mirror of
https://old.git.ood.ovh/eco/server-config.git
synced 2025-05-07 06:56:45 +02:00
need to edit this
This commit is contained in:
parent
64f457d60a
commit
a52221b033
7 changed files with 136 additions and 94 deletions
|
@ -1,7 +1,10 @@
|
|||
// Copyright (c) Strange Loop Games. All rights reserved.
|
||||
// See LICENSE file in the project root for full license information.
|
||||
// <auto-generated />
|
||||
|
||||
namespace Eco.Mods.TechTree
|
||||
{
|
||||
// [DoNotLocalize]
|
||||
}
|
||||
}
|
||||
// WORLD LAYER INFO
|
||||
namespace Eco.Mods.WorldLayers
|
||||
{
|
||||
|
@ -22,12 +25,11 @@ namespace Eco.Mods.WorldLayers
|
|||
this.RenderRange = new Range(0f, 0.05f);
|
||||
this.MinColor = new Color(1f, 1f, 1f);
|
||||
this.MaxColor = new Color(0f, 1f, 0f);
|
||||
this.Percent = false;
|
||||
this.SumRelevant = true;
|
||||
this.Unit = "Oak";
|
||||
this.VoxelsPerEntry = 20;
|
||||
this.Category = WorldLayerCategory.Plant;
|
||||
this.ValueType = WorldLayerValueType.Percent;
|
||||
this.ValueType = WorldLayerValueType.FillRate;
|
||||
this.AreaDescription = "";
|
||||
}
|
||||
}
|
||||
|
@ -35,7 +37,8 @@ namespace Eco.Mods.WorldLayers
|
|||
|
||||
namespace Eco.Mods.Organisms
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
using Eco.Core.Items;
|
||||
using Eco.Gameplay.Plants;
|
||||
using Eco.Mods.TechTree;
|
||||
using Eco.Shared.Localization;
|
||||
|
@ -51,6 +54,8 @@ namespace Eco.Mods.Organisms
|
|||
public Oak(WorldPosition3i mapPos, PlantPack plantPack) : base(species, mapPos, plantPack) { }
|
||||
public Oak() { }
|
||||
static TreeSpecies species;
|
||||
|
||||
[Ecopedia("Plants", "Trees", createAsSubPage: true, display: InPageTooltip.DynamicTooltip)]
|
||||
public partial class OakSpecies : TreeSpecies
|
||||
{
|
||||
public OakSpecies() : base()
|
||||
|
@ -63,8 +68,9 @@ namespace Eco.Mods.Organisms
|
|||
this.Name = "Oak";
|
||||
this.DisplayName = Localizer.DoStr("Oak");
|
||||
// Lifetime
|
||||
this.MaturityAgeDays = 4;
|
||||
this.MaturityAgeDays = 7;
|
||||
// Generation
|
||||
this.Height = 1;
|
||||
// Food
|
||||
this.CalorieValue = 12;
|
||||
// Resources
|
||||
|
@ -73,21 +79,20 @@ namespace Eco.Mods.Organisms
|
|||
this.PickableAtPercent = 0;
|
||||
this.ResourceList = new List<SpeciesResource>()
|
||||
{
|
||||
new SpeciesResource(typeof(LogItem), new Range(0, 80), 1)
|
||||
new SpeciesResource(typeof(OakLogItem), new Range(0, 80), 1)
|
||||
};
|
||||
this.ResourceBonusAtGrowth = 0.9f;
|
||||
// Visuals
|
||||
// Climate
|
||||
this.ReleasesCO2ppmPerDay = -0.004f;
|
||||
this.ReleasesCO2TonsPerDay = -0.2f;
|
||||
// WorldLayers
|
||||
this.MaxGrowthRate = 0.01f;
|
||||
this.MaxDeathRate = 0.005f;
|
||||
this.SpreadRate = 0.001f;
|
||||
this.ResourceConstraints.Add(new ResourceConstraint() { LayerName = "SoilMoisture", HalfSpeedConcentration = 0.1f, MaxResourceContent = 0.1f });
|
||||
this.ResourceConstraints.Add(new ResourceConstraint() { LayerName = "SoilMoisture", HalfSpeedConcentration = 0.1f, MaxResourceContent = 0.2f });
|
||||
this.CapacityConstraints.Add(new CapacityConstraint() { CapacityLayerName = "FertileGround", ConsumedCapacityPerPop = 1 });
|
||||
this.CapacityConstraints.Add(new CapacityConstraint() { CapacityLayerName = "CanopySpace", ConsumedCapacityPerPop = 45 });
|
||||
this.GenerationSpawnCountPerPoint = new Range(1, 3);
|
||||
this.GenerationSpawnPointMultiplier = 0.03f;
|
||||
this.BlanketSpawnPercent = 0.07f;
|
||||
this.IdealTemperatureRange = new Range(0.45f, 0.76f);
|
||||
this.IdealMoistureRange = new Range(0.43f, 0.47f);
|
||||
this.IdealWaterRange = new Range(0, 0.1f);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue