generated from Anuken/MindustryJavaModTemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
ba2d67f
commit a0b4aaa
Showing
3 changed files
with
6 additions
and
14 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
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,29 +1,24 @@ | ||
package nukethea; | ||
|
||
import arc.*; | ||
import arc.struct.Seq; | ||
import arc.util.*; | ||
import mindustry.*; | ||
import mindustry.content.*; | ||
import mindustry.game.EventType.*; | ||
import mindustry.gen.*; | ||
import mindustry.mod.*; | ||
import mindustry.type.Weapon; | ||
import mindustry.ui.dialogs.*; | ||
|
||
public class Mindsutry extends Mod { | ||
|
||
public Mindsutry(){ | ||
Log.info("Loaded Mindsutry"); | ||
|
||
//listen for game load event | ||
Events.on(ClientLoadEvent.class, e -> { | ||
//show dialog upon startup | ||
Time.runTask(10f, () -> { | ||
BaseDialog dialog = new BaseDialog("frog"); | ||
dialog.cont.add("Impostor sus me harder").row(); | ||
dialog.cont.button("[scarlet]Eat the impostor[]", dialog::hide).size(400f, 25f); | ||
dialog.show(); | ||
}); | ||
}); | ||
for (int i = 1; i < 5; i++) { | ||
UnitTypes.vanquish.weapons.pop(); | ||
} | ||
|
||
} | ||
|
||
} |