mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-25 22:17:59 +07:00
Block tweaks
This commit is contained in:
parent
6a026f7286
commit
05d5a160fe
@ -3885,7 +3885,7 @@ public class Blocks{
|
|||||||
}};
|
}};
|
||||||
|
|
||||||
titan = new ItemTurret("titan"){{
|
titan = new ItemTurret("titan"){{
|
||||||
requirements(Category.turret, with(Items.thorium, 300, Items.tungsten, 250, Items.silicon, 300, Items.beryllium, 400));
|
requirements(Category.turret, with(Items.thorium, 300, Items.tungsten, 250, Items.silicon, 300, Items.thorium, 400));
|
||||||
|
|
||||||
ammo(
|
ammo(
|
||||||
//TODO 1 more ammo type, decide on base type
|
//TODO 1 more ammo type, decide on base type
|
||||||
@ -4048,6 +4048,8 @@ public class Blocks{
|
|||||||
limitRange(-5f);
|
limitRange(-5f);
|
||||||
}};
|
}};
|
||||||
|
|
||||||
|
//TODO 3+ more turrets.
|
||||||
|
|
||||||
//endregion
|
//endregion
|
||||||
//region units
|
//region units
|
||||||
|
|
||||||
@ -4661,6 +4663,7 @@ public class Blocks{
|
|||||||
worldProcessor = new LogicBlock("world-processor"){{
|
worldProcessor = new LogicBlock("world-processor"){{
|
||||||
requirements(Category.logic, BuildVisibility.editorOnly, with());
|
requirements(Category.logic, BuildVisibility.editorOnly, with());
|
||||||
|
|
||||||
|
canOverdrive = false;
|
||||||
targetable = false;
|
targetable = false;
|
||||||
instructionsPerTick = 8;
|
instructionsPerTick = 8;
|
||||||
forceDark = true;
|
forceDark = true;
|
||||||
|
@ -30,6 +30,7 @@ public class CanvasBlock extends Block{
|
|||||||
|
|
||||||
configurable = true;
|
configurable = true;
|
||||||
destructible = true;
|
destructible = true;
|
||||||
|
canOverdrive = false;
|
||||||
solid = true;
|
solid = true;
|
||||||
|
|
||||||
config(byte[].class, (CanvasBuild build, byte[] bytes) -> {
|
config(byte[].class, (CanvasBuild build, byte[] bytes) -> {
|
||||||
|
@ -38,6 +38,7 @@ public class LogicDisplay extends Block{
|
|||||||
super(name);
|
super(name);
|
||||||
update = true;
|
update = true;
|
||||||
solid = true;
|
solid = true;
|
||||||
|
canOverdrive = false;
|
||||||
group = BlockGroup.logic;
|
group = BlockGroup.logic;
|
||||||
drawDisabled = false;
|
drawDisabled = false;
|
||||||
envEnabled = Env.any;
|
envEnabled = Env.any;
|
||||||
|
@ -17,6 +17,7 @@ public class MemoryBlock extends Block{
|
|||||||
group = BlockGroup.logic;
|
group = BlockGroup.logic;
|
||||||
drawDisabled = false;
|
drawDisabled = false;
|
||||||
envEnabled = Env.any;
|
envEnabled = Env.any;
|
||||||
|
canOverdrive = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user