Name fix part 2

This commit is contained in:
apotofkoolaid authored and Cameron Ewell committed 2023-02-15 22:54:00 -05:00
1 parent 10cb4d0791
commit 7aab6ba302
215 files changed
+4274

No files matched your search

+58
View File
@@ -0,0 +1,58 @@
using CalamityModMusic.Tiles;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("AcidRain1Musicbox")]
public class AcidRainTier1MusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Acid Rain - Tier 1)");
Tooltip.SetDefault("Plays 'corrosion!' by RoverdriveX");
}
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.AcidRainTier1MusicBox>();
Item.width = 32;
Item.height = 18;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
public override void AddRecipes()
{
Mod calamity = CalamityModMusic.Instance.calamity;
if (calamity != null)
{
// If any of these Cal items don't exist or got renamed, don't make a recipe at all
try
{
CreateRecipe().
AddIngredient(ItemID.MusicBox).
AddIngredient(calamity.Find<ModItem>("Acidwood").Type, 10).
AddIngredient(calamity.Find<ModItem>("SulphuricScale").Type, 10).
AddIngredient(calamity.Find<ModItem>("CorrodedFossil").Type, 10).
AddIngredient(calamity.Find<ModItem>("RuinousSoul").Type).
AddTile(TileID.LunarCraftingStation).
Register();
}
catch
{
CalamityModMusic.Instance.Logger.Debug("One of the items or tiles in this recipe got renamed internally. Please report this in the #bugs-read-pins channel of the official Calamity discord server.");
}
}
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 584 B

+32
View File
@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("AcidRain2Musicbox")]
public class AcidRainTier3MusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Acid Rain - Tier 3)");
Tooltip.SetDefault("Plays 'nuclear monsoon' by PinpinNeon");
}
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.AcidRainTier3MusicBox>();
Item.width = 24;
Item.height = 32;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 450 B

@@ -0,0 +1,54 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("AdultEidolonWyrmMusicbox")]
public class AdultEidolonWyrmMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Adult Eidolon Wyrm)");
Tooltip.SetDefault("Plays 'Threats of the Ocean Floor' by DM DOKURO");
}
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.AdultEidolonWyrmMusicBox>();
Item.width = 32;
Item.height = 32;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
public override void AddRecipes()
{
Mod calamity = CalamityModMusic.Instance.calamity;
if (calamity != null)
{
// If any of these Cal items don't exist or got renamed, don't make a recipe at all
try
{
CreateRecipe().
AddIngredient(ItemID.MusicBox).
AddIngredient(calamity.Find<ModItem>("Voidstone").Type, 50).
AddIngredient(calamity.Find<ModItem>("Lumenyl").Type, 15).
AddIngredient(calamity.Find<ModItem>("RuinousSoul").Type, 3).
AddTile(TileID.LunarCraftingStation).
Register();
}
catch
{
CalamityModMusic.Instance.Logger.Debug("One of the items or tiles in this recipe got renamed internally. Please report this in the #bugs-read-pins channel of the official Calamity discord server.");
}
}
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 874 B

+32
View File
@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("SirenMusicbox")]
public class AnahitaMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Anahita)");
Tooltip.SetDefault("Plays 'Siren's War Cry' by DM DOKURO");
}
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.AnahitaMusicBox>();
Item.width = 32;
Item.height = 32;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 812 B

+32
View File
@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("SirenIdleMusicbox")]
public class AnahitasLureMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Anahita's Lure)");
Tooltip.SetDefault("Plays 'Siren's Call' by DM DOKURO");
}
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.AnahitasLureMusicBox>();
Item.width = 32;
Item.height = 32;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 625 B

@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("AquaticScourgeMusicbox")]
public class AquaticScourgeMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Aquatic Scourge)");
Tooltip.SetDefault("Plays 'Outcast of the Sulphurous Seas' by DM DOKURO");
}
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.AquaticScourgeMusicBox>();
Item.width = 32;
Item.height = 30;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 494 B

@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("AstralMusicbox")]
public class AstralInfectionMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Astral Infection)");
Tooltip.SetDefault("Plays 'The Heaven-Sent Abomination' by DM DOKURO");
}
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.AstralInfectionMusicBox>();
Item.width = 30;
Item.height = 32;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 437 B

+32
View File
@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("AstrageldonMusicbox")]
public class AstrumAureusMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Astrum Aureus)");
Tooltip.SetDefault("Plays 'Interstellar Stomper' by DM DOKURO");
}
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.AstrumAureusMusicBox>();
Item.width = 30;
Item.height = 32;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 837 B

+32
View File
@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("AstrumDeusMusicbox")]
public class AstrumDeusMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Astrum Deus)");
Tooltip.SetDefault("Plays 'Pest of the Cosmos' by DM DOKURO");
}
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.AstrumDeusMusicBox>();
Item.width = 30;
Item.height = 26;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 690 B

+31
View File
@@ -0,0 +1,31 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
public class BioLabMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Bio Lab)");
Tooltip.SetDefault("Plays 'Engineer's Sanctum' by Heart Plus Up!");
}
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.BioLabMusicBox>();
Item.width = 28;
Item.height = 18;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 330 B

+32
View File
@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("BossRushTier1MusicboxItem")]
public class BossRushTier1MusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Boss Rush - Tier 1)");
Tooltip.SetDefault("Plays 'Ensemble of Fools' by CDMusic");
}
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.BossRushTier1MusicBox>();
Item.width = 32;
Item.height = 32;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 312 B

+32
View File
@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("BossRushTier2MusicboxItem")]
public class BossRushTier2MusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Boss Rush - Tier 2)");
Tooltip.SetDefault("Plays 'Onslaught of Beasts' by CDMusic");
}
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.BossRushTier2MusicBox>();
Item.width = 32;
Item.height = 32;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 348 B

+32
View File
@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("BossRushTier3MusicboxItem")]
public class BossRushTier3MusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Boss Rush - Tier 3)");
Tooltip.SetDefault("Plays 'Reign of Lords' by CDMusic");
}
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.BossRushTier3MusicBox>();
Item.width = 32;
Item.height = 32;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 358 B

+32
View File
@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("BossRushTier4MusicboxItem")]
public class BossRushTier4MusicBox : ModItem
{
public override void SetStaticDefaults()
{
//SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Boss Rush - Tier 4)"); // Unobtainable.
Tooltip.SetDefault("This music box is unfinished and does not work");
}
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.BossRushTier4MusicBox>();
Item.width = 32;
Item.height = 32;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 346 B

+32
View File
@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("BossRushTier5MusicboxItem")]
public class BossRushTier5MusicBox : ModItem
{
public override void SetStaticDefaults()
{
//SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Boss Rush - Tier 5)"); // Unobtainable.
Tooltip.SetDefault("This music box is unfinished and does not work");
}
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.BossRushTier5MusicBox>();
Item.width = 32;
Item.height = 32;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 351 B

@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("CragMusicbox")]
public class BrimstoneCragsMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Brimstone Crags)");
Tooltip.SetDefault("Plays 'The Step Below Hell' by DM DOKURO");
}
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.BrimstoneCragsMusicBox>();
Item.width = 22;
Item.height = 32;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 523 B

@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("BrimmyMusicbox")]
public class BrimstoneElementalMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Brimstone Elemental)");
Tooltip.SetDefault("Plays 'Left Alone' by DM DOKURO");
}
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.BrimstoneElementalMusicBox>();
Item.width = 30;
Item.height = 32;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 524 B

@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("CalamitasMusicbox")]
public class CalamitasCloneMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Calamitas Clone)");
Tooltip.SetDefault("Plays 'Raw, Unfiltered Calamity' by DM DOKURO");
}
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.CalamitasCloneMusicBox>();
Item.width = 32;
Item.height = 16;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 395 B

@@ -0,0 +1,44 @@
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("SCalAMusicbox")]
public class CalamitasDefeatMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Calamitas - Defeat)");
Tooltip.SetDefault("Plays 'Stained, Brutal Calamity (Acceptance)' by DM DOKURO");
}
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.CalamitasDefeatMusicBox>();
Item.width = 32;
Item.height = 32;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient(ItemID.MusicBox).
AddIngredient(ModContent.ItemType<CalamitasPhase1MusicBox>()).
AddIngredient(ModContent.ItemType<CalamitasPhase2MusicBox>()).
AddIngredient(ModContent.ItemType<CalamitasPhase3MusicBox>()).
AddTile(TileID.TinkerersWorkbench).
Register();
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 611 B

@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("SCalGMusicbox")]
public class CalamitasPhase1MusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Calamitas - Phase 1)");
Tooltip.SetDefault("Plays 'Stained, Brutal Calamity (Grief)' by DM DOKURO");
}
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.CalamitasPhase1MusicBox>();
Item.width = 32;
Item.height = 32;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 635 B

@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("SCalLMusicbox")]
public class CalamitasPhase2MusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Calamitas - Phase 2)");
Tooltip.SetDefault("Plays 'Stained, Brutal Calamity (Lament)' by DM DOKURO");
}
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.CalamitasPhase2MusicBox>();
Item.width = 32;
Item.height = 32;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 684 B

@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("SCalEMusicbox")]
public class CalamitasPhase3MusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Calamitas - Phase 3)");
Tooltip.SetDefault("Plays 'Stained, Brutal Calamity (Epiphany)' by DM DOKURO");
}
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.CalamitasPhase3MusicBox>();
Item.width = 32;
Item.height = 32;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 656 B

+55
View File
@@ -0,0 +1,55 @@
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("CalamityMusicbox")]
public class CalamityTitleMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Calamity Title)");
Tooltip.SetDefault("Plays 'The Tale of a Cruel World' by DM DOKURO");
}
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.CalamityTitleMusicBox>();
Item.width = 32;
Item.height = 32;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
public override void AddRecipes()
{
Mod calamity = CalamityModMusic.Instance.calamity;
if (calamity != null)
{
// If any of these Cal items don't exist or got renamed, don't make a recipe at all
try
{
CreateRecipe().
AddIngredient(ItemID.MusicBox).
AddIngredient(calamity.Find<ModItem>("BrimstoneSlag").Type, 12).
AddIngredient(calamity.Find<ModItem>("EssenceofChaos").Type, 3).
AddTile(calamity.Find<ModTile>("AshenAltar").Type).
Register();
}
catch
{
CalamityModMusic.Instance.Logger.Debug("One of the items or tiles in this recipe got renamed internally. Please report this in the #bugs-read-pins channel of the official Calamity discord server.");
}
}
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 559 B

+32
View File
@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("CeaselessVoidMusicbox")]
public class CeaselessVoidMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Ceaseless Void)");
Tooltip.SetDefault("Plays 'Servants of the Scourge (Type V)' by DM DOKURO");
}
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.CeaselessVoidMusicBox>();
Item.width = 32;
Item.height = 26;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 668 B

+32
View File
@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("CrabulonMusicbox")]
public class CrabulonMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Crabulon)");
Tooltip.SetDefault("Plays '1NF3S+@+!0N' by DM DOKURO");
}
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.CrabulonMusicBox>();
Item.width = 32;
Item.height = 32;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 313 B

+32
View File
@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("CryogenMusicbox")]
public class CryogenMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Cryogen)");
Tooltip.SetDefault("Plays 'Antarctic Reinforcement' by DM DOKURO");
}
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.CryogenMusicBox>();
Item.width = 32;
Item.height = 32;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 646 B

+32
View File
@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("AbyssLowerMusicbox")]
public class DeepAbyssMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Deep Abyss)");
Tooltip.SetDefault("Plays 'R'LYEH' by RoverdriveX");
}
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.DeepAbyssMusicBox>();
Item.width = 32;
Item.height = 28;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 542 B

+32
View File
@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("DesertScourgeMusicbox")]
public class DesertScourgeMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Desert Scourge)");
Tooltip.SetDefault("Plays 'Guardian of the Former Seas' by DM DOKURO");
}
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.DesertScourgeMusicBox>();
Item.width = 32;
Item.height = 30;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 641 B

@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("DoGMusicbox")]
public class DevourerofGodsPhase1MusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Devourer of Gods - Phase 1)");
Tooltip.SetDefault("Plays 'Scourge of the Universe' by DM DOKURO");
}
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.DevourerofGodsPhase1MusicBox>();
Item.width = 30;
Item.height = 32;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 736 B

@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("DoGP2Musicbox")]
public class DevourerofGodsPhase2MusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Devourer of Gods - Phase 2)");
Tooltip.SetDefault("Plays 'UNIVERSAL COLLAPSE' by DM DOKURO");
}
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.DevourerofGodsPhase2MusicBox>();
Item.width = 30;
Item.height = 32;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 727 B

+32
View File
@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("BumblebirbMusicbox")]
public class DragonfollyMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Dragonfolly)");
Tooltip.SetDefault("Plays 'Murderswarm' by DM DOKURO");
}
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.DragonfollyMusicBox>();
Item.width = 32;
Item.height = 22;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 611 B

+32
View File
@@ -0,0 +1,32 @@
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("ExoMechsMusicboxItem")]
public class ExoMechsMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Exo Mechs)");
Tooltip.SetDefault("Plays 'Inferior Fabrications' by PinpinNeon");
}
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.ExoMechsMusicBox>();
Item.width = 32;
Item.height = 28;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 474 B

+32
View File
@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("HiveMindMusicbox")]
public class HiveMindMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Hive Mind)");
Tooltip.SetDefault("Plays 'The Filthy Mind' by DM DOKURO and SixteenInMono");
}
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.HiveMindMusicBox>();
Item.width = 32;
Item.height = 32;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 725 B

+32
View File
@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("LeviathanMusicbox")]
public class LeviathanMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Leviathan)");
Tooltip.SetDefault("Plays 'Forbidden Lullaby' by DM DOKURO");
}
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.LeviathanMusicBox>();
Item.width = 32;
Item.height = 32;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 788 B

+32
View File
@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("BoomerDukeMusicbox")]
public class OldDukeMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Old Duke)");
Tooltip.SetDefault("Plays 'Toxic Wisdom' by DM DOKURO");
}
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.OldDukeMusicBox>();
Item.width = 32;
Item.height = 32;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 732 B

+32
View File
@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("PerforatorMusicbox")]
public class PerforatorsMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Perforators)");
Tooltip.SetDefault("Plays 'Blood Coagulant' by DM DOKURO and SixteenInMono");
}
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.PerforatorsMusicBox>();
Item.width = 28;
Item.height = 24;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 339 B

@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("PlaguebringerMusicbox")]
public class PlaguebringerGoliathMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Plaguebringer Goliath)");
Tooltip.SetDefault("Plays 'Fly of Beelzebub' by DM DOKURO");
}
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.PlaguebringerGoliathMusicBox>();
Item.width = 32;
Item.height = 22;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 375 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 549 B

+32
View File
@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("PolterghastMusicbox")]
public class PolterghastMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Polterghast)");
Tooltip.SetDefault("Plays 'Feral Amalgamation' by DM DOKURO");
}
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.PolterghastMusicBox>();
Item.width = 32;
Item.height = 32;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 534 B

@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("ProfanedGuardianMusicbox")]
public class ProfanedGuardiansMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Profaned Guardians)");
Tooltip.SetDefault("Plays 'Unholy Ambush' by DM DOKURO");
}
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.ProfanedGuardiansMusicBox>();
Item.width = 32;
Item.height = 32;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 842 B

+32
View File
@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("ProvidenceMusicbox")]
public class ProvidenceMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Providence)");
Tooltip.SetDefault("Plays 'Unholy Insurgency' by DM DOKURO");
}
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.ProvidenceMusicBox>();
Item.width = 30;
Item.height = 26;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 500 B

+32
View File
@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("RavagerMusicbox")]
public class RavagerMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Ravager)");
Tooltip.SetDefault("Plays 'Open Frenzy' by DM DOKURO");
}
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.RavagerMusicBox>();
Item.width = 30;
Item.height = 32;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 649 B

+32
View File
@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("HigherAbyssMusicbox")]
public class ShallowAbyssMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Shallow Abyss)");
Tooltip.SetDefault("Plays 'Hadopelagic Pressure' by DM DOKURO");
}
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.ShallowAbyssMusicBox>();
Item.width = 32;
Item.height = 28;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 476 B

+32
View File
@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("SignusMusicbox")]
public class SignusMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Signus)");
Tooltip.SetDefault("Plays 'Servants of the Scourge (Type S)' by DM DOKURO");
}
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.SignusMusicBox>();
Item.width = 32;
Item.height = 32;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 438 B

+32
View File
@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("SlimeGodMusicbox")]
public class SlimeGodMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Slime God)");
Tooltip.SetDefault("Plays 'Return to Slime' by DM DOKURO and SixteenInMono");
}
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.SlimeGodMusicBox>();
Item.width = 24;
Item.height = 24;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 344 B

+32
View File
@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("StormWeaverMusicbox")]
public class StormWeaverMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Storm Weaver)");
Tooltip.SetDefault("Plays 'Servants of the Scourge (Type W)' by DM DOKURO");
}
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.StormWeaverMusicBox>();
Item.width = 32;
Item.height = 18;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 512 B

@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("SulphurousMusicbox")]
public class SulphurousSeaDayMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Sulphurous Sea Day)");
Tooltip.SetDefault("Plays 'wasteland' by DM DOKURO");
}
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.SulphurousSeaDayMusicBox>();
Item.width = 32;
Item.height = 24;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 621 B

@@ -0,0 +1,31 @@
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)");
Tooltip.SetDefault("Plays 'caustic tides' by Heart Plus Up!");
}
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 = 32;
Item.height = 22;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 311 B

+32
View File
@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("SunkenSeaMusicbox")]
public class SunkenSeaMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Sunken Sea)");
Tooltip.SetDefault("Plays 'sanctuary' by DM DOKURO");
}
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.SunkenSeaMusicBox>();
Item.width = 30;
Item.height = 26;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 577 B

@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("AstralUndergroundMusicbox")]
public class UndergroundAstralInfectionMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Underground Astral Infection)");
Tooltip.SetDefault("Plays 'Treasures Within the Abomination' by DM DOKURO");
}
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.UndergroundAstralInfectionMusicBox>();
Item.width = 32;
Item.height = 32;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 632 B

+32
View File
@@ -0,0 +1,32 @@
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
[LegacyName("VoidMusicbox")]
public class VoidAbyssMusicBox : ModItem
{
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Music Box (Void Abyss)");
Tooltip.SetDefault("Plays 'void' by DM DOKURO");
}
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.VoidAbyssMusicBox>();
Item.width = 32;
Item.height = 32;
Item.rare = ItemRarityID.LightRed;
Item.value = 100000;
Item.accessory = true;
}
}
}
Loaded 100 of 215 files, more files were not shown because too many files have changed in this diff. Show more