Added Sulphurous Sea Night theme and music box

- Renamed the original Sulphurous Sea music box to Sulphurous Sea Day
- Added Bio Lab and Sulphurous Sea Night themes to the workshop description
This commit is contained in:
apotofkoolaid authored and Cameron Ewell committed 2022-12-15 00:08:06 -05:00
1 parent f857d3edf8
commit 8d211474eb
9 files changed
+81 -2

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ namespace CalamityModMusic.Items.Placeables
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Sulphurous Sea)");
DisplayName.SetDefault("Music Box (Sulphurous Sea Day)");
}
public override void SetDefaults()
@@ -0,0 +1,30 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
public class SulphurousSeaNightMusicbox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Sulphurous Sea Night)");
}
public override void SetDefaults()
{
Item.useStyle = ItemUseStyleID.Swing;
Item.useTurn = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.autoReuse = true;
Item.consumable = true;
Item.createTile = ModContent.TileType<Tiles.SulphurousSeaNightMusicbox>();
Item.width = 24;
Item.height = 24;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 311 B

+3 -1
View File
@@ -46,6 +46,7 @@ using SirenMusicbox = CalamityModMusic.Items.Placeables.SirenMusicbox;
using SlimeGodMusicbox = CalamityModMusic.Items.Placeables.SlimeGodMusicbox;
using StormWeaverMusicbox = CalamityModMusic.Items.Placeables.StormWeaverMusicbox;
using SulphurousMusicbox = CalamityModMusic.Items.Placeables.SulphurousMusicbox;
using SulphurousSeaNightMusicbox = CalamityModMusic.Items.Placeables.SulphurousSeaNightMusicbox;
using SunkenSeaMusicbox = CalamityModMusic.Items.Placeables.SunkenSeaMusicbox;
using VoidMusicbox = CalamityModMusic.Items.Placeables.VoidMusicbox;
using Yharon1Musicbox = CalamityModMusic.Items.Placeables.Yharon1Musicbox;
@@ -113,7 +114,8 @@ namespace CalamityModMusic
AddMusicBox("Sounds/Music/BioLab", ModContent.ItemType<BioLabMusicbox>(), ModContent.TileType<Tiles.BioLabMusicbox>());
AddMusicBox("Sounds/Music/Crag", ModContent.ItemType<CragMusicbox>(), ModContent.TileType<Tiles.CragMusicbox>());
AddMusicBox("Sounds/Music/Calamity", ModContent.ItemType<CalamityMusicbox>(), ModContent.TileType<Tiles.CalamityMusicbox>()); //Seamless
AddMusicBox("Sounds/Music/SulphurousSea", ModContent.ItemType<SulphurousMusicbox>(), ModContent.TileType<Tiles.SulphurousMusicbox>());
AddMusicBox("Sounds/Music/SulphurousSeaDay", ModContent.ItemType<SulphurousMusicbox>(), ModContent.TileType<Tiles.SulphurousMusicbox>());
AddMusicBox("Sounds/Music/SulphurousSeaNight", ModContent.ItemType<SulphurousSeaNightMusicbox>(), ModContent.TileType<Tiles.SulphurousSeaNightMusicbox>());
AddMusicBox("Sounds/Music/SunkenSea", ModContent.ItemType<SunkenSeaMusicbox>(), ModContent.TileType<Tiles.SunkenSeaMusicbox>());
// Event Music.
File renamed without changes.
Binary file not shown.
+45
View File
@@ -0,0 +1,45 @@
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
using Terraria.ObjectData;
using Terraria.DataStructures;
namespace CalamityModMusic.Tiles
{
public class SulphurousSeaNightMusicbox : ModTile
{
public override void SetStaticDefaults()
{
Main.tileFrameImportant[Type] = true;
Main.tileObsidianKill[Type] = true;
TileObjectData.newTile.CopyFrom(TileObjectData.Style2x2);
TileObjectData.newTile.Origin = new Point16(0, 1);
TileObjectData.newTile.LavaDeath = false;
TileObjectData.newTile.DrawYOffset = 2;
TileObjectData.addTile(Type);
TileID.Sets.DisableSmartCursor[Type] = true;
ModTranslation name = CreateMapEntryName();
name.SetDefault("Music Box");
AddMapEntry(new Color(191, 142, 111), name);
}
public override void KillMultiTile(int i, int j, int frameX, int frameY)
{
Item.NewItem(new EntitySource_TileBreak(i * 16, j * 16), i * 16, j * 16, 16, 48, ModContent.ItemType<Items.Placeables.SulphurousSeaNightMusicbox>());
}
public override void MouseOver(int i, int j)
{
Player player = Main.LocalPlayer;
player.noThrow = 2;
player.cursorItemIconEnabled = true;
player.cursorItemIconID = ModContent.ItemType<Items.Placeables.SulphurousSeaNightMusicbox>();
}
public override bool CreateDust(int i, int j, ref int type)
{
return false;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 481 B

+2
View File
@@ -12,7 +12,9 @@ Full list of tracks:
[olist]
[*] DM Dokuro - The Tale of a Cruel World
[*] DM Dokuro - sanctuary
[*] Heart Plus Up! - Engineer's Sanctum
[*] DM Dokuro - wasteland
[*] Heart Plus Up! - caustic tides
[*] DM Dokuro - The Step Below Hell
[*] DM Dokuro - Guardian of the Former Seas
[*] RoverdriveX - corrosion!