Map editor tweaks & fixes / New map
This commit is contained in:
@@ -100,6 +100,8 @@ public class Block extends UnlockableContent{
|
||||
public boolean autoResetEnabled = true;
|
||||
/** if true, the block stops updating when disabled */
|
||||
public boolean noUpdateDisabled = false;
|
||||
/** Whether to use this block's color in the minimap. Only used for overlays. */
|
||||
public boolean useColor = true;
|
||||
/** tile entity health */
|
||||
public int health = -1;
|
||||
/** base block explosiveness */
|
||||
|
||||
@@ -183,7 +183,7 @@ public class Conveyor extends Block implements Autotiler{
|
||||
@Override
|
||||
public void unitOn(Unit unit){
|
||||
|
||||
if(clogHeat > 0.5f) return;
|
||||
if(clogHeat > 0.5f || !enabled) return;
|
||||
|
||||
noSleep();
|
||||
|
||||
|
||||
@@ -20,6 +20,7 @@ public class OreBlock extends OverlayFloor{
|
||||
this.itemDrop = ore;
|
||||
this.variants = 3;
|
||||
this.mapColor.set(ore.color);
|
||||
this.useColor = true;
|
||||
}
|
||||
|
||||
/** For mod use only!*/
|
||||
|
||||
@@ -9,6 +9,7 @@ public class OverlayFloor extends Floor{
|
||||
|
||||
public OverlayFloor(String name){
|
||||
super(name);
|
||||
useColor = false;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user