mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-10 18:57:39 +07:00
Crafter progress modulo / Segment buff
This commit is contained in:
parent
d7f848f8cd
commit
08e36aca98
@ -1606,12 +1606,12 @@ public class Blocks implements ContentList{
|
||||
requirements(Category.turret, with(Items.silicon, 130, Items.thorium, 80, Items.phaseFabric, 40));
|
||||
|
||||
health = 250 * size * size;
|
||||
range = 160f;
|
||||
range = 180f;
|
||||
hasPower = true;
|
||||
consumes.powerCond(8f, (PointDefenseBuild b) -> b.target != null);
|
||||
size = 2;
|
||||
shootLength = 5f;
|
||||
bulletDamage = 25f;
|
||||
bulletDamage = 30f;
|
||||
reloadTime = 9f;
|
||||
}};
|
||||
|
||||
|
@ -172,12 +172,10 @@ public class ItemBridge extends Block{
|
||||
public void playerPlaced(Object config){
|
||||
super.playerPlaced(config);
|
||||
|
||||
//if(config == null){
|
||||
Tile link = findLink(tile.x, tile.y);
|
||||
if(linkValid(tile, link) && !proximity.contains(link.build)){
|
||||
link.build.configure(tile.pos());
|
||||
}
|
||||
//}
|
||||
Tile link = findLink(tile.x, tile.y);
|
||||
if(linkValid(tile, link) && !proximity.contains(link.build)){
|
||||
link.build.configure(tile.pos());
|
||||
}
|
||||
|
||||
lastBuild = this;
|
||||
}
|
||||
|
@ -119,7 +119,7 @@ public class GenericCrafter extends Block{
|
||||
}
|
||||
|
||||
craftEffect.at(x, y);
|
||||
progress = 0f;
|
||||
progress %= 1f;
|
||||
}
|
||||
|
||||
if(outputItem != null && timer(timerDump, dumpTime)){
|
||||
|
Loading…
Reference in New Issue
Block a user