Payload deconstructor sprite
This commit is contained in:
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.
@@ -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;
|
||||||
}};
|
}};
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user