Skip to content

Commit

Permalink
Fixed weapon module outlines
Browse files Browse the repository at this point in the history
  • Loading branch information
Slotterleet committed Apr 24, 2024
1 parent 41ee965 commit e8253ea
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Binary file modified res/sprites/statuses/modular/legion-fabricator.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions src/fos/content/FOSUnitTypes.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import fos.graphics.*;
import fos.type.abilities.*;
import fos.type.bullets.*;
import fos.type.content.WeaponSet;
import fos.type.units.types.*;
import fos.type.units.weapons.InjectorWeapon;
import mindustry.ai.UnitCommand;
Expand Down Expand Up @@ -83,6 +84,10 @@ public class FOSUnitTypes {
// MINER UNITS
draug;

public static @Annotations.EntityDef({Unitc.class}) UnitType
// INTERNAL, USED FOR INITIALIZING WEAPON SETS
weaponSetInit;

public static void load(){
//DestroyersUnits.load();

Expand Down Expand Up @@ -1188,6 +1193,14 @@ public static void load(){
);
}};

weaponSetInit = new UnitType("weapon-set-init"){{
hidden = true;
internal = true;
for (var s : WeaponSet.sets) {
weapons.add(s.weapons);
}
}};

//TODO
subSmall = new SubmarineUnitType("sub-small"){{
health = 250;
Expand Down

0 comments on commit e8253ea

Please sign in to comment.