Map rename
This commit is contained in:
BIN
core/assets-raw/sprites/blocks/turrets/diffuse.png
Normal file
BIN
core/assets-raw/sprites/blocks/turrets/diffuse.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.8 KiB |
@@ -558,3 +558,4 @@
|
|||||||
63134=merui|unit-merui-ui
|
63134=merui|unit-merui-ui
|
||||||
63133=osc|unit-osc-ui
|
63133=osc|unit-osc-ui
|
||||||
63132=precept|unit-precept-ui
|
63132=precept|unit-precept-ui
|
||||||
|
63131=diffuse|block-diffuse-ui
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -131,7 +131,7 @@ public class Blocks{
|
|||||||
duo, scatter, scorch, hail, arc, wave, lancer, swarmer, salvo, fuse, ripple, cyclone, foreshadow, spectre, meltdown, segment, parallax, tsunami,
|
duo, scatter, scorch, hail, arc, wave, lancer, swarmer, salvo, fuse, ripple, cyclone, foreshadow, spectre, meltdown, segment, parallax, tsunami,
|
||||||
|
|
||||||
//turrets - erekir
|
//turrets - erekir
|
||||||
breach, sublimate, titan, disperse, afflict,
|
breach, diffuse, sublimate, titan, disperse, afflict,
|
||||||
|
|
||||||
//units
|
//units
|
||||||
groundFactory, airFactory, navalFactory,
|
groundFactory, airFactory, navalFactory,
|
||||||
@@ -3751,7 +3751,61 @@ public class Blocks{
|
|||||||
range = 190;
|
range = 190;
|
||||||
shootCone = 3f;
|
shootCone = 3f;
|
||||||
scaledHealth = 180;
|
scaledHealth = 180;
|
||||||
rotateSpeed = 1.6f;
|
rotateSpeed = 1.5f;
|
||||||
|
researchCostMultiplier = 0.05f;
|
||||||
|
|
||||||
|
coolant = consume(new ConsumeLiquid(Liquids.water, 15f / 60f));
|
||||||
|
limitRange();
|
||||||
|
}};
|
||||||
|
|
||||||
|
diffuse = new ItemTurret("diffuse"){{
|
||||||
|
requirements(Category.turret, with(Items.beryllium, 150, Items.silicon, 150, Items.graphite, 250));
|
||||||
|
|
||||||
|
Effect sfe = new MultiEffect(Fx.shootBigColor, Fx.colorSparkBig);
|
||||||
|
|
||||||
|
ammo(
|
||||||
|
Items.graphite, new BasicBulletType(8f, 30){{
|
||||||
|
knockback = 5f;
|
||||||
|
width = 25f;
|
||||||
|
hitSize = 7f;
|
||||||
|
height = 20f;
|
||||||
|
lifetime = 20f;
|
||||||
|
shootEffect = sfe;
|
||||||
|
smokeEffect = Fx.shootBigSmoke;
|
||||||
|
ammoMultiplier = 1;
|
||||||
|
pierceCap = 2;
|
||||||
|
pierce = true;
|
||||||
|
pierceBuilding = true;
|
||||||
|
hitColor = backColor = trailColor = Pal.berylShot;
|
||||||
|
frontColor = Color.white;
|
||||||
|
trailWidth = 5f;
|
||||||
|
trailLength = 4;
|
||||||
|
hitEffect = despawnEffect = Fx.hitBulletColor;
|
||||||
|
buildingDamageMultiplier = 0.3f;
|
||||||
|
}}
|
||||||
|
);
|
||||||
|
|
||||||
|
shoot = new ShootSpread(){{
|
||||||
|
shots = 14;
|
||||||
|
spread = 3f;
|
||||||
|
}};
|
||||||
|
|
||||||
|
coolantMultiplier = 6f;
|
||||||
|
|
||||||
|
shootShake = 1f;
|
||||||
|
ammoPerShot = 1;
|
||||||
|
drawer = new DrawTurret("reinforced-");
|
||||||
|
shootY = 5f;
|
||||||
|
outlineColor = Pal.darkOutline;
|
||||||
|
size = 3;
|
||||||
|
envEnabled |= Env.space;
|
||||||
|
reload = 30f;
|
||||||
|
recoilAmount = 2f;
|
||||||
|
restitution = 0.03f;
|
||||||
|
range = 190;
|
||||||
|
shootCone = 3f;
|
||||||
|
scaledHealth = 180;
|
||||||
|
rotateSpeed = 2f;
|
||||||
researchCostMultiplier = 0.05f;
|
researchCostMultiplier = 0.05f;
|
||||||
|
|
||||||
coolant = consume(new ConsumeLiquid(Liquids.water, 15f / 60f));
|
coolant = consume(new ConsumeLiquid(Liquids.water, 15f / 60f));
|
||||||
|
|||||||
@@ -204,28 +204,6 @@ public class SectorPresets{
|
|||||||
|
|
||||||
three = new SectorPreset("three", erekir, 36){{
|
three = new SectorPreset("three", erekir, 36){{
|
||||||
difficulty = 5;
|
difficulty = 5;
|
||||||
|
|
||||||
rules = r -> {
|
|
||||||
float rad = 52f;
|
|
||||||
r.objectives.addAll(
|
|
||||||
new DestroyBlocksObjective(Blocks.coreBastion, Team.malis, Point2.pack(290,501), Point2.pack(158,496))
|
|
||||||
.withFlags("nukeannounce"),
|
|
||||||
new TimerObjective("@objective.nuclearlaunch", 8 * 60 * 60).withMarkers(
|
|
||||||
new MinimapMarker(338, 377, rad, 14f, Pal.remove),
|
|
||||||
new ShapeMarker(338 * 8, 377 * 8f){{
|
|
||||||
radius = rad * 8f;
|
|
||||||
fill = true;
|
|
||||||
color = Pal.remove.cpy().mul(0.8f).a(0.3f);
|
|
||||||
sides = 90;
|
|
||||||
}},
|
|
||||||
new ShapeMarker(338 * 8, 377 * 8f){{
|
|
||||||
radius = rad * 8f;
|
|
||||||
color = Pal.remove;
|
|
||||||
sides = 90;
|
|
||||||
}}
|
|
||||||
).withFlags("nuke1")
|
|
||||||
);
|
|
||||||
};
|
|
||||||
}};
|
}};
|
||||||
|
|
||||||
four = new SectorPreset("four", erekir, 29){{
|
four = new SectorPreset("four", erekir, 29){{
|
||||||
@@ -234,7 +212,22 @@ public class SectorPresets{
|
|||||||
rules = r -> {
|
rules = r -> {
|
||||||
float rad = 52f;
|
float rad = 52f;
|
||||||
r.objectives.addAll(
|
r.objectives.addAll(
|
||||||
//new TimerObjective("@objective.enemiesapproaching", 5 * 60 * 60).withFlags("wave1")
|
new DestroyBlocksObjective(Blocks.coreBastion, Team.malis, Point2.pack(290,501), Point2.pack(158,496))
|
||||||
|
.withFlags("nukeannounce"),
|
||||||
|
new TimerObjective("@objective.nuclearlaunch", 8 * 60 * 60).withMarkers(
|
||||||
|
new MinimapMarker(338, 377, rad, 14f, Pal.remove),
|
||||||
|
new ShapeMarker(338 * 8, 377 * 8f){{
|
||||||
|
radius = rad * 8f;
|
||||||
|
fill = true;
|
||||||
|
color = Pal.remove.cpy().mul(0.8f).a(0.3f);
|
||||||
|
sides = 90;
|
||||||
|
}},
|
||||||
|
new ShapeMarker(338 * 8, 377 * 8f){{
|
||||||
|
radius = rad * 8f;
|
||||||
|
color = Pal.remove;
|
||||||
|
sides = 90;
|
||||||
|
}}
|
||||||
|
).withFlags("nuke1")
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
}};
|
}};
|
||||||
|
|||||||
@@ -46,10 +46,11 @@ public class Logic implements ApplicationListener{
|
|||||||
if(!event.breaking){
|
if(!event.breaking){
|
||||||
TeamData data = event.team.data();
|
TeamData data = event.team.data();
|
||||||
Iterator<BlockPlan> it = data.blocks.iterator();
|
Iterator<BlockPlan> it = data.blocks.iterator();
|
||||||
|
var bounds = event.tile.block().bounds(event.tile.x, event.tile.y, Tmp.r1);
|
||||||
while(it.hasNext()){
|
while(it.hasNext()){
|
||||||
BlockPlan b = it.next();
|
BlockPlan b = it.next();
|
||||||
Block block = content.block(b.block);
|
Block block = content.block(b.block);
|
||||||
if(event.tile.block().bounds(event.tile.x, event.tile.y, Tmp.r1).overlaps(block.bounds(b.x, b.y, Tmp.r2))){
|
if(bounds.overlaps(block.bounds(b.x, b.y, Tmp.r2))){
|
||||||
b.removed = true;
|
b.removed = true;
|
||||||
it.remove();
|
it.remove();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,4 +25,4 @@ org.gradle.caching=true
|
|||||||
#used for slow jitpack builds; TODO see if this actually works
|
#used for slow jitpack builds; TODO see if this actually works
|
||||||
org.gradle.internal.http.socketTimeout=100000
|
org.gradle.internal.http.socketTimeout=100000
|
||||||
org.gradle.internal.http.connectionTimeout=100000
|
org.gradle.internal.http.connectionTimeout=100000
|
||||||
archash=9ae34c37ed
|
archash=f0f5a42492
|
||||||
|
|||||||
Reference in New Issue
Block a user