Better nuke announcement

This commit is contained in:
Anuken
2022-04-28 19:57:21 -04:00
parent 9f501a33a3
commit 6e04c70b16
5 changed files with 6 additions and 4 deletions

View File

@@ -586,7 +586,7 @@ objective.enemiesapproaching = [accent]Enemies approaching in [lightgray]{0}[]
objective.destroycore = [accent]Destroy Enemy Core objective.destroycore = [accent]Destroy Enemy Core
objective.command = [accent]Command Units objective.command = [accent]Command Units
objective.nuclearlaunch = [accent]\u26a0 Nuclear launch detected: [lightgray]{0} objective.nuclearlaunch = [accent]\u26a0 Nuclear launch detected: [lightgray]{0}
announce.nuclearstrike = [scarlet]\u26a0 NUCLEAR STRIKE INBOUND \u26a0 announce.nuclearstrike = [red]\u26a0 NUCLEAR STRIKE INBOUND \u26a0
loadout = Loadout loadout = Loadout
resources = Resources resources = Resources

Binary file not shown.

View File

@@ -4159,6 +4159,7 @@ public class Blocks{
consumeItems(with(Items.silicon, 50, Items.tungsten, 40)); consumeItems(with(Items.silicon, 50, Items.tungsten, 40));
constructTime = 60f * 40f; constructTime = 60f * 40f;
researchCostMultiplier = 0.75f;
upgrades.addAll( upgrades.addAll(
new UnitType[]{UnitTypes.stell, UnitTypes.latum} new UnitType[]{UnitTypes.stell, UnitTypes.latum}

View File

@@ -188,7 +188,7 @@ public class ErekirTechTree{
node(cliffCrusher, () -> { node(cliffCrusher, () -> {
node(siliconArcFurnace, () -> { node(siliconArcFurnace, () -> {
node(electrolyzer, Seq.with(new OnSector(three)), () -> { node(electrolyzer, Seq.with(new OnSector(three)), () -> {
node(oxidationChamber, Seq.with(new Research(mechReconstructor)), () -> { node(oxidationChamber, Seq.with(new Research(mechReconstructor), new OnSector(four)), () -> {
node(electricHeater, Seq.with(new OnSector(four)), () -> { node(electricHeater, Seq.with(new OnSector(four)), () -> {
node(heatRedirector, () -> { node(heatRedirector, () -> {

View File

@@ -207,9 +207,10 @@ public class SectorPresets{
rules = r -> { rules = r -> {
r.objectives.addAll( r.objectives.addAll(
new DestroyBlocksObjective(Blocks.coreBastion, Team.malis, Point2.pack(290,501), Point2.pack(158,496)), new DestroyBlocksObjective(Blocks.coreBastion, Team.malis, Point2.pack(290,501), Point2.pack(158,496))
.withFlags("nukeannounce"),
new TimerObjective("@objective.nuclearlaunch", 4 * 60 * 60).withMarkers( new TimerObjective("@objective.nuclearlaunch", 4 * 60 * 60).withMarkers(
new TextMarker("Evacuate base", 1, 1), new TextMarker("[red]Evacuate immediately.", 338 * 8f, 378 * 8f),
new MinimapMarker(338, 378, 50f, 14f, Pal.remove) new MinimapMarker(338, 378, 50f, 14f, Pal.remove)
).withFlags("nuke1") ).withFlags("nuke1")
); );