-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
8 additions
and
3,168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,19 @@ | ||
package aeyama; | ||
|
||
import mindustry.*; | ||
import arc.util.*; | ||
import mindustry.mod.*; | ||
import mindustry.type.*; | ||
|
||
import aeyama.content.*; | ||
import aeyama.ui.dialogs.*; | ||
|
||
import static arc.Core.*; | ||
|
||
public class Aeyama extends Mod { | ||
|
||
@Override | ||
public void init() { | ||
AeyamaVars.load(); | ||
SettingsMenuDialog.load(); | ||
|
||
if (settings.getBool("aeyama-showNews")) NewsDialog.load(); | ||
if (settings.getBool("aeyama-checkUpdate")) AeyamaUpdater.check(); | ||
|
||
// Hide the items of this mod on all the other planets. | ||
for (Planet planet : Vars.content.planets()) { | ||
if (planet.name != "aeyama") | ||
planet.hiddenItems.addAll(AeyamaItems.aeyamaItems); | ||
} | ||
|
||
Log.info("Aeyama Reborn!"); | ||
} | ||
|
||
@Override | ||
public void loadContent() { // The load order is VERY IMPORTANT, don't change it. | ||
AeyamaAttributes.load(); | ||
AeyamaStatusEffects.load(); | ||
AeyamaLoadouts.load(); | ||
|
||
AeyamaWeapons.load(); | ||
AeyamaUnits.load(); | ||
AeyamaItems.load(); | ||
AeyamaLiquids.load(); | ||
AeyamaBlocks.load(); | ||
|
||
AeyamaPlanets.load(); | ||
AeyamaSectors.load(); | ||
AeyamaTechTree.load(); | ||
|
||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.