1
+ package chaos .horny ;
2
+
3
+ //owned by horny part of cumunity
4
+
5
+ import arc .Events ;
6
+ import arc .audio .Sound ;
7
+ import mindustry .game .EventType ;
8
+ import mindustry .game .Schematic ;
9
+
10
+ import java .util .HashMap ;
11
+ import java .util .Map ;
12
+
13
+ import static mindustry .Vars .ui ;
14
+
15
+ public class HentaiMain {
16
+
17
+ protected static Map <String , Sound > hornySoundsMap = new HashMap <>();
18
+ protected static Map <String , Schematic > hornySchemaMap = new HashMap <>();
19
+
20
+ public HentaiMain (){
21
+ if (showHornyConfirm ()){
22
+ eventsLoader ();
23
+ interfaceOverride ();
24
+ loadAssets ();
25
+ }
26
+ }
27
+ public void eventsLoader (){
28
+ Events .on (EventType .WorldLoadEvent .class ,r ->{
29
+ //hornySoundsMap.get("worldLoadEvent").play(1f, 1f, 0f);
30
+ });
31
+ Events .on (EventType .UnitDestroyEvent .class ,e ->{
32
+ if (e .unit .isPlayer ()){
33
+ //hornySoundsMap.get("yamete_kudosai").play(1f, 1f, 0f);
34
+ }else {
35
+ //hornySoundsMap.get("hornyOhNo1").play(1f, 1f, 0f);
36
+ }
37
+ });
38
+ }
39
+ public void interfaceOverride (){
40
+ //some custom interfaces and menus should be there
41
+ }
42
+ public void loadAssets (){
43
+ //coming soon, assets in active search. If you can help with search send any content to [email protected] or сестрёнка#8227
44
+ }
45
+
46
+ private boolean showHornyConfirm (){
47
+ try {
48
+ ui .showConfirm ("@confirm" , "Is you 18+ older?" , () -> {
49
+ throw new RuntimeException ("Hentai is confirmed" );
50
+ });
51
+ }catch (Exception confirmed ){
52
+ return true ;
53
+ }
54
+ return false ;
55
+ }
56
+ }
0 commit comments