From e0c762612baa48b58a8d5541777e63a45254ce64 Mon Sep 17 00:00:00 2001 From: Anuke Date: Sat, 5 Mar 2022 11:22:35 -0500 Subject: [PATCH] Static fog default on / Slightly larger core radius --- core/src/mindustry/game/Rules.java | 2 +- core/src/mindustry/world/blocks/storage/CoreBlock.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/mindustry/game/Rules.java b/core/src/mindustry/game/Rules.java index 7462cec00c..f405ebf4c8 100644 --- a/core/src/mindustry/game/Rules.java +++ b/core/src/mindustry/game/Rules.java @@ -116,7 +116,7 @@ public class Rules{ /** HIGHLY UNSTABLE/EXPERIMENTAL. DO NOT USE THIS. */ public boolean fog = false; /** If fog = true, this is whether static (black) fog is enabled. */ - public boolean staticFog = false; + public boolean staticFog = true; /** Color for static, undiscovered fog of war areas. */ public Color staticColor = new Color(0f, 0f, 0f, 1f); /** Color for discovered but un-monitored fog of war areas. */ diff --git a/core/src/mindustry/world/blocks/storage/CoreBlock.java b/core/src/mindustry/world/blocks/storage/CoreBlock.java index 8bbaffbcfa..9dda4b57f3 100644 --- a/core/src/mindustry/world/blocks/storage/CoreBlock.java +++ b/core/src/mindustry/world/blocks/storage/CoreBlock.java @@ -107,7 +107,7 @@ public class CoreBlock extends StorageBlock{ public void init(){ //assign to update clipSize internally lightRadius = 30f + 20f * size; - fogRadius = Math.max(fogRadius, (int)(lightRadius / 8f * 3f)); + fogRadius = Math.max(fogRadius, (int)(lightRadius / 8f * 3f) + 5); emitLight = true; super.init();