diff --git a/Mods/Core/Defs/Terrain/Terrain.json b/Mods/Core/Defs/Terrain/Terrain.json index 36fb0fb..9acb1c9 100644 --- a/Mods/Core/Defs/Terrain/Terrain.json +++ b/Mods/Core/Defs/Terrain/Terrain.json @@ -19,7 +19,7 @@ { "chance": 0.20, "options": ["Strawberry", "Raspberry"] }, { "chance": 0.14, "options": ["DandelionA", "DandelionB", "DandelionC", "DaylilyA", "DaylilyB", "RoseA"] } ] }, - { "defName": "Forest", "label": "terrain.forest", "maxHeight": 0.85, "color": [44, 110, 50], + { "defName": "Forest", "label": "terrain.forest", "maxHeight": 1.01, "color": [44, 110, 50], "isLand": true, "surface": "terrain/surfaces/soil", "fertility": 1.6, "scatter": [ { "chance": 0.35, "options": ["TreeOakA", "TreeOakB", "TreeBirchA", "TreeGrayPineA", @@ -28,8 +28,6 @@ { "chance": 0.16, "options": ["BushA", "BushB", "BushC"] }, { "chance": 0.14, "options": ["Strawberry", "Raspberry"] }, { "chance": 0.16, "options": ["GlowstoolA", "GlowstoolB", "TimbershroomA", "TimbershroomB", "NutrifungusA"] } - ] }, - { "defName": "Mountain", "label": "terrain.mountain", "maxHeight": 1.01, "color": [136, 132, 128], - "surface": "terrain/surfaces/roughhewnrock", "fertility": 0.2, "blocksLight": true } + ] } ] } diff --git a/Mods/Core/Languages/en/ui.json b/Mods/Core/Languages/en/ui.json index a6fc144..85fe1ce 100644 --- a/Mods/Core/Languages/en/ui.json +++ b/Mods/Core/Languages/en/ui.json @@ -146,7 +146,6 @@ "terrain.sand": "sand", "terrain.grass": "grass", "terrain.forest": "forest", - "terrain.mountain": "mountains", "plant.oak": "oak", "plant.birch": "birch", "plant.pine": "pine", diff --git a/Mods/Core/Languages/ru/ui.json b/Mods/Core/Languages/ru/ui.json index ad384f2..fbe410d 100644 --- a/Mods/Core/Languages/ru/ui.json +++ b/Mods/Core/Languages/ru/ui.json @@ -146,7 +146,6 @@ "terrain.sand": "песок", "terrain.grass": "трава", "terrain.forest": "лес", - "terrain.mountain": "горы", "plant.oak": "дуб", "plant.birch": "берёза", "plant.pine": "сосна", diff --git a/src/LittleSim/Scenes/WorldScene.cs b/src/LittleSim/Scenes/WorldScene.cs index d0d694b..4412c46 100644 --- a/src/LittleSim/Scenes/WorldScene.cs +++ b/src/LittleSim/Scenes/WorldScene.cs @@ -70,8 +70,8 @@ public sealed class WorldScene : Scene private SkillSet _skills = null!; private float[] _cellFertility = []; private bool[] _cellLand = []; - private bool[] _cellOccluderBase = []; // горы (статично из террейна) - private bool[] _cellOccluder = []; // горы + зрелые деревья (пересобирается лайтмапом) + private bool[] _cellOccluderBase = []; // светонепроницаемый террейн (статично; сейчас такого нет) + private bool[] _cellOccluder = []; // террейн-окклюдеры + зрелые деревья (пересобирается лайтмапом) /// Новый мир из конфига. public WorldScene(WorldConfig config)