Better Astral Underground internal name
This commit is contained in:
1 parent
a3cc71420d
commit
a2369549d2
6 files changed
+9
-7
No files matched your search
+2
-2
@@ -4,7 +4,7 @@ using Terraria.ID;
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("AstralUndergroundMusicbox")]
|
||||
public class UndergroundAstralInfectionMusicBox : ModItem
|
||||
public class AstralInfectionUndergroundMusicBox : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
@@ -21,7 +21,7 @@ namespace CalamityModMusic.Items.Placeables
|
||||
Item.useTime = 10;
|
||||
Item.autoReuse = true;
|
||||
Item.consumable = true;
|
||||
Item.createTile = ModContent.TileType<Tiles.UndergroundAstralInfectionMusicBox>();
|
||||
Item.createTile = ModContent.TileType<Tiles.AstralInfectionUndergroundMusicBox>();
|
||||
Item.width = 32;
|
||||
Item.height = 32;
|
||||
Item.rare = ItemRarityID.LightRed;
|
||||
File renamed without changes.
|
Before Width: | Height: | Size: 632 B After Width: | Height: | Size: 632 B |
+4
-2
@@ -1,5 +1,6 @@
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
// using AbyssLayer1MusicBox = CalamityModMusic.Items.Placeables.AbyssLayer1MusicBox;
|
||||
using AbyssLayer2MusicBox = CalamityModMusic.Items.Placeables.AbyssLayer2MusicBox;
|
||||
using AbyssLayer3MusicBox = CalamityModMusic.Items.Placeables.AbyssLayer3MusicBox;
|
||||
using AbyssLayer4MusicBox = CalamityModMusic.Items.Placeables.AbyssLayer4MusicBox;
|
||||
@@ -11,6 +12,7 @@ using AnahitaMusicBox = CalamityModMusic.Items.Placeables.AnahitaMusicBox;
|
||||
using AnahitasLureMusicBox = CalamityModMusic.Items.Placeables.AnahitasLureMusicBox;
|
||||
using AquaticScourgeMusicBox = CalamityModMusic.Items.Placeables.AquaticScourgeMusicBox;
|
||||
using AstralInfectionMusicBox = CalamityModMusic.Items.Placeables.AstralInfectionMusicBox;
|
||||
using AstralInfectionUndergroundMusicBox = CalamityModMusic.Items.Placeables.AstralInfectionUndergroundMusicBox;
|
||||
using AstrumAureusMusicBox = CalamityModMusic.Items.Placeables.AstrumAureusMusicBox;
|
||||
using AstrumDeusMusicBox = CalamityModMusic.Items.Placeables.AstrumDeusMusicBox;
|
||||
using BioLabMusicBox = CalamityModMusic.Items.Placeables.BioLabMusicBox;
|
||||
@@ -50,7 +52,6 @@ using StormWeaverMusicBox = CalamityModMusic.Items.Placeables.StormWeaverMusicBo
|
||||
using SulphurousSeaDayMusicBox = CalamityModMusic.Items.Placeables.SulphurousSeaDayMusicBox;
|
||||
using SulphurousSeaNightMusicBox = CalamityModMusic.Items.Placeables.SulphurousSeaNightMusicBox;
|
||||
using SunkenSeaMusicBox = CalamityModMusic.Items.Placeables.SunkenSeaMusicBox;
|
||||
using UndergroundAstralInfectionMusicBox = CalamityModMusic.Items.Placeables.UndergroundAstralInfectionMusicBox;
|
||||
using YharonLegacyMusicBox = CalamityModMusic.Items.Placeables.YharonLegacyMusicBox;
|
||||
using YharonPhase1MusicBox = CalamityModMusic.Items.Placeables.YharonPhase1MusicBox;
|
||||
using YharonPhase2MusicBox = CalamityModMusic.Items.Placeables.YharonPhase2MusicBox;
|
||||
@@ -108,16 +109,17 @@ namespace CalamityModMusic
|
||||
AddMusicBox("Sounds/Music/YharonPhase2", ModContent.ItemType<YharonPhase2MusicBox>(), ModContent.TileType<Tiles.YharonPhase2MusicBox>());
|
||||
|
||||
// Biome Music.
|
||||
//AddMusicBox("Sounds/Music/AbyssLayer1", ModContent.ItemType<AbyssLayer1MusicBox>(), ModContent.TileType<Tiles.AbyssLayer1MusicBox>());
|
||||
AddMusicBox("Sounds/Music/AbyssLayer2", ModContent.ItemType<AbyssLayer2MusicBox>(), ModContent.TileType<Tiles.AbyssLayer2MusicBox>());
|
||||
AddMusicBox("Sounds/Music/AbyssLayer3", ModContent.ItemType<AbyssLayer3MusicBox>(), ModContent.TileType<Tiles.AbyssLayer3MusicBox>());
|
||||
AddMusicBox("Sounds/Music/AbyssLayer4", ModContent.ItemType<AbyssLayer4MusicBox>(), ModContent.TileType<Tiles.AbyssLayer4MusicBox>());
|
||||
AddMusicBox("Sounds/Music/AstralInfection", ModContent.ItemType<AstralInfectionMusicBox>(), ModContent.TileType<Tiles.AstralInfectionMusicBox>()); //Seamless
|
||||
AddMusicBox("Sounds/Music/AstralInfectionUnderground", ModContent.ItemType<AstralInfectionUndergroundMusicBox>(), ModContent.TileType<Tiles.AstralInfectionUndergroundMusicBox>()); //Seamless
|
||||
AddMusicBox("Sounds/Music/BioLab", ModContent.ItemType<BioLabMusicBox>(), ModContent.TileType<Tiles.BioLabMusicBox>());
|
||||
AddMusicBox("Sounds/Music/BrimstoneCrags", ModContent.ItemType<BrimstoneCragsMusicBox>(), ModContent.TileType<Tiles.BrimstoneCragsMusicBox>());
|
||||
AddMusicBox("Sounds/Music/SulphurousSeaDay", ModContent.ItemType<SulphurousSeaDayMusicBox>(), ModContent.TileType<Tiles.SulphurousSeaDayMusicBox>());
|
||||
AddMusicBox("Sounds/Music/SulphurousSeaNight", ModContent.ItemType<SulphurousSeaNightMusicBox>(), ModContent.TileType<Tiles.SulphurousSeaNightMusicBox>());
|
||||
AddMusicBox("Sounds/Music/SunkenSea", ModContent.ItemType<SunkenSeaMusicBox>(), ModContent.TileType<Tiles.SunkenSeaMusicBox>());
|
||||
AddMusicBox("Sounds/Music/UndergroundAstralInfection", ModContent.ItemType<UndergroundAstralInfectionMusicBox>(), ModContent.TileType<Tiles.UndergroundAstralInfectionMusicBox>()); //Seamless
|
||||
|
||||
// Event Music.
|
||||
AddMusicBox("Sounds/Music/AcidRainTier1", ModContent.ItemType<AcidRainTier1MusicBox>(), ModContent.TileType<Tiles.AcidRainTier1MusicBox>()); //Seamless
|
||||
|
||||
File renamed without changes.
+3
-3
@@ -8,7 +8,7 @@ using Terraria.DataStructures;
|
||||
namespace CalamityModMusic.Tiles
|
||||
{
|
||||
[LegacyName("AstralUndergroundMusicboxTile")]
|
||||
public class UndergroundAstralInfectionMusicBox : ModTile
|
||||
public class AstralInfectionUndergroundMusicBox : ModTile
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
@@ -27,7 +27,7 @@ namespace CalamityModMusic.Tiles
|
||||
|
||||
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.UndergroundAstralInfectionMusicBox>());
|
||||
Item.NewItem(new EntitySource_TileBreak(i * 16, j * 16), i * 16, j * 16, 16, 48, ModContent.ItemType<Items.Placeables.AstralInfectionUndergroundMusicBox>());
|
||||
}
|
||||
|
||||
public override void MouseOver(int i, int j)
|
||||
@@ -35,7 +35,7 @@ namespace CalamityModMusic.Tiles
|
||||
Player player = Main.LocalPlayer;
|
||||
player.noThrow = 2;
|
||||
player.cursorItemIconEnabled = true;
|
||||
player.cursorItemIconID = ModContent.ItemType<Items.Placeables.UndergroundAstralInfectionMusicBox>();
|
||||
player.cursorItemIconID = ModContent.ItemType<Items.Placeables.AstralInfectionUndergroundMusicBox>();
|
||||
}
|
||||
|
||||
public override bool CreateDust(int i, int j, ref int type)
|
||||
File renamed without changes.
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Reference in new issue
Block a user