Payload deconstructor sprite

This commit is contained in:
Anuken
2021-07-01 17:53:26 -04:00
parent 0de5009a66
commit 6afb976a44
5 changed files with 8 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

View File

@@ -2204,9 +2204,9 @@ public class Blocks implements ContentList{
}}; }};
payloadDeconstructor = new PayloadDeconstructor("payload-deconstructor"){{ payloadDeconstructor = new PayloadDeconstructor("payload-deconstructor"){{
requirements(Category.units, with(Items.graphite, 30, Items.silicon, 30, Items.copper, 30)); requirements(Category.units, with(Items.thorium, 250, Items.silicon, 200, Items.graphite, 250));
itemCapacity = 200; itemCapacity = 250;
consumes.power(1f); consumes.power(3f);
size = 5; size = 5;
deconstructSpeed = 2f; deconstructSpeed = 2f;
}}; }};

View File

@@ -161,6 +161,11 @@ public class PayloadDeconstructor extends PayloadBlock{
} }
} }
@Override
public boolean shouldConsume(){
return deconstructing != null && enabled;
}
@Override @Override
public void write(Writes write){ public void write(Writes write){
super.write(write); super.write(write);