Static fog default on / Slightly larger core radius
This commit is contained in:
@@ -116,7 +116,7 @@ public class Rules{
|
|||||||
/** HIGHLY UNSTABLE/EXPERIMENTAL. DO NOT USE THIS. */
|
/** HIGHLY UNSTABLE/EXPERIMENTAL. DO NOT USE THIS. */
|
||||||
public boolean fog = false;
|
public boolean fog = false;
|
||||||
/** If fog = true, this is whether static (black) fog is enabled. */
|
/** 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. */
|
/** Color for static, undiscovered fog of war areas. */
|
||||||
public Color staticColor = new Color(0f, 0f, 0f, 1f);
|
public Color staticColor = new Color(0f, 0f, 0f, 1f);
|
||||||
/** Color for discovered but un-monitored fog of war areas. */
|
/** Color for discovered but un-monitored fog of war areas. */
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ public class CoreBlock extends StorageBlock{
|
|||||||
public void init(){
|
public void init(){
|
||||||
//assign to update clipSize internally
|
//assign to update clipSize internally
|
||||||
lightRadius = 30f + 20f * size;
|
lightRadius = 30f + 20f * size;
|
||||||
fogRadius = Math.max(fogRadius, (int)(lightRadius / 8f * 3f));
|
fogRadius = Math.max(fogRadius, (int)(lightRadius / 8f * 3f) + 5);
|
||||||
emitLight = true;
|
emitLight = true;
|
||||||
|
|
||||||
super.init();
|
super.init();
|
||||||
|
|||||||
Reference in New Issue
Block a user