Skip to content

Commit

Permalink
another commit
Browse files Browse the repository at this point in the history
  • Loading branch information
EmanuelG-Gaming committed Jun 3, 2022
1 parent 0a99736 commit b9aecb1
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
4 changes: 3 additions & 1 deletion assets/bundles/bundle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ unit.erekir-expansion-gem.details = Contains beryllium traces on its body. Very
unit.erekir-expansion-geode.name = Geode
unit.erekir-expansion-geode.description = A unit similar to the previous iteration, except it creates a large field that pushes back enemies and bullets alike.
unit.erekir-expansion-aggregate.name = Aggregate
unit.erekir-expansion-aggregate.description = A unit that is similar in attacks to a flare, but fires at a larger distance.
unit.erekir-expansion-aggregate.description = A unit that is similar in attacks to a flare, but fires at a larger distance.
unit.erekir-expansion-agglomerate.name = Agglomerate
unit.erekir-expansion-agglomerate.description = A unit that can protect its battlefield. Extracts beryllium from walls, and uses it to make missiles.
4 changes: 3 additions & 1 deletion assets/bundles/bundle_ro.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ unit.erekir-expansion-gem.details = Conține urme de beriliu pe corp. Foarte scu
unit.erekir-expansion-geode.name = Geode
unit.erekir-expansion-geode.description = O unitate similară cu iterația precedentă, dar aceasta creează un mare câmp care împinge inamicii și gloanțele laolaltă.
unit.erekir-expansion-aggregate.name = Aggregate
unit.erekir-expansion-aggregate.description = O unitate similară în atacuri cu un flare, dar trage la o distanță mai mare.
unit.erekir-expansion-aggregate.description = O unitate similară în atacuri cu un flare, dar trage la o distanță mai mare.
unit.erekir-expansion-agglomerate.name = Agglomerate
unit.erekir-expansion-agglomerate.description = O unitate ce își poate consolida câmpul de luptă. Extrage beriliu din ziduri și îl folosește pentru a face rachete.
3 changes: 3 additions & 0 deletions src/erekir/content/ErkTechTree.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ public static void load() {
customNodeBranch(mechRefabricator, () -> {
node(ErkUnitTypes.geode);
});
customNodeBranch(shipRefabricator, () -> {
node(ErkUnitTypes.agglomerate);
});
}

// Where's the modded branch?!!? 1 -Antumbra
Expand Down
5 changes: 3 additions & 2 deletions src/erekir/content/ErkUnitTypes.java
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ public void load() {
engineSize = 1.75f;
engineOffset = 2.25f;
engineLayer = Layer.effect;
hitSize = 5;
hitSize = 3;
speed = 3.5f;
lifetime = 60f * 2.5f;
outlineColor = Pal.darkOutline;
Expand Down Expand Up @@ -266,7 +266,7 @@ public void load() {
range = 200f;
engineOffset = 9.5f;
targetAir = true;
ammoType = new OreAmmoType(Blocks.wallOreBeryllium, 25);
ammoType = new OreAmmoType(Blocks.wallOreBeryllium, 24);

constructor = UnitEntity::create;
weapons.add(new Weapon(){{
Expand All @@ -282,6 +282,7 @@ public void load() {
shake = 1f;
speed = 0f;
keepVelocity = false;
ammoMultiplier = 0.25f;
spawnUnit = agglomerateMissile;
}};
}});
Expand Down
2 changes: 0 additions & 2 deletions src/erekir/type/ammo/OreAmmoType.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
public class OreAmmoType implements AmmoType{
public int range = 5;
public Block extractOre = Blocks.oreCopper;
//public float resupplyTime = 5f;
public int ammoGain = 1;
public float totalItems = 20;

Expand Down Expand Up @@ -52,7 +51,6 @@ public void resupply(Unit unit) {

Tile unitOn = unit.tileOn();

//TODO won't this lag?
Geometry.circle(unitOn.x, unitOn.y, (int) offsetRange, (x, y) -> {
Tile build = world.tile(x, y);
if (build != null && build.overlay() == extractOre) {
Expand Down

0 comments on commit b9aecb1

Please sign in to comment.