Skip to content

Commit

Permalink
wawwawawawawawawawawwa
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Sep 2, 2024
1 parent bfbaba0 commit d201479
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 59 deletions.
16 changes: 16 additions & 0 deletions assets/bundles/bundle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ liquid.sw-steam.name = Steam
liquid.sw-steam.description = Low pressure solvent gas.
liquid.sw-solvent.name = Solvent
liquid.sw-solvent.description = A weird fluid used to dissolve resources in factories.
liquid.sw-fluorane.name = Fluorane
liquid.sw-fluorane.description = A weak acid in gas form.


## Planet
Expand Down Expand Up @@ -260,5 +262,19 @@ unit.sw-robinia.description = A walking laser turret. Shoots weaving laser bulle
unit.sw-gregarea.name = Gregarea
unit.sw-gregarea.description = A insect like unit with a large plasma torch.

unit.sw-sentry.name = Sentry
unit.sw-sentry.descriptiong = A small artillery.
unit.sw-tower.name = Tower
unit.sw-tower.description = A medium artillery.
unit.sw-castle.name = Castle
unit.sw-castle.description = A large artillery.

unit.sw-recluse.name = Recluse
unit.sw-recluse.descriptiong = A small submarine with sapping bulelts. Vulnerable within the range of a Unit Scanner.
unit.sw-retreat.name = Retreat
unit.sw-retreat.description = A unit with a small artillery mount. Vulnerable within the range of a Unit Scanner.
unit.sw-evade.name = Evade
unit.sw-evade.description = A large submarine with shrapnel and torpedoes. Vulnerable within the range of a Unit Scanner.

unit.sw-lambda.name = Lambda
unit.sw-lambda.description = The core unit of the Core Scaffold, able to walk over all terrain.
59 changes: 0 additions & 59 deletions src/sw/content/SWBlocks.java
Original file line number Diff line number Diff line change
@@ -1,22 +1,11 @@
package sw.content;

import arc.util.*;
import mindustry.content.*;
import mindustry.type.*;
import mindustry.world.*;
import mindustry.world.blocks.units.*;
import sw.content.blocks.*;
import sw.world.blocks.sandbox.*;
import sw.world.blocks.units.*;

import static mindustry.type.ItemStack.*;

public class SWBlocks {
public static Block
subFactory,
constructor,
upgrader,

allSource;

public static void load() {
Expand All @@ -29,54 +18,6 @@ public static void load() {
SWStorage.load();
SWTurrets.load();

// region units
subFactory = new UnitFactory("submarine-factory") {{
requirements(Category.units, with(
SWItems.compound, 120,
Items.lead, 140,
Items.graphite, 100
));
size = 3;
health = 160;
consumePower(1.5f);
plans.add(new UnitPlan(SWUnitTypes.recluse, 60f * 50f, with(Items.silicon, 15, Items.metaglass, 25, SWItems.compound, 20)));
}};

constructor = new UnitFactory("constructor") {{
requirements(Category.units, with(
SWItems.nickel, 150,
SWItems.iron, 120,
Items.silicon, 100
));
size = 3;
health = 200;
plans.add(
new UnitPlan(SWUnitTypes.fly, 40 * Time.toSeconds, with(Items.silicon, 15, SWItems.iron, 10)),
new UnitPlan(SWUnitTypes.sentry, 80 * Time.toSeconds, with(Items.silicon, 25, SWItems.denseAlloy, 10)),
new UnitPlan(SWUnitTypes.recluse, 80 * Time.toSeconds, with(Items.silicon, 15, SWItems.compound, 20))
);
consumePower(1f);
consumeLiquid(SWLiquids.steam, 0.3f);
}};
upgrader = new MultiReconstructor("upgrader") {{
requirements(Category.units, with(
SWItems.nickel, 200,
SWItems.iron, 240,
Items.silicon, 220
));
size = 5;
health = 320;
constructTime = 10 * 60f;
upgrades.addAll(
new UnitType[]{SWUnitTypes.fly, SWUnitTypes.spin},
new UnitType[]{SWUnitTypes.spin, SWUnitTypes.gyro},
new UnitType[]{SWUnitTypes.sentry, SWUnitTypes.tower},
new UnitType[]{SWUnitTypes.tower, SWUnitTypes.castle}
);
consumeItems(with(Items.silicon, 400));
}};
// endregion

// region sandbox
allSource = new ResourceSource("all-source") {{
health = 2147483647;
Expand Down

0 comments on commit d201479

Please sign in to comment.