Static fog default on / Slightly larger core radius

This commit is contained in:
Anuke
2022-03-05 11:22:35 -05:00
parent 8048a0b44f
commit e0c762612b
2 changed files with 2 additions and 2 deletions

View File

@@ -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. */

View File

@@ -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();