Server-side fog clip + Omnidirectional flare + resprite

This commit is contained in:
Anuken
2022-02-20 10:17:20 -05:00
parent 5fa4c09b1c
commit 5fa28e6090
23 changed files with 153 additions and 52 deletions

View File

@@ -1936,8 +1936,12 @@ public class Blocks{
requirements(Category.distribution, with(Items.silicon, 80, Items.phaseFabric, 60, Items.carbide, 50, Items.oxide, 40));
size = 3;
buildTime = 60f * 8f;
consumePower(4f / 60f);
consumePower(8f / 60f);
//intentionally set absurdly high to make this block not overpowered
consumeLiquid(Liquids.gallium, 20f / 60f);
itemCapacity = 200;
}};

View File

@@ -958,25 +958,23 @@ public class UnitTypes{
//region air attack
flare = new UnitType("flare"){{
speed = 3f;
speed = 2.7f;
accel = 0.08f;
drag = 0.01f;
drag = 0.04f;
flying = true;
health = 75;
engineOffset = 5.5f;
range = 140f;
health = 70;
engineOffset = 5.75f;
targetAir = false;
//as default AI, flares are not very useful in core rushes, they attack nothing in the way
playerTargetFlags = new BlockFlag[]{null};
targetFlags = new BlockFlag[]{BlockFlag.generator, null};
circleTarget = true;
hitSize = 7;
itemCapacity = 15;
weapons.add(new Weapon(){{
y = 0f;
x = 2f;
reload = 13f;
reload = 20f;
ejectEffect = Fx.casing1;
bullet = new BasicBulletType(2.5f, 9){{
width = 7f;