Ammo type for revenants

This commit is contained in:
Anuken 2018-10-03 13:44:18 -04:00
parent 59832b1777
commit 9a286800d6
3 changed files with 9 additions and 6 deletions

View File

@ -17,7 +17,8 @@ public class AmmoTypes implements ContentList{
flakExplosive, flakPlastic, flakSurge,
missileExplosive, missileIncindiary, missileSurge,
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
public void load(){
@ -217,7 +218,9 @@ public class AmmoTypes implements ContentList{
//power
lancerLaser = new AmmoType(TurretBullets.lancerLaser){{
lancerLaser = new AmmoType(TurretBullets.lancerLaser);
burstLaser = new AmmoType(TurretBullets.burstLaser){{
range = 60f;
}};
@ -225,8 +228,6 @@ public class AmmoTypes implements ContentList{
arc = new AmmoType(TurretBullets.arc);
spectreLaser = new AmmoType(TurretBullets.lancerLaser);
meltdownLaser = new AmmoType(TurretBullets.meltdownLaser);
fuseShotgun = new AmmoType(Items.densealloy, TurretBullets.fuseShot, 1f){{

View File

@ -27,7 +27,7 @@ import static io.anuke.mindustry.Vars.content;
import static io.anuke.mindustry.Vars.world;
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
public void load(){

View File

@ -249,7 +249,9 @@ public class Sectors{
}
}
if(sector.texture == null) createTexture(sector);
if(sector.texture == null){
threads.runGraphics(() -> createTexture(sector));
}
}
public void load(){