New duo animation
This commit is contained in:
BIN
core/assets-raw/sprites/blocks/turrets/duo/duo-barrel-l.png
Normal file
BIN
core/assets-raw/sprites/blocks/turrets/duo/duo-barrel-l.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 203 B |
BIN
core/assets-raw/sprites/blocks/turrets/duo/duo-barrel-r.png
Normal file
BIN
core/assets-raw/sprites/blocks/turrets/duo/duo-barrel-r.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 209 B |
|
Before Width: | Height: | Size: 373 B After Width: | Height: | Size: 373 B |
BIN
core/assets-raw/sprites/blocks/turrets/duo/duo.png
Normal file
BIN
core/assets-raw/sprites/blocks/turrets/duo/duo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 357 B |
@@ -1494,9 +1494,10 @@ public class Blocks{
|
|||||||
craftEffect = new RadialEffect(Fx.heatReactorSmoke, 4, 90f, 7f);
|
craftEffect = new RadialEffect(Fx.heatReactorSmoke, 4, 90f, 7f);
|
||||||
|
|
||||||
itemCapacity = 20;
|
itemCapacity = 20;
|
||||||
|
outputItem = new ItemStack(Items.fissileMatter, 1);
|
||||||
|
|
||||||
consumeItem(Items.thorium, 3);
|
consumeItem(Items.thorium, 3);
|
||||||
consumeLiquid(Liquids.nitrogen, 1f / 60f);
|
consumeLiquid(Liquids.nitrogen, 1f / 60f);
|
||||||
outputItem = new ItemStack(Items.fissileMatter, 1);
|
|
||||||
}};
|
}};
|
||||||
|
|
||||||
//endregion
|
//endregion
|
||||||
@@ -3046,6 +3047,20 @@ public class Blocks{
|
|||||||
|
|
||||||
shoot = new ShootAlternate(3.5f);
|
shoot = new ShootAlternate(3.5f);
|
||||||
|
|
||||||
|
recoils = 2;
|
||||||
|
drawer = new DrawTurret(){{
|
||||||
|
for(int i = 0; i < 2; i ++){
|
||||||
|
int f = i;
|
||||||
|
parts.add(new RegionPart("-barrel-" + (i == 0 ? "l" : "r")){{
|
||||||
|
progress = PartProgress.recoil;
|
||||||
|
recoilIndex = f;
|
||||||
|
under = true;
|
||||||
|
moves.add(new PartMove(PartProgress.recoil, 0f, -1.5f, 0f));
|
||||||
|
}});
|
||||||
|
}
|
||||||
|
}};
|
||||||
|
|
||||||
|
recoil = 0.5f;
|
||||||
shootY = 3f;
|
shootY = 3f;
|
||||||
reload = 20f;
|
reload = 20f;
|
||||||
range = 110;
|
range = 110;
|
||||||
|
|||||||
Reference in New Issue
Block a user