Ammo type for revenants
This commit is contained in:
@@ -17,7 +17,8 @@ public class AmmoTypes implements ContentList{
|
|||||||
flakExplosive, flakPlastic, flakSurge,
|
flakExplosive, flakPlastic, flakSurge,
|
||||||
missileExplosive, missileIncindiary, missileSurge,
|
missileExplosive, missileIncindiary, missileSurge,
|
||||||
artilleryDense, artilleryPlastic, artilleryHoming, artilleryIncindiary, artilleryExplosive, unitArtillery,
|
artilleryDense, artilleryPlastic, artilleryHoming, artilleryIncindiary, artilleryExplosive, unitArtillery,
|
||||||
basicFlame, lancerLaser, lightning, spectreLaser, meltdownLaser, fuseShotgun, oil, water, lava, cryofluid, arc;
|
basicFlame, lancerLaser, lightning, meltdownLaser, burstLaser,
|
||||||
|
fuseShotgun, oil, water, lava, cryofluid, arc;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void load(){
|
public void load(){
|
||||||
@@ -217,7 +218,9 @@ public class AmmoTypes implements ContentList{
|
|||||||
|
|
||||||
//power
|
//power
|
||||||
|
|
||||||
lancerLaser = new AmmoType(TurretBullets.lancerLaser){{
|
lancerLaser = new AmmoType(TurretBullets.lancerLaser);
|
||||||
|
|
||||||
|
burstLaser = new AmmoType(TurretBullets.burstLaser){{
|
||||||
range = 60f;
|
range = 60f;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
@@ -225,8 +228,6 @@ public class AmmoTypes implements ContentList{
|
|||||||
|
|
||||||
arc = new AmmoType(TurretBullets.arc);
|
arc = new AmmoType(TurretBullets.arc);
|
||||||
|
|
||||||
spectreLaser = new AmmoType(TurretBullets.lancerLaser);
|
|
||||||
|
|
||||||
meltdownLaser = new AmmoType(TurretBullets.meltdownLaser);
|
meltdownLaser = new AmmoType(TurretBullets.meltdownLaser);
|
||||||
|
|
||||||
fuseShotgun = new AmmoType(Items.densealloy, TurretBullets.fuseShot, 1f){{
|
fuseShotgun = new AmmoType(Items.densealloy, TurretBullets.fuseShot, 1f){{
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ import static io.anuke.mindustry.Vars.content;
|
|||||||
import static io.anuke.mindustry.Vars.world;
|
import static io.anuke.mindustry.Vars.world;
|
||||||
|
|
||||||
public class TurretBullets extends BulletList implements ContentList{
|
public class TurretBullets extends BulletList implements ContentList{
|
||||||
public static BulletType fireball, basicFlame, lancerLaser, meltdownLaser, fuseShot, waterShot, cryoShot, lavaShot, oilShot, lightning, driverBolt, healBullet, arc;
|
public static BulletType fireball, basicFlame, lancerLaser, burstLaser, meltdownLaser, fuseShot, waterShot, cryoShot, lavaShot, oilShot, lightning, driverBolt, healBullet, arc;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void load(){
|
public void load(){
|
||||||
|
|||||||
@@ -249,7 +249,9 @@ public class Sectors{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(sector.texture == null) createTexture(sector);
|
if(sector.texture == null){
|
||||||
|
threads.runGraphics(() -> createTexture(sector));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void load(){
|
public void load(){
|
||||||
|
|||||||
Reference in New Issue
Block a user