Beispiel #1
0
 public override void Load()
 {
     if (!Main.dedServ)
     {
         deathHandPanelDraw = new DeathHandPanelDraw();
         deathHandPanelDraw.Activate();
         _deathHandPanelDraw = new UserInterface();
         // change null to deathHandPanelDraw to show the Death Hand UI. Too lazy to make Death Hand item work other than setting NPC
         _deathHandPanelDraw.SetState(null);
         AddMusicBox(GetSoundSlot(SoundType.Music, "Sounds/Music/heavenly_bullshit"), ItemType("GodSlimeMusicBox"), TileType("GodSlimeMusicBox"));
         AddMusicBox(GetSoundSlot(SoundType.Music, "Sounds/Music/YungDook_2"), ItemType("YoungDukeMusicBox"), TileType("YoungDukeMusicBox"));
         AddMusicBox(GetSoundSlot(SoundType.Music, "Sounds/Music/GRANDDAD"), ItemType("GrandDadMusicBox"), TileType("GrandDadMusicBox"));
         AddMusicBox(GetSoundSlot(SoundType.Music, "Sounds/Music/Staying_As_a_1.14"), ItemType("BoozeshrumeMusicBox"), TileType("BoozeshrumeMusicBoxSheet"));
     }
 }
Beispiel #2
0
 public override void Load()
 {
     if (!Main.dedServ)
     {
         deathHandPanelDraw = new DeathHandPanelDraw();
         deathHandPanelDraw.Activate();
         _deathHandPanelDraw = new UserInterface();
         _deathHandPanelDraw.SetState(null); // change null to DeathHandPanelDraw to open the death hand's main UI on spawn, disabled for a reason
         deathHandDamageUI = new DeathHandDamagePanel();
         deathHandDamageUI.Activate();
         _deathHandDamageUI = new UserInterface();
         _deathHandDamageUI.SetState(null); // change null to DeathHandDamageUI to open the death hand damage button's UI on spawn, disabled for a reason
         AddMusicBox(GetSoundSlot(SoundType.Music, "Sounds/Music/heavenly_bullshit"), ItemType("GodSlimeMusicBox"), TileType("GodSlimeMusicBox"));
         AddMusicBox(GetSoundSlot(SoundType.Music, "Sounds/Music/YungDook_2"), ItemType("YoungDukeMusicBox"), TileType("YoungDukeMusicBox"));
         AddMusicBox(GetSoundSlot(SoundType.Music, "Sounds/Music/GRANDDAD"), ItemType("GrandDadMusicBox"), TileType("GrandDadMusicBox"));
         AddMusicBox(GetSoundSlot(SoundType.Music, "Sounds/Music/Staying_As_a_1.14"), ItemType("BoozeshrumeMusicBox"), TileType("BoozeshrumeMusicBoxSheet"));
         AddMusicBox(GetSoundSlot(SoundType.Music, "Sounds/Music/Young_Dook_Phase_2"), ItemType("YoungDukeMusicBoxTwo"), TileType("YoungDukeMusicBoxTwo"));
     }
 }