mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-19 20:27:44 +07:00
Finetune itemsmoved stat on stack conveyors (#1954)
This commit is contained in:

committed by
GitHub

parent
f8a24bc3a1
commit
c0e149f5f3
@ -913,7 +913,7 @@ public class Blocks implements ContentList{
|
|||||||
plastaniumConveyor = new StackConveyor("plastanium-conveyor"){{
|
plastaniumConveyor = new StackConveyor("plastanium-conveyor"){{
|
||||||
requirements(Category.distribution, ItemStack.with(Items.plastanium, 1, Items.silicon, 1, Items.graphite, 1));
|
requirements(Category.distribution, ItemStack.with(Items.plastanium, 1, Items.silicon, 1, Items.graphite, 1));
|
||||||
health = 75;
|
health = 75;
|
||||||
speed = 0.04f;
|
speed = 2.5f / 60f;
|
||||||
recharge = 2f;
|
recharge = 2f;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ public class StackConveyor extends Block implements Autotiler{
|
|||||||
public void setStats(){
|
public void setStats(){
|
||||||
super.setStats();
|
super.setStats();
|
||||||
|
|
||||||
stats.add(BlockStat.itemsMoved, speed * 60, StatUnit.perSecond);
|
stats.add(BlockStat.itemsMoved, Mathf.round(itemCapacity * speed * 60), StatUnit.itemsSecond);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Reference in New Issue
Block a user