Add new music with placeholder sprites

This commit is contained in:
NycroV committed 2024-05-27 16:49:47 -04:00
1 parent d5701000a2
commit 31f94970fe
22 files changed
+71 -5

No files matched your search

+1 -5
View File
@@ -28,11 +28,7 @@ namespace CalamityModMusic
ModLoader.TryGetMod("MusicDisplay", out musicDisplay);
if (!Main.dedServ)
{
if (wikithis is not null)
wikithis.Call("AddModURL", this, CalamityWikiURL);
}
wikithis?.Call("AddModURL", this, CalamityWikiURL);
}
public override void Unload()
+9
View File
@@ -0,0 +1,9 @@
using Terraria.ModLoader;
namespace CalamityModMusic.Items.Placeables
{
public class EulogyMusicBox : MusicBox
{
public override int MusicBoxTile => ModContent.TileType<Tiles.EulogyMusicBox>();
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 455 B

+9
View File
@@ -0,0 +1,9 @@
using Terraria.ModLoader;
namespace CalamityModMusic.Items.Placeables
{
public class Interlude1MusicBox : MusicBox
{
public override int MusicBoxTile => ModContent.TileType<Tiles.Interlude1MusicBox>();
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 443 B

+9
View File
@@ -0,0 +1,9 @@
using Terraria.ModLoader;
namespace CalamityModMusic.Items.Placeables
{
public class Interlude2MusicBox : MusicBox
{
public override int MusicBoxTile => ModContent.TileType<Tiles.Interlude2MusicBox>();
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 424 B

+9
View File
@@ -0,0 +1,9 @@
using Terraria.ModLoader;
namespace CalamityModMusic.Items.Placeables
{
public class Interlude3MusicBox : MusicBox
{
public override int MusicBoxTile => ModContent.TileType<Tiles.Interlude3MusicBox>();
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 431 B

+10
View File
@@ -35,8 +35,12 @@ using DesertScourgeMusicBox = CalamityModMusic.Items.Placeables.DesertScourgeMus
using DevourerofGodsPhase1MusicBox = CalamityModMusic.Items.Placeables.DevourerofGodsPhase1MusicBox;
using DevourerofGodsPhase2MusicBox = CalamityModMusic.Items.Placeables.DevourerofGodsPhase2MusicBox;
using DragonfollyMusicBox = CalamityModMusic.Items.Placeables.DragonfollyMusicBox;
using EulogyMusicBox = CalamityModMusic.Items.Placeables.EulogyMusicBox;
using ExoMechsMusicBox = CalamityModMusic.Items.Placeables.ExoMechsMusicBox;
using HiveMindMusicBox = CalamityModMusic.Items.Placeables.HiveMindMusicBox;
using Interlude1MusicBox = CalamityModMusic.Items.Placeables.Interlude1MusicBox;
using Interlude2MusicBox = CalamityModMusic.Items.Placeables.Interlude2MusicBox;
using Interlude3MusicBox = CalamityModMusic.Items.Placeables.Interlude3MusicBox;
using LeviathanMusicBox = CalamityModMusic.Items.Placeables.LeviathanMusicBox;
using OldDukeMusicBox = CalamityModMusic.Items.Placeables.OldDukeMusicBox;
using PerforatorsMusicBox = CalamityModMusic.Items.Placeables.PerforatorsMusicBox;
@@ -131,6 +135,12 @@ namespace CalamityModMusic
AddMusicBox("Sounds/Music/BossRushTier4", ModContent.ItemType<BossRushTier4MusicBox>(), ModContent.TileType<Tiles.BossRushTier4MusicBox>());
//AddMusicBox("Sounds/Music/BossRushTier5", ModContent.ItemType<BossRushTier5MusicBox>(), ModContent.TileType<Tiles.BossRushTier5MusicBox>());
// Music Events.
AddMusicBox("Sounds/Music/Interlude1", ModContent.ItemType<Interlude1MusicBox>(), ModContent.TileType<Tiles.Interlude1MusicBox>());
AddMusicBox("Sounds/Music/Interlude2", ModContent.ItemType<Interlude2MusicBox>(), ModContent.TileType<Tiles.Interlude2MusicBox>());
AddMusicBox("Sounds/Music/Interlude3", ModContent.ItemType<Interlude3MusicBox>(), ModContent.TileType<Tiles.Interlude3MusicBox>());
AddMusicBox("Sounds/Music/Eulogy", ModContent.ItemType<EulogyMusicBox>(), ModContent.TileType<Tiles.EulogyMusicBox>());
// Other Music.
AddMusicBox("Sounds/Music/CalamityTitle", ModContent.ItemType<CalamityTitleMusicBox>(), ModContent.TileType<Tiles.CalamityTitleMusicBox>()); //Seamless
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+6
View File
@@ -0,0 +1,6 @@
namespace CalamityModMusic.Tiles
{
public class EulogyMusicBox : MusicBoxTile
{
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 712 B

+6
View File
@@ -0,0 +1,6 @@
namespace CalamityModMusic.Tiles
{
public class Interlude1MusicBox : MusicBoxTile
{
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 724 B

+6
View File
@@ -0,0 +1,6 @@
namespace CalamityModMusic.Tiles
{
public class Interlude2MusicBox : MusicBoxTile
{
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 693 B

+6
View File
@@ -0,0 +1,6 @@
namespace CalamityModMusic.Tiles
{
public class Interlude3MusicBox : MusicBoxTile
{
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 707 B