Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f0888d0592 | ||
|
|
4f6e79b633 | ||
|
|
d88a8de684 | ||
|
|
dd7bca0267 | ||
|
|
b265d7aa8b | ||
|
|
91a85bcc1f | ||
|
|
5a5f12447e | ||
|
|
8d279d7351 | ||
|
|
82f06b4fd7 | ||
|
|
27d69a1ec8 | ||
|
|
aacaeace02 | ||
|
|
6c602f525a | ||
|
|
87c4d79f31 | ||
|
|
9876fad1d5 | ||
|
|
20219ebc1e | ||
|
|
7915a086cc | ||
|
|
aa535be6c3 | ||
|
|
9a7be7267e | ||
|
|
c3e4017843 | ||
|
|
dc6ac243f5 | ||
|
|
efae6c817e | ||
|
|
2da51919af | ||
|
|
6bbe00ecf8 | ||
|
|
6c0fd626bb | ||
|
|
b0b605d251 | ||
|
|
1efe99f686 | ||
|
|
4b718b6431 | ||
|
|
1eed1d6f9a | ||
|
|
e0121c48ef | ||
|
|
0ab8d66010 | ||
|
|
38c64a03ee | ||
|
|
4af2836c92 | ||
|
|
d4085faa67 | ||
|
|
723c6bd7e7 | ||
|
|
118eb615e8 | ||
|
|
c2f0d05809 | ||
|
|
99062106ae | ||
|
|
2f599ec483 | ||
|
|
e262d484c6 | ||
|
|
ef7983e3ae | ||
|
|
c93b9b79cf | ||
|
|
4ebddf70c2 | ||
|
|
daef3cda14 | ||
|
|
9119a3c9ad | ||
|
|
7f079fbb16 | ||
|
|
5593fc01e2 | ||
|
|
6f034778b1 | ||
|
|
33f8ff5d7a | ||
|
|
a6f1ac7d66 | ||
|
|
09234e386a | ||
|
|
405e4f670d | ||
|
|
08e1c99d6d | ||
|
|
abf90772d0 | ||
|
|
6b2f4f22f7 | ||
|
|
27dcf27033 | ||
|
|
270e6719b5 | ||
|
|
505fdff6b1 | ||
|
|
c3791bf980 | ||
|
|
a8e4141784 | ||
|
|
cc6ff123d6 | ||
|
|
e218a655b1 | ||
|
|
d52ac06030 | ||
|
|
772f08e685 | ||
|
|
99e9b2c3ee | ||
|
|
c1ccb95a30 | ||
|
|
cbc8f1b0d6 | ||
|
|
6a9e421781 | ||
|
|
ebf6e66c95 | ||
|
|
cbc7a7fc8d | ||
|
|
31f94970fe | ||
|
|
ad525184de | ||
|
|
d5701000a2 | ||
|
|
5dac14e459 | ||
|
|
0e8966c534 | ||
|
|
4683a3c622 | ||
|
|
ae89c8b9a8 | ||
|
|
39a57e2a26 | ||
|
|
62beecb5f7 | ||
|
|
64d9ba96e8 | ||
|
|
31b3a5b98b | ||
|
|
0a08751b4c | ||
|
|
1a66f48aae | ||
|
|
b5afb64509 | ||
|
|
7fc985f54b | ||
|
|
28cc802b89 | ||
|
|
fd1d14fe52 | ||
|
|
f32566c5ce | ||
|
|
f391aeffa3 | ||
|
|
ef701af77f | ||
|
|
a9b251e99b | ||
|
|
fcb601e6b3 | ||
|
|
b4de9b033b | ||
|
|
424b6c69a5 | ||
|
|
9fb187d588 | ||
|
|
c2bb8e9a49 | ||
|
|
b44cbb6b64 | ||
|
|
23366c1f16 | ||
|
|
4cfb252ff3 | ||
|
|
a36f00f462 | ||
|
|
76015e59ef | ||
|
|
7dcd0b54c2 | ||
|
|
c45e58e131 | ||
|
|
cec92d8867 | ||
|
|
237eace547 | ||
|
|
3f25a994c4 | ||
|
|
a2717d2830 | ||
|
|
949ff07fa9 | ||
|
|
9940814141 | ||
|
|
7eea3750cb | ||
|
|
e9e94b8cf0 | ||
|
|
812cee2fc3 | ||
|
|
8ad1ce3156 | ||
|
|
7f20d0adec | ||
|
|
05b19a18d1 | ||
|
|
c8dda58897 | ||
|
|
d809c29281 | ||
|
|
3eff69f5b8 | ||
|
|
8a164e34be |
No files matched your search
@@ -1 +1 @@
|
||||
patreon: Fabsol
|
||||
patreon: CalamityMod
|
||||
@@ -1,8 +1,6 @@
|
||||
## Ignore Visual Studio temporary files, build results, and
|
||||
## files generated by popular Visual Studio add-ons.
|
||||
*.csproj
|
||||
# Ignore Visual Studio solution files.
|
||||
# Calamity uses a project file but not a solution file.
|
||||
*.sln
|
||||
Properties/
|
||||
|
||||
# User-specific files
|
||||
*.suo
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Reflection;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityModMusic.Items.Placeables;
|
||||
|
||||
namespace CalamityModMusic
|
||||
{
|
||||
public class AcceptanceTrackSwitchSystem : ModSystem
|
||||
{
|
||||
public override void PostSetupContent()
|
||||
{
|
||||
// This makes it so that the SCal "Acceptance" event records a regular acceptance music box, despite them
|
||||
// technically being 2 separate tracks
|
||||
if (!Main.dedServ)
|
||||
{
|
||||
// `musicToItem` is a Dictionary of music slots to item types that is used to
|
||||
// convert music boxes while music is playing
|
||||
//
|
||||
// It is marked as internal, so we need to use reflection to modify it directly, but
|
||||
// by doing so we can make it so that 2 different tracks point to the same music box
|
||||
FieldInfo info = typeof(MusicLoader).GetField("musicToItem", BindingFlags.NonPublic | BindingFlags.Static);
|
||||
var musicToItem = (Dictionary<int, int>)info.GetValue(null);
|
||||
|
||||
int musicSlot = MusicLoader.GetMusicSlot(CalamityModMusic.Instance, "Sounds/Music/CalamitasDefeat_LongFade");
|
||||
int itemType = ModContent.ItemType<CalamitasDefeatMusicBox>();
|
||||
|
||||
// The FieldInfo returns the same Dictionary instance as the one in the music loader,
|
||||
// so the field does not need to have its value re-set so long as the Dictionary is modified
|
||||
musicToItem[musicSlot] = itemType;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,174 +0,0 @@
|
||||
using CalamityModMusic.Items.Placeables;
|
||||
using System.Collections.Generic;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityModMusic
|
||||
{
|
||||
public class BossChecklistIntegration : ModSystem
|
||||
{
|
||||
public override void PostSetupContent()
|
||||
{
|
||||
Mod calamity = CalamityModMusic.Instance.calamity;
|
||||
Mod bossChecklist = CalamityModMusic.Instance.bossChecklist;
|
||||
|
||||
if (calamity != null && bossChecklist != null)
|
||||
{
|
||||
bossChecklist.Call(
|
||||
"AddToBossCollection",
|
||||
"CalamityMod Desert Scourge",
|
||||
ModContent.ItemType<DesertScourgeMusicBox>());
|
||||
|
||||
bossChecklist.Call(
|
||||
"AddToBossCollection",
|
||||
"CalamityMod Giant Clam",
|
||||
ModContent.ItemType<SunkenSeaMusicBox>());
|
||||
|
||||
bossChecklist.Call(
|
||||
"AddToBossCollection",
|
||||
"CalamityMod Crabulon",
|
||||
ModContent.ItemType<CrabulonMusicBox>());
|
||||
|
||||
bossChecklist.Call(
|
||||
"AddToBossCollection",
|
||||
"CalamityMod The Hive Mind",
|
||||
ModContent.ItemType<HiveMindMusicBox>());
|
||||
|
||||
bossChecklist.Call(
|
||||
"AddToBossCollection",
|
||||
"CalamityMod The Perforators",
|
||||
ModContent.ItemType<PerforatorsMusicBox>());
|
||||
|
||||
bossChecklist.Call(
|
||||
"AddToBossCollection",
|
||||
"CalamityMod Slime God",
|
||||
ModContent.ItemType<SlimeGodMusicBox>());
|
||||
|
||||
bossChecklist.Call(
|
||||
"AddToBossCollection",
|
||||
"CalamityMod Cryogen",
|
||||
ModContent.ItemType<CryogenMusicBox>());
|
||||
|
||||
bossChecklist.Call(
|
||||
"AddToBossCollection",
|
||||
"CalamityMod Aquatic Scourge",
|
||||
ModContent.ItemType<AquaticScourgeMusicBox>());
|
||||
|
||||
bossChecklist.Call(
|
||||
"AddToBossCollection",
|
||||
"CalamityMod Brimstone Elemental",
|
||||
ModContent.ItemType<BrimstoneElementalMusicBox>());
|
||||
|
||||
bossChecklist.Call(
|
||||
"AddToBossCollection",
|
||||
"CalamityMod The Calamitas Clone",
|
||||
ModContent.ItemType<CalamitasCloneMusicBox>());
|
||||
|
||||
bossChecklist.Call(
|
||||
"AddToBossCollection",
|
||||
"CalamityMod Leviathan",
|
||||
new List<int>() { ModContent.ItemType<LeviathanMusicBox>(), ModContent.ItemType<AnahitaMusicBox>() });
|
||||
|
||||
bossChecklist.Call(
|
||||
"AddToBossCollection",
|
||||
"CalamityMod Astrum Aureus",
|
||||
ModContent.ItemType<AstrumAureusMusicBox>());
|
||||
|
||||
bossChecklist.Call(
|
||||
"AddToBossCollection",
|
||||
"CalamityMod Plaguebringer Goliath",
|
||||
ModContent.ItemType<PlaguebringerGoliathMusicBox>());
|
||||
|
||||
bossChecklist.Call(
|
||||
"AddToBossCollection",
|
||||
"CalamityMod Ravager",
|
||||
ModContent.ItemType<RavagerMusicBox>());
|
||||
|
||||
bossChecklist.Call(
|
||||
"AddToBossCollection",
|
||||
"CalamityMod Astrum Deus",
|
||||
ModContent.ItemType<AstrumDeusMusicBox>());
|
||||
|
||||
bossChecklist.Call(
|
||||
"AddToBossCollection",
|
||||
"CalamityMod Profaned Guardians",
|
||||
ModContent.ItemType<ProfanedGuardiansMusicBox>());
|
||||
|
||||
bossChecklist.Call(
|
||||
"AddToBossCollection",
|
||||
"CalamityMod Dragonfolly",
|
||||
ModContent.ItemType<DragonfollyMusicBox>());
|
||||
|
||||
bossChecklist.Call(
|
||||
"AddToBossCollection",
|
||||
"CalamityMod Providence",
|
||||
ModContent.ItemType<ProvidenceMusicBox>());
|
||||
|
||||
bossChecklist.Call(
|
||||
"AddToBossCollection",
|
||||
"CalamityMod Ceaseless Void",
|
||||
ModContent.ItemType<CeaselessVoidMusicBox>());
|
||||
|
||||
bossChecklist.Call(
|
||||
"AddToBossCollection",
|
||||
"CalamityMod Storm Weaver",
|
||||
ModContent.ItemType<StormWeaverMusicBox>());
|
||||
|
||||
bossChecklist.Call(
|
||||
"AddToBossCollection",
|
||||
"CalamityMod Signus",
|
||||
ModContent.ItemType<SignusMusicBox>());
|
||||
|
||||
bossChecklist.Call(
|
||||
"AddToBossCollection",
|
||||
"CalamityMod Polterghast",
|
||||
ModContent.ItemType<PolterghastMusicBox>());
|
||||
|
||||
bossChecklist.Call(
|
||||
"AddToBossCollection",
|
||||
"CalamityMod Old Duke",
|
||||
ModContent.ItemType<OldDukeMusicBox>());
|
||||
|
||||
bossChecklist.Call(
|
||||
"AddToBossCollection",
|
||||
"CalamityMod Devourer of Gods",
|
||||
new List<int>() { ModContent.ItemType<DevourerofGodsPhase1MusicBox>(), ModContent.ItemType<DevourerofGodsPhase2MusicBox>() });
|
||||
|
||||
bossChecklist.Call(
|
||||
"AddToBossCollection",
|
||||
"CalamityMod Yharon",
|
||||
new List<int>() { ModContent.ItemType<YharonPhase1MusicBox>(), ModContent.ItemType<YharonPhase2MusicBox>() });
|
||||
|
||||
bossChecklist.Call(
|
||||
"AddToBossCollection",
|
||||
"CalamityMod Exo Mechs",
|
||||
new List<int>() { ModContent.ItemType<ExoMechsMusicBox>() });
|
||||
|
||||
bossChecklist.Call(
|
||||
"AddToBossCollection",
|
||||
"CalamityMod Supreme Witch, Calamitas",
|
||||
new List<int>() { ModContent.ItemType<CalamitasPhase1MusicBox>(), ModContent.ItemType<CalamitasPhase2MusicBox>(), ModContent.ItemType<CalamitasPhase3MusicBox>(), ModContent.ItemType<CalamitasDefeatMusicBox>() });
|
||||
|
||||
bossChecklist.Call(
|
||||
"AddToBossCollection",
|
||||
"CalamityMod Acid Rain",
|
||||
ModContent.ItemType<AcidRainTier1MusicBox>());
|
||||
|
||||
bossChecklist.Call(
|
||||
"AddToBossCollection",
|
||||
"CalamityMod Acid Rain (Post-AS)",
|
||||
//ModContent.ItemType<AcidRainTier2MusicBox>());
|
||||
ModContent.ItemType<AcidRainTier1MusicBox>());
|
||||
|
||||
bossChecklist.Call(
|
||||
"AddToBossCollection",
|
||||
"CalamityMod Acid Rain (Post-Polter)",
|
||||
ModContent.ItemType<AcidRainTier3MusicBox>());
|
||||
|
||||
bossChecklist.Call(
|
||||
"AddToBossCollection",
|
||||
"CalamityMod Boss Rush",
|
||||
new List<int>() { ModContent.ItemType<BossRushTier1MusicBox>(), ModContent.ItemType<BossRushTier2MusicBox>(), ModContent.ItemType<BossRushTier3MusicBox>()/*, ModContent.ItemType<BossRushTier4MusicBox>()*//*, ModContent.ItemType<BossRushTier5MusicBox>() */});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
using Terraria;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityModMusic
|
||||
@@ -7,11 +8,12 @@ namespace CalamityModMusic
|
||||
{
|
||||
public static CalamityModMusic Instance;
|
||||
|
||||
public const string CalamityWikiURL = "calamitymod.wiki.gg";
|
||||
public const string CalamityWikiURL = "https://calamitymod.wiki.gg/wiki/{}";
|
||||
|
||||
internal Mod wikithis = null;
|
||||
internal Mod calamity = null;
|
||||
internal Mod bossChecklist = null;
|
||||
internal Mod musicDisplay = null;
|
||||
|
||||
public CalamityModMusic() => Instance = this;
|
||||
|
||||
@@ -20,16 +22,15 @@ namespace CalamityModMusic
|
||||
wikithis = null;
|
||||
calamity = null;
|
||||
bossChecklist = null;
|
||||
musicDisplay = null;
|
||||
ModLoader.TryGetMod("Wikithis", out wikithis);
|
||||
ModLoader.TryGetMod("CalamityMod", out calamity);
|
||||
ModLoader.TryGetMod("BossChecklist", out bossChecklist);
|
||||
ModLoader.TryGetMod("MusicDisplay", out musicDisplay);
|
||||
|
||||
if (!Main.dedServ)
|
||||
{
|
||||
if (wikithis is not null)
|
||||
wikithis.Call("AddModURL", this, CalamityWikiURL);
|
||||
}
|
||||
|
||||
wikithis?.Call("AddModURL", this, CalamityWikiURL);
|
||||
wikithis?.Call("AddWikiTexture", this, ModContent.Request<Texture2D>("CalamityModMusic/WikiThisIcon"));
|
||||
}
|
||||
|
||||
public override void Unload()
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Import Project="..\tModLoader.targets" />
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,136 @@
|
||||
using CalamityModMusic.Items.Placeables;
|
||||
using System.Collections.Generic;
|
||||
using Terraria.Localization;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityModMusic
|
||||
{
|
||||
public class ExternalModSupport : ModSystem
|
||||
{
|
||||
public override void PostSetupContent()
|
||||
{
|
||||
BossChecklistSetup();
|
||||
MusicDisplaySetup();
|
||||
}
|
||||
|
||||
private void BossChecklistSetup()
|
||||
{
|
||||
Mod calamity = CalamityModMusic.Instance.calamity;
|
||||
Mod bossChecklist = CalamityModMusic.Instance.bossChecklist;
|
||||
|
||||
if (calamity != null && bossChecklist != null)
|
||||
{
|
||||
bossChecklist.Call("SubmitEntryCollectibles", CalamityModMusic.Instance, new Dictionary<string, object>()
|
||||
{
|
||||
{ "CalamityMod DesertScourge", ModContent.ItemType<DesertScourgeMusicBox>() },
|
||||
{ "CalamityMod GiantClam", ModContent.ItemType<SunkenSeaMusicBox>() },
|
||||
{ "CalamityMod Crabulon", ModContent.ItemType<CrabulonMusicBox>() },
|
||||
{ "CalamityMod HiveMind", ModContent.ItemType<HiveMindMusicBox>() },
|
||||
{ "CalamityMod Perforators", ModContent.ItemType<PerforatorsMusicBox>() },
|
||||
{ "CalamityMod SlimeGod", ModContent.ItemType<SlimeGodMusicBox>() },
|
||||
{ "CalamityMod Cryogen", ModContent.ItemType<CryogenMusicBox>() },
|
||||
{ "CalamityMod AquaticScourge", ModContent.ItemType<AquaticScourgeMusicBox>() },
|
||||
{ "CalamityMod BrimstoneElemental", ModContent.ItemType<BrimstoneElementalMusicBox>() },
|
||||
{ "CalamityMod CalamitasClone", ModContent.ItemType<CalamitasCloneMusicBox>() },
|
||||
{ "CalamityMod Leviathan", new List<int>() { ModContent.ItemType<LeviathanMusicBox>(), ModContent.ItemType<AnahitaMusicBox>() } },
|
||||
{ "CalamityMod AstrumAureus", ModContent.ItemType<AstrumAureusMusicBox>() },
|
||||
{ "CalamityMod PlaguebringerGoliath", ModContent.ItemType<PlaguebringerGoliathMusicBox>() },
|
||||
{ "CalamityMod Ravager", ModContent.ItemType<RavagerMusicBox>() },
|
||||
{ "CalamityMod AstrumDeus", ModContent.ItemType<AstrumDeusMusicBox>() },
|
||||
{ "CalamityMod ProfanedGuardians", ModContent.ItemType<ProfanedGuardiansMusicBox>() },
|
||||
{ "CalamityMod Dragonfolly", ModContent.ItemType<DragonfollyMusicBox>() },
|
||||
{ "CalamityMod Providence", ModContent.ItemType<ProvidenceMusicBox>() },
|
||||
{ "CalamityMod CeaselessVoid", ModContent.ItemType<CeaselessVoidMusicBox>() },
|
||||
{ "CalamityMod StormWeaver", ModContent.ItemType<StormWeaverMusicBox>() },
|
||||
{ "CalamityMod Signus", ModContent.ItemType<SignusMusicBox>() },
|
||||
{ "CalamityMod Polterghast", ModContent.ItemType<PolterghastMusicBox>() },
|
||||
{ "CalamityMod OldDuke", ModContent.ItemType<OldDukeMusicBox>() },
|
||||
{ "CalamityMod DevourerofGods", new List<int>() { ModContent.ItemType<DevourerofGodsPhase1MusicBox>(), ModContent.ItemType<DevourerofGodsPhase2MusicBox>() } },
|
||||
{ "CalamityMod Yharon", new List<int>() { ModContent.ItemType<YharonPhase1MusicBox>(), ModContent.ItemType<YharonPhase2MusicBox>() } },
|
||||
{ "CalamityMod ExoMechs", new List<int>() { ModContent.ItemType<ExoMechsMusicBox>() } },
|
||||
{ "CalamityMod Calamitas", new List<int>() { ModContent.ItemType<CalamitasPhase1MusicBox>(), ModContent.ItemType<CalamitasPhase2MusicBox>(), ModContent.ItemType<CalamitasPhase3MusicBox>(), ModContent.ItemType<CalamitasDefeatMusicBox>() } },
|
||||
{ "CalamityMod AcidRainT1", ModContent.ItemType<AcidRainTier1MusicBox>() },
|
||||
{ "CalamityMod AcidRainT2", ModContent.ItemType<AcidRainTier1MusicBox>() }, //ModContent.ItemType<AcidRainTier2MusicBox>()
|
||||
{ "CalamityMod AcidRainT3", ModContent.ItemType<AcidRainTier3MusicBox>() },
|
||||
{ "CalamityMod BossRush", new List<int>() { ModContent.ItemType<BossRushTier1MusicBox>(), ModContent.ItemType<BossRushTier2MusicBox>(), ModContent.ItemType<BossRushTier3MusicBox>(), ModContent.ItemType<BossRushTier4MusicBox>()/*, ModContent.ItemType<BossRushTier5MusicBox>() */} }
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
private void MusicDisplaySetup()
|
||||
{
|
||||
Mod musicDisplay = CalamityModMusic.Instance.musicDisplay;
|
||||
if (musicDisplay is null)
|
||||
return;
|
||||
|
||||
void AddMusic(string songKey, string authorKey)
|
||||
{
|
||||
short slot = (short)MusicLoader.GetMusicSlot(Mod, $"Sounds/Music/{songKey}");
|
||||
musicDisplay.Call("AddMusic", slot, Language.GetTextValue("Mods.CalamityModMusic.ModSupport.MusicDisplay.SongNames." + songKey), Language.GetTextValue("Mods.CalamityModMusic.ModSupport.MusicDisplay.Authors." + authorKey), Mod.DisplayName);
|
||||
}
|
||||
|
||||
AddMusic("AbyssLayer1", "HeartPlusUp");
|
||||
AddMusic("AbyssLayer2", "DMDOKURO");
|
||||
AddMusic("AbyssLayer3", "CDMusic");
|
||||
AddMusic("AbyssLayer3Alt", "HeartPlusUp");
|
||||
AddMusic("AbyssLayer4", "DMDOKURO");
|
||||
AddMusic("AbyssLegacy", "RoverdriveX");
|
||||
AddMusic("AcidRainTier1", "RoverdriveX");
|
||||
AddMusic("AcidRainTier3", "PinpinNeon");
|
||||
AddMusic("Anahita", "DMDOKURO");
|
||||
AddMusic("AnahitasLure", "DMDOKURO");
|
||||
AddMusic("AquaticScourge", "DMDOKURO");
|
||||
AddMusic("AstralInfection", "DMDOKURO");
|
||||
AddMusic("AstralInfectionUnderground", "DMDOKURO");
|
||||
AddMusic("AstrumAureus", "DMDOKURO");
|
||||
AddMusic("AstrumDeus", "DMDOKURO");
|
||||
AddMusic("BioLab", "HeartPlusUp");
|
||||
AddMusic("BossRushTier1", "CDMusic");
|
||||
AddMusic("BossRushTier2", "CDMusic");
|
||||
AddMusic("BossRushTier3", "CDMusic");
|
||||
AddMusic("BossRushTier4", "CDMusic");
|
||||
AddMusic("BrainstormTrailer", "MoonburnFeature");
|
||||
AddMusic("BrimstoneCrags", "DMDOKURO");
|
||||
AddMusic("BrimstoneElemental", "DMDOKURO");
|
||||
AddMusic("CalamitasClone", "DMDOKURO");
|
||||
AddMusic("CalamitasDefeat", "DMDOKURO");
|
||||
AddMusic("CalamitasDefeat_LongFade", "DMDOKURO");
|
||||
AddMusic("CalamitasPhase1", "DMDOKURO");
|
||||
AddMusic("CalamitasPhase2", "DMDOKURO");
|
||||
AddMusic("CalamitasPhase3", "DMDOKURO");
|
||||
AddMusic("CalamityTitle", "DMDOKURO");
|
||||
AddMusic("CeaselessVoid", "DMDOKURO");
|
||||
AddMusic("Crabulon", "DMDOKURO");
|
||||
AddMusic("Cryogen", "DMDOKURO");
|
||||
AddMusic("DesertScourge", "DMDOKURO");
|
||||
AddMusic("DevourerofGodsEulogy", "DMDOKURO");
|
||||
AddMusic("DevourerofGodsPhase1", "DMDOKURO");
|
||||
AddMusic("DevourerofGodsPhase2", "DMDOKURO");
|
||||
AddMusic("Dragonfolly", "DMDOKURO");
|
||||
AddMusic("ExoMechs", "PinpinNeon");
|
||||
AddMusic("HiveMind", "DMDOKUROFeature");
|
||||
AddMusic("Interlude1", "DMDOKURO");
|
||||
AddMusic("Interlude2", "DMDOKURO");
|
||||
AddMusic("Interlude3", "DMDOKURO");
|
||||
AddMusic("Leviathan", "DMDOKURO");
|
||||
AddMusic("OldDuke", "DMDOKURO");
|
||||
AddMusic("Perforators", "DMDOKUROFeature");
|
||||
AddMusic("PlaguebringerGoliath", "DMDOKURO");
|
||||
AddMusic("Polterghast", "DMDOKURO");
|
||||
AddMusic("PrimordialWyrm", "DMDOKURO");
|
||||
AddMusic("ProfanedGuardians", "DMDOKURO");
|
||||
AddMusic("Providence", "DMDOKURO");
|
||||
AddMusic("Ravager", "DMDOKURO");
|
||||
AddMusic("Signus", "DMDOKURO");
|
||||
AddMusic("SlimeGod", "DMDOKUROFeature");
|
||||
AddMusic("StormWeaver", "DMDOKURO");
|
||||
AddMusic("SulphurousSeaDay", "DMDOKURO");
|
||||
AddMusic("SulphurousSeaNight", "HeartPlusUp");
|
||||
AddMusic("SulphurousSeaRain", "HeartPlusUp");
|
||||
AddMusic("SunkenSea", "DMDOKURO");
|
||||
AddMusic("YharonLegacy", "DMDOKURO");
|
||||
AddMusic("YharonPhase1", "DMDOKURO");
|
||||
AddMusic("YharonPhase2", "DMDOKURO");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.Utilities;
|
||||
|
||||
namespace CalamityModMusic.Items
|
||||
{
|
||||
public class CalamityMusicGlobalItem : GlobalItem
|
||||
{
|
||||
// No items from this mod are capable of receiving reforges.
|
||||
public override bool? PrefixChance(Item item, int pre, UnifiedRandom rand) =>
|
||||
item.ModItem != null && item.ModItem.Mod == CalamityModMusic.Instance ? false : (bool?)null;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
public class AbyssLayer1MusicBox : MusicBox
|
||||
{
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.AbyssLayer1MusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/AbyssLayer1";
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 690 B |
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("HigherAbyssMusicbox")]
|
||||
public class AbyssLayer2MusicBox : ModItem
|
||||
public class AbyssLayer2MusicBox : MusicBox
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
SacrificeTotal = 1;
|
||||
DisplayName.SetDefault("Music Box (Abyss - Layer 2)");
|
||||
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.AbyssLayer2MusicBox>();
|
||||
Item.width = 32;
|
||||
Item.height = 26;
|
||||
Item.rare = ItemRarityID.LightRed;
|
||||
Item.value = 100000;
|
||||
Item.accessory = true;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.AbyssLayer2MusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/AbyssLayer2";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
public class AbyssLayer3AltMusicBox : MusicBox
|
||||
{
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.AbyssLayer3AltMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/AbyssLayer3Alt";
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 349 B |
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("AbyssLowerMusicbox")]
|
||||
public class AbyssLayer3MusicBox : ModItem
|
||||
public class AbyssLayer3MusicBox : MusicBox
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
SacrificeTotal = 1;
|
||||
DisplayName.SetDefault("Music Box (Abyss - Layer 3)");
|
||||
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.AbyssLayer3MusicBox>();
|
||||
Item.width = 32;
|
||||
Item.height = 28;
|
||||
Item.rare = ItemRarityID.LightRed;
|
||||
Item.value = 100000;
|
||||
Item.accessory = true;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.AbyssLayer3MusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/AbyssLayer3";
|
||||
}
|
||||
}
|
||||
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("VoidMusicbox")]
|
||||
public class AbyssLayer4MusicBox : ModItem
|
||||
public class AbyssLayer4MusicBox : MusicBox
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
SacrificeTotal = 1;
|
||||
DisplayName.SetDefault("Music Box (Abyss - Layer 4)");
|
||||
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.AbyssLayer4MusicBox>();
|
||||
Item.width = 32;
|
||||
Item.height = 32;
|
||||
Item.rare = ItemRarityID.LightRed;
|
||||
Item.value = 100000;
|
||||
Item.accessory = true;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.AbyssLayer4MusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/AbyssLayer4";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
public class AbyssLegacyMusicBox : MusicBox
|
||||
{
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.AbyssLegacyMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/AbyssLegacy";
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
// Does not play in-game
|
||||
CreateRecipe().
|
||||
AddIngredient(ModContent.ItemType<AbyssLayer1MusicBox>()).
|
||||
AddIngredient(ModContent.ItemType<AbyssLayer2MusicBox>()).
|
||||
AddIngredient(ModContent.ItemType<AbyssLayer3MusicBox>()).
|
||||
AddIngredient(ModContent.ItemType<AbyssLayer4MusicBox>()).
|
||||
AddTile(TileID.TinkerersWorkbench).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 535 B |
@@ -1,58 +1,28 @@
|
||||
using CalamityModMusic.Tiles;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("AcidRain1Musicbox")]
|
||||
public class AcidRainTier1MusicBox : ModItem
|
||||
public class AcidRainTier1MusicBox : MusicBox
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
SacrificeTotal = 1;
|
||||
DisplayName.SetDefault("Music Box (Acid Rain - Tiers 1 and 2)"); // Temporary, will change to just Tier 1 once Acid Rain Tier 2 is complete
|
||||
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 int MusicBoxTile => ModContent.TileType<Tiles.AcidRainTier1MusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/AcidRainTier1";
|
||||
|
||||
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.");
|
||||
}
|
||||
}
|
||||
// Contingent recipes in case players skipped to Tier 3 Acid Rain
|
||||
// When T2 exists, the recipe would be split into [T3 + AS = T2] and [T2 + SulphSea = T1]
|
||||
CreateRecipe().
|
||||
AddIngredient(ModContent.ItemType<AcidRainTier3MusicBox>()).
|
||||
AddIngredient(ModContent.ItemType<SulphurousSeaDayMusicBox>()).
|
||||
AddTile(TileID.TinkerersWorkbench).
|
||||
Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ModContent.ItemType<AcidRainTier3MusicBox>()).
|
||||
AddIngredient(ModContent.ItemType<SulphurousSeaNightMusicBox>()).
|
||||
AddTile(TileID.TinkerersWorkbench).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("AcidRain2Musicbox")]
|
||||
public class AcidRainTier3MusicBox : ModItem
|
||||
public class AcidRainTier3MusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.AcidRainTier3MusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/AcidRainTier3";
|
||||
}
|
||||
}
|
||||
@@ -1,54 +0,0 @@
|
||||
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.");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 874 B |
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("SirenMusicbox")]
|
||||
public class AnahitaMusicBox : ModItem
|
||||
public class AnahitaMusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.AnahitaMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/Anahita";
|
||||
}
|
||||
}
|
||||
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("SirenIdleMusicbox")]
|
||||
public class AnahitasLureMusicBox : ModItem
|
||||
public class AnahitasLureMusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.AnahitasLureMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/AnahitasLure";
|
||||
}
|
||||
}
|
||||
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("AquaticScourgeMusicbox")]
|
||||
public class AquaticScourgeMusicBox : ModItem
|
||||
public class AquaticScourgeMusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.AquaticScourgeMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/AquaticScourge";
|
||||
}
|
||||
}
|
||||
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("AstralMusicbox")]
|
||||
public class AstralInfectionMusicBox : ModItem
|
||||
public class AstralInfectionMusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.AstralInfectionMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/AstralInfection";
|
||||
}
|
||||
}
|
||||
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("AstralUndergroundMusicbox")]
|
||||
public class AstralInfectionUndergroundMusicBox : ModItem
|
||||
public class AstralInfectionUndergroundMusicBox : MusicBox
|
||||
{
|
||||
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.AstralInfectionUndergroundMusicBox>();
|
||||
Item.width = 32;
|
||||
Item.height = 32;
|
||||
Item.rare = ItemRarityID.LightRed;
|
||||
Item.value = 100000;
|
||||
Item.accessory = true;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.AstralInfectionUndergroundMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/AstralInfectionUnderground";
|
||||
}
|
||||
}
|
||||
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("AstrageldonMusicbox")]
|
||||
public class AstrumAureusMusicBox : ModItem
|
||||
public class AstrumAureusMusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.AstrumAureusMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/AstrumAureus";
|
||||
}
|
||||
}
|
||||
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("AstrumDeusMusicbox")]
|
||||
public class AstrumDeusMusicBox : ModItem
|
||||
public class AstrumDeusMusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.AstrumDeusMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/AstrumDeus";
|
||||
}
|
||||
}
|
||||
@@ -1,31 +1,10 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
public class BioLabMusicBox : ModItem
|
||||
public class BioLabMusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.BioLabMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/BioLab";
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 330 B After Width: | Height: | Size: 431 B |
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("BossRushTier1MusicboxItem")]
|
||||
public class BossRushTier1MusicBox : ModItem
|
||||
public class BossRushTier1MusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.BossRushTier1MusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/BossRushTier1";
|
||||
}
|
||||
}
|
||||
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("BossRushTier2MusicboxItem")]
|
||||
public class BossRushTier2MusicBox : ModItem
|
||||
public class BossRushTier2MusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.BossRushTier2MusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/BossRushTier2";
|
||||
}
|
||||
}
|
||||
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("BossRushTier3MusicboxItem")]
|
||||
public class BossRushTier3MusicBox : ModItem
|
||||
public class BossRushTier3MusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.BossRushTier3MusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/BossRushTier3";
|
||||
}
|
||||
}
|
||||
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("BossRushTier4MusicboxItem")]
|
||||
public class BossRushTier4MusicBox : ModItem
|
||||
public class BossRushTier4MusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.BossRushTier4MusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/BossRushTier4";
|
||||
}
|
||||
}
|
||||
@@ -1,32 +1,12 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("BossRushTier5MusicboxItem")]
|
||||
public class BossRushTier5MusicBox : ModItem
|
||||
public class BossRushTier5MusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.BossRushTier5MusicBox>();
|
||||
public override string MusicFilePath => string.Empty;
|
||||
public override bool Obtainable => false;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
public class BrainstormTrailerMusicBox : MusicBox
|
||||
{
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.BrainstormTrailerMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/BrainstormTrailer";
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
var VCMM = ModLoader.TryGetMod("UnCalamityModMusic", out Mod vcmm);
|
||||
|
||||
// Does not play in-game
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.MusicBoxBoss3).
|
||||
AddIngredient(ModContent.ItemType<DevourerofGodsPhase1MusicBox>()).
|
||||
AddIngredient(ItemID.MusicBoxStorm).
|
||||
AddTile(TileID.TinkerersWorkbench).
|
||||
Register();
|
||||
|
||||
// Alternate recipe for VCMM boxes in addition to the one above
|
||||
if (VCMM)
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient(vcmm, "BrainofCthulhuMusicBox").
|
||||
AddIngredient(ModContent.ItemType<DevourerofGodsPhase1MusicBox>()).
|
||||
AddIngredient(vcmm, "RainDayMusicBox"). // Temporary; should be VCMM's Thunderstorm box when added. Vanilla storm music will not play with VCMM, so a Rain box must be used for now.
|
||||
AddTile(TileID.TinkerersWorkbench).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 551 B |
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("CragMusicbox")]
|
||||
public class BrimstoneCragsMusicBox : ModItem
|
||||
public class BrimstoneCragsMusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.BrimstoneCragsMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/BrimstoneCrags";
|
||||
}
|
||||
}
|
||||
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("BrimmyMusicbox")]
|
||||
public class BrimstoneElementalMusicBox : ModItem
|
||||
public class BrimstoneElementalMusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.BrimstoneElementalMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/BrimstoneElemental";
|
||||
}
|
||||
}
|
||||
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("CalamitasMusicbox")]
|
||||
public class CalamitasCloneMusicBox : ModItem
|
||||
public class CalamitasCloneMusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.CalamitasCloneMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/CalamitasClone";
|
||||
}
|
||||
}
|
||||
@@ -1,44 +1,23 @@
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("SCalAMusicbox")]
|
||||
public class CalamitasDefeatMusicBox : ModItem
|
||||
public class CalamitasDefeatMusicBox : MusicBox
|
||||
{
|
||||
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 int MusicBoxTile => ModContent.TileType<Tiles.CalamitasDefeatMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/CalamitasDefeat";
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.MusicBox).
|
||||
AddIngredient(ModContent.ItemType<CalamitasPhase1MusicBox>()).
|
||||
AddIngredient(ModContent.ItemType<CalamitasPhase2MusicBox>()).
|
||||
AddIngredient(ModContent.ItemType<CalamitasPhase3MusicBox>()).
|
||||
AddTile(TileID.TinkerersWorkbench).
|
||||
Register();
|
||||
// Does not play long enough in-game to realistically make this obtainable normally
|
||||
CreateRecipe().
|
||||
AddIngredient(ModContent.ItemType<CalamitasPhase1MusicBox>()).
|
||||
AddIngredient(ModContent.ItemType<CalamitasPhase2MusicBox>()).
|
||||
AddIngredient(ModContent.ItemType<CalamitasPhase3MusicBox>()).
|
||||
AddTile(TileID.TinkerersWorkbench).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 611 B After Width: | Height: | Size: 902 B |
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("SCalGMusicbox")]
|
||||
public class CalamitasPhase1MusicBox : ModItem
|
||||
public class CalamitasPhase1MusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.CalamitasPhase1MusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/CalamitasPhase1";
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 635 B After Width: | Height: | Size: 910 B |
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("SCalLMusicbox")]
|
||||
public class CalamitasPhase2MusicBox : ModItem
|
||||
public class CalamitasPhase2MusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.CalamitasPhase2MusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/CalamitasPhase2";
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 684 B After Width: | Height: | Size: 906 B |
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("SCalEMusicbox")]
|
||||
public class CalamitasPhase3MusicBox : ModItem
|
||||
public class CalamitasPhase3MusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.CalamitasPhase3MusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/CalamitasPhase3";
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 656 B After Width: | Height: | Size: 835 B |
@@ -1,55 +1,34 @@
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("CalamityMusicbox")]
|
||||
public class CalamityTitleMusicBox : ModItem
|
||||
public class CalamityTitleMusicBox : MusicBox
|
||||
{
|
||||
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 int MusicBoxTile => ModContent.TileType<Tiles.CalamityTitleMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/CalamityTitle";
|
||||
|
||||
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 SetDefaults()
|
||||
{
|
||||
base.SetDefaults();
|
||||
Item.value = 10000;
|
||||
}
|
||||
|
||||
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.");
|
||||
}
|
||||
}
|
||||
// Contingent recipe in case it was discarded from the Starter Bag
|
||||
// All of Dokuro's biome tracks -- based on a 2018 concept
|
||||
CreateRecipe().
|
||||
AddIngredient(ModContent.ItemType<AbyssLayer2MusicBox>()).
|
||||
AddIngredient(ModContent.ItemType<AbyssLayer4MusicBox>()).
|
||||
AddIngredient(ModContent.ItemType<AstralInfectionMusicBox>()).
|
||||
AddIngredient(ModContent.ItemType<AstralInfectionUndergroundMusicBox>()).
|
||||
AddIngredient(ModContent.ItemType<BrimstoneCragsMusicBox>()).
|
||||
AddIngredient(ModContent.ItemType<SulphurousSeaDayMusicBox>()).
|
||||
AddIngredient(ModContent.ItemType<SunkenSeaMusicBox>()).
|
||||
AddTile(TileID.TinkerersWorkbench).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 559 B After Width: | Height: | Size: 511 B |
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("CeaselessVoidMusicbox")]
|
||||
public class CeaselessVoidMusicBox : ModItem
|
||||
public class CeaselessVoidMusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.CeaselessVoidMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/CeaselessVoid";
|
||||
}
|
||||
}
|
||||
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("CrabulonMusicbox")]
|
||||
public class CrabulonMusicBox : ModItem
|
||||
public class CrabulonMusicBox : MusicBox
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
SacrificeTotal = 1;
|
||||
DisplayName.SetDefault("Music Box (Crabulon)");
|
||||
Tooltip.SetDefault("Plays 'Infestation' 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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.CrabulonMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/Crabulon";
|
||||
}
|
||||
}
|
||||
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("CryogenMusicbox")]
|
||||
public class CryogenMusicBox : ModItem
|
||||
public class CryogenMusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.CryogenMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/Cryogen";
|
||||
}
|
||||
}
|
||||
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("DesertScourgeMusicbox")]
|
||||
public class DesertScourgeMusicBox : ModItem
|
||||
public class DesertScourgeMusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.DesertScourgeMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/DesertScourge";
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 641 B After Width: | Height: | Size: 834 B |
@@ -0,0 +1,10 @@
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
public class DevourerofGodsEulogyMusicBox : MusicBox
|
||||
{
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.DevourerofGodsEulogyMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/DevourerofGodsEulogy";
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 764 B |
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("DoGMusicbox")]
|
||||
public class DevourerofGodsPhase1MusicBox : ModItem
|
||||
public class DevourerofGodsPhase1MusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.DevourerofGodsPhase1MusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/DevourerofGodsPhase1";
|
||||
}
|
||||
}
|
||||
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("DoGP2Musicbox")]
|
||||
public class DevourerofGodsPhase2MusicBox : ModItem
|
||||
public class DevourerofGodsPhase2MusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.DevourerofGodsPhase2MusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/DevourerofGodsPhase2";
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 727 B After Width: | Height: | Size: 843 B |
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("BumblebirbMusicbox")]
|
||||
public class DragonfollyMusicBox : ModItem
|
||||
public class DragonfollyMusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.DragonfollyMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/Dragonfolly";
|
||||
}
|
||||
}
|
||||
@@ -1,32 +1,11 @@
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("ExoMechsMusicboxItem")]
|
||||
public class ExoMechsMusicBox : ModItem
|
||||
public class ExoMechsMusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.ExoMechsMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/ExoMechs";
|
||||
}
|
||||
}
|
||||
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("HiveMindMusicbox")]
|
||||
public class HiveMindMusicBox : ModItem
|
||||
public class HiveMindMusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.HiveMindMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/HiveMind";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
public class Interlude1MusicBox : MusicBox
|
||||
{
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.Interlude1MusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/Interlude1";
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 658 B |
@@ -0,0 +1,10 @@
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
public class Interlude2MusicBox : MusicBox
|
||||
{
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.Interlude2MusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/Interlude2";
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 554 B |
@@ -0,0 +1,10 @@
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
public class Interlude3MusicBox : MusicBox
|
||||
{
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.Interlude3MusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/Interlude3";
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 578 B |
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("LeviathanMusicbox")]
|
||||
public class LeviathanMusicBox : ModItem
|
||||
public class LeviathanMusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.LeviathanMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/Leviathan";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
public abstract class MusicBox : ModItem
|
||||
{
|
||||
public abstract int MusicBoxTile { get; }
|
||||
public abstract string MusicFilePath { get; }
|
||||
public virtual bool Obtainable { get; } = true;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
ItemID.Sets.CanGetPrefixes[Type] = false;
|
||||
ItemID.Sets.ShimmerTransformToItem[Type] = ItemID.MusicBox;
|
||||
|
||||
if (!Obtainable)
|
||||
{
|
||||
Item.ResearchUnlockCount = 0;
|
||||
}
|
||||
|
||||
// Register Music Box if the music path exists
|
||||
if (!String.IsNullOrEmpty(MusicFilePath))
|
||||
MusicLoader.AddMusicBox(Mod, MusicLoader.GetMusicSlot(Mod, MusicFilePath), Type, MusicBoxTile);
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.DefaultToMusicBox(MusicBoxTile, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("BoomerDukeMusicbox")]
|
||||
public class OldDukeMusicBox : ModItem
|
||||
public class OldDukeMusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.OldDukeMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/OldDuke";
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 732 B After Width: | Height: | Size: 822 B |
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("PerforatorMusicbox")]
|
||||
public class PerforatorsMusicBox : ModItem
|
||||
public class PerforatorsMusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.PerforatorsMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/Perforators";
|
||||
}
|
||||
}
|
||||
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("PlaguebringerMusicbox")]
|
||||
public class PlaguebringerGoliathMusicBox : ModItem
|
||||
public class PlaguebringerGoliathMusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.PlaguebringerGoliathMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/PlaguebringerGoliath";
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 375 B After Width: | Height: | Size: 532 B |
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("PolterghastMusicbox")]
|
||||
public class PolterghastMusicBox : ModItem
|
||||
public class PolterghastMusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.PolterghastMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/Polterghast";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("AdultEidolonWyrmMusicbox", "AdultEidolonWyrmMusicBox")]
|
||||
public class PrimordialWyrmMusicBox : MusicBox
|
||||
{
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.PrimordialWyrmMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/PrimordialWyrm";
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 785 B |
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("ProfanedGuardianMusicbox")]
|
||||
public class ProfanedGuardiansMusicBox : ModItem
|
||||
public class ProfanedGuardiansMusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.ProfanedGuardiansMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/ProfanedGuardians";
|
||||
}
|
||||
}
|
||||
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("ProvidenceMusicbox")]
|
||||
public class ProvidenceMusicBox : ModItem
|
||||
public class ProvidenceMusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.ProvidenceMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/Providence";
|
||||
}
|
||||
}
|
||||
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("RavagerMusicbox")]
|
||||
public class RavagerMusicBox : ModItem
|
||||
public class RavagerMusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.RavagerMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/Ravager";
|
||||
}
|
||||
}
|
||||
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("SignusMusicbox")]
|
||||
public class SignusMusicBox : ModItem
|
||||
public class SignusMusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.SignusMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/Signus";
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 438 B After Width: | Height: | Size: 589 B |
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("SlimeGodMusicbox")]
|
||||
public class SlimeGodMusicBox : ModItem
|
||||
public class SlimeGodMusicBox : MusicBox
|
||||
{
|
||||
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 = 32;
|
||||
Item.height = 24;
|
||||
Item.rare = ItemRarityID.LightRed;
|
||||
Item.value = 100000;
|
||||
Item.accessory = true;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.SlimeGodMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/SlimeGod";
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 344 B After Width: | Height: | Size: 770 B |
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("StormWeaverMusicbox")]
|
||||
public class StormWeaverMusicBox : ModItem
|
||||
public class StormWeaverMusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.StormWeaverMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/StormWeaver";
|
||||
}
|
||||
}
|
||||
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("SulphurousMusicbox")]
|
||||
public class SulphurousSeaDayMusicBox : ModItem
|
||||
public class SulphurousSeaDayMusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.SulphurousSeaDayMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/SulphurousSeaDay";
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 621 B After Width: | Height: | Size: 722 B |
@@ -1,31 +1,10 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
public class SulphurousSeaNightMusicBox : ModItem
|
||||
public class SulphurousSeaNightMusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.SulphurousSeaNightMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/SulphurousSeaNight";
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 311 B After Width: | Height: | Size: 395 B |
@@ -0,0 +1,10 @@
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
public class SulphurousSeaRainMusicBox : MusicBox
|
||||
{
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.SulphurousSeaRainMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/SulphurousSeaRain";
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 941 B |
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("SunkenSeaMusicbox")]
|
||||
public class SunkenSeaMusicBox : ModItem
|
||||
public class SunkenSeaMusicBox : MusicBox
|
||||
{
|
||||
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;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.SunkenSeaMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/SunkenSea";
|
||||
}
|
||||
}
|
||||
@@ -1,54 +1,22 @@
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("Yharon1Musicbox")]
|
||||
public class YharonLegacyMusicBox : ModItem
|
||||
public class YharonLegacyMusicBox : MusicBox
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
SacrificeTotal = 1;
|
||||
DisplayName.SetDefault("Music Box (Yharon - Legacy)");
|
||||
Tooltip.SetDefault("Plays 'Infernal Catharsis' 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.YharonLegacyMusicBox>();
|
||||
Item.width = 32;
|
||||
Item.height = 20;
|
||||
Item.rare = ItemRarityID.LightRed;
|
||||
Item.value = 100000;
|
||||
Item.accessory = true;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.YharonLegacyMusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/YharonLegacy";
|
||||
|
||||
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>("YharonSoulFragment").Type, 3).
|
||||
AddTile(calamity.Find<ModTile>("CosmicAnvil").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.");
|
||||
}
|
||||
}
|
||||
// Does not play in-game
|
||||
CreateRecipe().
|
||||
AddIngredient(ModContent.ItemType<YharonPhase1MusicBox>()).
|
||||
AddIngredient(ModContent.ItemType<YharonPhase2MusicBox>()).
|
||||
AddTile(TileID.TinkerersWorkbench).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("Yharon2Musicbox")]
|
||||
public class YharonPhase1MusicBox : ModItem
|
||||
public class YharonPhase1MusicBox : MusicBox
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
SacrificeTotal = 1;
|
||||
DisplayName.SetDefault("Music Box (Yharon - Phase 1)");
|
||||
Tooltip.SetDefault("Plays 'Infernal Catharsis (Rebirth)' 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.YharonPhase1MusicBox>();
|
||||
Item.width = 32;
|
||||
Item.height = 20;
|
||||
Item.rare = ItemRarityID.LightRed;
|
||||
Item.value = 100000;
|
||||
Item.accessory = true;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.YharonPhase1MusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/YharonPhase1";
|
||||
}
|
||||
}
|
||||
@@ -1,32 +1,11 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityModMusic.Items.Placeables
|
||||
{
|
||||
[LegacyName("Yharon3Musicbox")]
|
||||
public class YharonPhase2MusicBox : ModItem
|
||||
public class YharonPhase2MusicBox : MusicBox
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
SacrificeTotal = 1;
|
||||
DisplayName.SetDefault("Music Box (Yharon - Phase 2)");
|
||||
Tooltip.SetDefault("Plays 'Roar of the Jungle Dragon' 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.YharonPhase2MusicBox>();
|
||||
Item.width = 32;
|
||||
Item.height = 32;
|
||||
Item.rare = ItemRarityID.LightRed;
|
||||
Item.value = 100000;
|
||||
Item.accessory = true;
|
||||
}
|
||||
public override int MusicBoxTile => ModContent.TileType<Tiles.YharonPhase2MusicBox>();
|
||||
public override string MusicFilePath => "Sounds/Music/YharonPhase2";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
The Calamity Music Mod and all associated source code, visual assets, audio assets, characters, names, logos, trademarks, branding, and related materials are proprietary to Azafure, LLC, a Virginia limited liability company (*"Azafure"*), and are protected by applicable intellectual property laws. All rights reserved. Except for the limited permission necessary to access and contribute to the repository in accordance with these terms, nothing in these terms grants any license, permission, or ownership interest in or to Azafure’s intellectual property.
|
||||
|
||||
Contributions (defined hereafter) to this repository for Calamity Music Mod (*"Project"*) are welcome. By submitting any original code, artwork, audio, documentation, suggestions, or other materials, including modifications or additions thereof, to the Calamity Music Mod repository (*"Contributions"*), you acknowledge and agree to the following:
|
||||
|
||||
1. **Assignment.** Upon submission, you assign to Azafure all right, title and interest in any copyright you have in the Contributions, and you waive any rights that may affect our ownership of the copyright in the Contributions.
|
||||
|
||||
2. **License to Azafure.** If your assignment in Section 1 is ineffective for any reason, you grant to Azafure an exclusive, perpetual, worldwide, transferable, sublicensable, no-charge, royalty-free, and irrevocable license to use, reproduce, prepare derivative works of, publicly display, publicly perform, and distribute your Contributions and any derivative work created based on your Contributions. If your license grant is ineffective for any reason, you irrevocably waive and consent not to assert any claim you may have against Azafure, its successors in interest, or its licensees arising out of their use, reproduction, preparation of derivative works, public display, public performance, or distribution of your Contributions. You also agree that Azafure may, in its sole discretion, publicly use or display your name and, if applicable, the name of your organization, solely only to identify or acknowledge your Contributions to the Project, and not for advertising or marketing purposes.
|
||||
|
||||
3. **Contributor Representations.** By submitting Contributions, you represent that: `(a)` you created the Contributions or otherwise have sufficient rights to submit it to the Project under this license; `(b)` to the best of your knowledge, the Contributions do not infringe any third party intellectual property rights; `(c)` you are not aware of any claim, suit, or proceeding alleging that the Contributions infringe any third party right; and `(d)` you will duly comply with the provisions set forth herein.
|
||||
|
||||
4. **Indemnity.** You agree to indemnify and hold harmless Azafure from and against any claims, damages, losses, liabilities, costs, and expenses arising out of or related to your breach of the foregoing representations and warranties.
|
||||
|
||||
5. **Miscellaneous.**
|
||||
- Azafure will make good faith efforts to honor reasonable requests to remove Contributions from the Project. Requests for your Contributions to be excluded are a privilege, not a right, and Azafure may ignore requests it deems unreasonable.
|
||||
- You may use the Project source code as a reference for building or developing Terraria mods or other software.
|
||||
- If you lift any code from the Project repository you must credit such code to *"Azafure, LLC"* and provide a link to the Project repository or this `LICENSE` page.
|
||||
- The Calamity Music Mod cannot be redistributed in any form or in any location. The Steam Workshop is the only officially hosted download of the Calamity Music Mod.
|
||||
- All music tracks remain the property of their respective composers, are not owned by Azafure, and are used by Azafure with permission.
|
||||
@@ -0,0 +1,407 @@
|
||||
Mods: {
|
||||
CalamityModMusic: {
|
||||
Items: {
|
||||
AbyssLayer1MusicBox: {
|
||||
DisplayName: Music Box (Abyss - Layer 1)
|
||||
Tooltip: Plays 'hesitation' by Heart Plus Up!
|
||||
}
|
||||
|
||||
AbyssLayer2MusicBox: {
|
||||
DisplayName: Music Box (Abyss - Layer 2)
|
||||
Tooltip: Plays 'Hadopelagic Pressure' by DM DOKURO
|
||||
}
|
||||
|
||||
AbyssLayer3AltMusicBox: {
|
||||
DisplayName: Music Box (Abyss - Layer 3 Alt)
|
||||
Tooltip: Plays 'R'lyehian Depths' by Heart Plus Up!
|
||||
}
|
||||
|
||||
AbyssLayer3MusicBox: {
|
||||
DisplayName: Music Box (Abyss - Layer 3)
|
||||
Tooltip: Plays 'hydrothermophobia' by CDMusic
|
||||
}
|
||||
|
||||
AbyssLayer4MusicBox: {
|
||||
DisplayName: Music Box (Abyss - Layer 4)
|
||||
Tooltip: Plays 'void' by DM DOKURO
|
||||
}
|
||||
|
||||
AbyssLegacyMusicBox: {
|
||||
DisplayName: Music Box (Abyss - Legacy)
|
||||
Tooltip: Plays 'R'LYEH' by RoverdriveX
|
||||
}
|
||||
|
||||
AcidRainTier1MusicBox: {
|
||||
DisplayName: Music Box (Acid Rain - Tiers 1 and 2)
|
||||
Tooltip:
|
||||
'''
|
||||
Plays 'corrosion!' by RoverdriveX
|
||||
This music box contains a placeholder song
|
||||
'''
|
||||
}
|
||||
|
||||
AcidRainTier3MusicBox: {
|
||||
DisplayName: Music Box (Acid Rain - Tier 3)
|
||||
Tooltip:
|
||||
'''
|
||||
Plays 'nuclear monsoon' by PinpinNeon
|
||||
This music box contains a placeholder song
|
||||
'''
|
||||
}
|
||||
|
||||
AnahitaMusicBox: {
|
||||
DisplayName: Music Box (Anahita)
|
||||
Tooltip: Plays 'Siren's War Cry' by DM DOKURO
|
||||
}
|
||||
|
||||
AnahitasLureMusicBox: {
|
||||
DisplayName: Music Box (Anahita's Lure)
|
||||
Tooltip: Plays 'Siren's Call' by DM DOKURO
|
||||
}
|
||||
|
||||
AquaticScourgeMusicBox: {
|
||||
DisplayName: Music Box (Aquatic Scourge)
|
||||
Tooltip: Plays 'Outcast of the Sulphurous Seas' by DM DOKURO
|
||||
}
|
||||
|
||||
AstralInfectionMusicBox: {
|
||||
DisplayName: Music Box (Astral Infection)
|
||||
Tooltip: Plays 'The Heaven-Sent Abomination' by DM DOKURO
|
||||
}
|
||||
|
||||
AstralInfectionUndergroundMusicBox: {
|
||||
DisplayName: Music Box (Underground Astral Infection)
|
||||
Tooltip: Plays 'Treasures Within the Abomination' by DM DOKURO
|
||||
}
|
||||
|
||||
AstrumAureusMusicBox: {
|
||||
DisplayName: Music Box (Astrum Aureus)
|
||||
Tooltip: Plays 'Interstellar Stomper' by DM DOKURO
|
||||
}
|
||||
|
||||
AstrumDeusMusicBox: {
|
||||
DisplayName: Music Box (Astrum Deus)
|
||||
Tooltip: Plays 'Pest of the Cosmos' by DM DOKURO
|
||||
}
|
||||
|
||||
BioLabMusicBox: {
|
||||
DisplayName: Music Box (Bio Lab)
|
||||
Tooltip: Plays 'Engineer's Sanctum' by Heart Plus Up!
|
||||
}
|
||||
|
||||
BossRushTier1MusicBox: {
|
||||
DisplayName: Music Box (Boss Rush - Tier 1)
|
||||
Tooltip: Plays 'Ensemble of Fools' by CDMusic
|
||||
}
|
||||
|
||||
BossRushTier2MusicBox: {
|
||||
DisplayName: Music Box (Boss Rush - Tier 2)
|
||||
Tooltip: Plays 'Onslaught of Beasts' by CDMusic
|
||||
}
|
||||
|
||||
BossRushTier3MusicBox: {
|
||||
DisplayName: Music Box (Boss Rush - Tier 3)
|
||||
Tooltip: Plays 'Reign of Lords' by CDMusic
|
||||
}
|
||||
|
||||
BossRushTier4MusicBox: {
|
||||
DisplayName: Music Box (Boss Rush - Tier 4)
|
||||
Tooltip: Plays 'Trial of the Insane' by CDMusic
|
||||
}
|
||||
|
||||
BossRushTier5MusicBox: {
|
||||
DisplayName: Music Box (Boss Rush - Tier 5)
|
||||
Tooltip: This music box is unfinished and does not work
|
||||
}
|
||||
|
||||
BrainstormTrailerMusicBox: {
|
||||
DisplayName: Music Box (Brainstorm Trailer)
|
||||
Tooltip: Plays a trailer score by Moonburn, CDMusic, and TYESKI
|
||||
}
|
||||
|
||||
BrimstoneCragsMusicBox: {
|
||||
DisplayName: Music Box (Brimstone Crags)
|
||||
Tooltip: Plays 'The Step Below Hell' by DM DOKURO
|
||||
}
|
||||
|
||||
BrimstoneElementalMusicBox: {
|
||||
DisplayName: Music Box (Brimstone Elemental)
|
||||
Tooltip: Plays 'Left Alone' by DM DOKURO
|
||||
}
|
||||
|
||||
CalamitasCloneMusicBox: {
|
||||
DisplayName: Music Box (Calamitas Clone)
|
||||
Tooltip: Plays 'Raw, Unfiltered Calamity' by DM DOKURO
|
||||
}
|
||||
|
||||
CalamitasDefeatMusicBox: {
|
||||
DisplayName: Music Box (Calamitas - Defeat)
|
||||
Tooltip: Plays 'Stained, Brutal Calamity (Acceptance)' by DM DOKURO
|
||||
}
|
||||
|
||||
CalamitasPhase1MusicBox: {
|
||||
DisplayName: Music Box (Calamitas - Phase 1)
|
||||
Tooltip: Plays 'Stained, Brutal Calamity (Grief)' by DM DOKURO
|
||||
}
|
||||
|
||||
CalamitasPhase2MusicBox: {
|
||||
DisplayName: Music Box (Calamitas - Phase 2)
|
||||
Tooltip: Plays 'Stained, Brutal Calamity (Lament)' by DM DOKURO
|
||||
}
|
||||
|
||||
CalamitasPhase3MusicBox: {
|
||||
DisplayName: Music Box (Calamitas - Phase 3)
|
||||
Tooltip: Plays 'Stained, Brutal Calamity (Epiphany)' by DM DOKURO
|
||||
}
|
||||
|
||||
CalamityTitleMusicBox: {
|
||||
DisplayName: Music Box (Calamity Title)
|
||||
Tooltip: Plays 'The Tale of a Cruel World' by DM DOKURO
|
||||
}
|
||||
|
||||
CeaselessVoidMusicBox: {
|
||||
DisplayName: Music Box (Ceaseless Void)
|
||||
Tooltip: Plays 'Servants of the Scourge (Type V)' by DM DOKURO
|
||||
}
|
||||
|
||||
CrabulonMusicBox: {
|
||||
DisplayName: Music Box (Crabulon)
|
||||
Tooltip: Plays 'Infestation' by DM DOKURO
|
||||
}
|
||||
|
||||
CryogenMusicBox: {
|
||||
DisplayName: Music Box (Cryogen)
|
||||
Tooltip: Plays 'Antarctic Reinforcement' by DM DOKURO
|
||||
}
|
||||
|
||||
DesertScourgeMusicBox: {
|
||||
DisplayName: Music Box (Desert Scourge)
|
||||
Tooltip: Plays 'Guardian of the Former Seas' by DM DOKURO
|
||||
}
|
||||
|
||||
DevourerofGodsEulogyMusicBox: {
|
||||
DisplayName: Music Box (Devourer of Gods - Eulogy)
|
||||
Tooltip: Plays 'Scourge of the Universe (Eulogy for the Ego)' by DM DOKURO
|
||||
}
|
||||
|
||||
DevourerofGodsPhase1MusicBox: {
|
||||
DisplayName: Music Box (Devourer of Gods - Phase 1)
|
||||
Tooltip: Plays 'Scourge of the Universe' by DM DOKURO
|
||||
}
|
||||
|
||||
DevourerofGodsPhase2MusicBox: {
|
||||
DisplayName: Music Box (Devourer of Gods - Phase 2)
|
||||
Tooltip: Plays 'Universal Collapse' by DM DOKURO
|
||||
}
|
||||
|
||||
DragonfollyMusicBox: {
|
||||
DisplayName: Music Box (Dragonfolly)
|
||||
Tooltip: Plays 'Murderswarm' by DM DOKURO
|
||||
}
|
||||
|
||||
ExoMechsMusicBox: {
|
||||
DisplayName: Music Box (Exo Mechs)
|
||||
Tooltip:
|
||||
'''
|
||||
Plays 'Inferior Fabrications' by PinpinNeon
|
||||
This music box contains a placeholder song
|
||||
'''
|
||||
}
|
||||
|
||||
HiveMindMusicBox: {
|
||||
DisplayName: Music Box (Hive Mind)
|
||||
Tooltip: Plays 'The Filthy Mind' by DM DOKURO and SixteenInMono
|
||||
}
|
||||
|
||||
Interlude1MusicBox: {
|
||||
DisplayName: Music Box (Interlude 1)
|
||||
Tooltip: Plays 'Silence before the storms' by DM DOKURO
|
||||
}
|
||||
|
||||
Interlude2MusicBox: {
|
||||
DisplayName: Music Box (Interlude 2)
|
||||
Tooltip: Plays 'Storms before the catastrophes' by DM DOKURO
|
||||
}
|
||||
|
||||
Interlude3MusicBox: {
|
||||
DisplayName: Music Box (Interlude 3)
|
||||
Tooltip: Plays 'Catastrophes before the calamity' by DM DOKURO
|
||||
}
|
||||
|
||||
LeviathanMusicBox: {
|
||||
DisplayName: Music Box (Leviathan)
|
||||
Tooltip: Plays 'Forbidden Lullaby' by DM DOKURO
|
||||
}
|
||||
|
||||
OldDukeMusicBox: {
|
||||
DisplayName: Music Box (Old Duke)
|
||||
Tooltip: Plays 'Toxic Wisdom' by DM DOKURO
|
||||
}
|
||||
|
||||
PerforatorsMusicBox: {
|
||||
DisplayName: Music Box (Perforators)
|
||||
Tooltip: Plays 'Blood Coagulant' by DM DOKURO and SixteenInMono
|
||||
}
|
||||
|
||||
PlaguebringerGoliathMusicBox: {
|
||||
DisplayName: Music Box (Plaguebringer Goliath)
|
||||
Tooltip: Plays 'Fly of Beelzebub' by DM DOKURO
|
||||
}
|
||||
|
||||
PolterghastMusicBox: {
|
||||
DisplayName: Music Box (Polterghast)
|
||||
Tooltip: Plays 'Feral Amalgamation' by DM DOKURO
|
||||
}
|
||||
|
||||
PrimordialWyrmMusicBox: {
|
||||
DisplayName: Music Box (Primordial Wyrm)
|
||||
Tooltip: Plays 'Threats of the Ocean Floor' by DM DOKURO
|
||||
}
|
||||
|
||||
ProfanedGuardiansMusicBox: {
|
||||
DisplayName: Music Box (Profaned Guardians)
|
||||
Tooltip: Plays 'Unholy Ambush' by DM DOKURO
|
||||
}
|
||||
|
||||
ProvidenceMusicBox: {
|
||||
DisplayName: Music Box (Providence)
|
||||
Tooltip: Plays 'Unholy Insurgency' by DM DOKURO
|
||||
}
|
||||
|
||||
RavagerMusicBox: {
|
||||
DisplayName: Music Box (Ravager)
|
||||
Tooltip: Plays 'Open Frenzy' by DM DOKURO
|
||||
}
|
||||
|
||||
SignusMusicBox: {
|
||||
DisplayName: Music Box (Signus)
|
||||
Tooltip: Plays 'Servants of the Scourge (Type S)' by DM DOKURO
|
||||
}
|
||||
|
||||
SlimeGodMusicBox: {
|
||||
DisplayName: Music Box (Slime God)
|
||||
Tooltip: Plays 'Return to Slime' by DM DOKURO and SixteenInMono
|
||||
}
|
||||
|
||||
StormWeaverMusicBox: {
|
||||
DisplayName: Music Box (Storm Weaver)
|
||||
Tooltip: Plays 'Servants of the Scourge (Type W)' by DM DOKURO
|
||||
}
|
||||
|
||||
SulphurousSeaDayMusicBox: {
|
||||
DisplayName: Music Box (Sulphurous Sea Day)
|
||||
Tooltip: Plays 'wasteland' by DM DOKURO
|
||||
}
|
||||
|
||||
SulphurousSeaNightMusicBox: {
|
||||
DisplayName: Music Box (Sulphurous Sea Night)
|
||||
Tooltip: Plays 'caustic tides' by Heart Plus Up!
|
||||
}
|
||||
|
||||
SulphurousSeaRainMusicBox: {
|
||||
DisplayName: Music Box (Sulphurous Sea Rain)
|
||||
Tooltip: Plays 'septication' by Heart Plus Up!
|
||||
}
|
||||
|
||||
SunkenSeaMusicBox: {
|
||||
DisplayName: Music Box (Sunken Sea)
|
||||
Tooltip: Plays 'sanctuary' by DM DOKURO
|
||||
}
|
||||
|
||||
YharonLegacyMusicBox: {
|
||||
DisplayName: Music Box (Yharon - Legacy)
|
||||
Tooltip: Plays 'Infernal Catharsis' by DM DOKURO
|
||||
}
|
||||
|
||||
YharonPhase1MusicBox: {
|
||||
DisplayName: Music Box (Yharon - Phase 1)
|
||||
Tooltip: Plays 'Infernal Catharsis (Rebirth)' by DM DOKURO
|
||||
}
|
||||
|
||||
YharonPhase2MusicBox: {
|
||||
DisplayName: Music Box (Yharon - Phase 2)
|
||||
Tooltip: Plays 'Roar of the Jungle Dragon' by DM DOKURO
|
||||
}
|
||||
}
|
||||
|
||||
ModSupport: {
|
||||
MusicDisplay: {
|
||||
SongNames: {
|
||||
AbyssLayer1: hesitation
|
||||
AbyssLayer2: Hadopelagic Pressure
|
||||
AbyssLayer3: hydrothermophobia
|
||||
AbyssLayer3Alt: R'lyehian Depths
|
||||
AbyssLayer4: void
|
||||
AbyssLegacy: R'LYEH
|
||||
AcidRainTier1: corrosion!
|
||||
AcidRainTier3: nuclear monsoon
|
||||
Anahita: Siren's War Cry
|
||||
AnahitasLure: Siren's Call
|
||||
AquaticScourge: Outcast of the Sulphurous Seas
|
||||
AstralInfection: The Heaven-Sent Abomination
|
||||
AstralInfectionUnderground: Treasures Within the Abomination
|
||||
AstrumAureus: Interstellar Stomper
|
||||
AstrumDeus: Pest of the Cosmos
|
||||
BioLab: Engineer's Sanctum
|
||||
BossRushTier1: Ensemble of Fools
|
||||
BossRushTier2: Onslaught of Beasts
|
||||
BossRushTier3: Reign of Lords
|
||||
BossRushTier4: Trial of the Insane
|
||||
BrainstormTrailer: Brainstorm Trailer
|
||||
BrimstoneCrags: The Step Below Hell
|
||||
BrimstoneElemental: Left Alone
|
||||
CalamitasClone: Raw, Unfiltered Calamity
|
||||
CalamitasDefeat: Stained, Brutal Calamity (Acceptance)
|
||||
CalamitasDefeat_LongFade: Stained, Brutal Calamity (Acceptance)
|
||||
CalamitasPhase1: Stained, Brutal Calamity (Grief)
|
||||
CalamitasPhase2: Stained, Brutal Calamity (Lament)
|
||||
CalamitasPhase3: Stained, Brutal Calamity (Epiphany)
|
||||
CalamityTitle: The Tale of a Cruel World
|
||||
CeaselessVoid: Servants of the Scourge (Type V)
|
||||
Crabulon: Infestation
|
||||
Cryogen: Antarctic Reinforcement
|
||||
DesertScourge: Guardian of the Former Seas
|
||||
DevourerofGodsEulogy: Scourge of the Universe (Eulogy for the Ego)
|
||||
DevourerofGodsPhase1: Scourge of the Universe
|
||||
DevourerofGodsPhase2: Universal Collapse
|
||||
Dragonfolly: Murderswarm
|
||||
ExoMechs: Inferior Fabrications
|
||||
HiveMind: The Filthy Mind
|
||||
Interlude1: Silence before the storms
|
||||
Interlude2: Storms before the catastrophes
|
||||
Interlude3: Catastrophes before the calamity
|
||||
Leviathan: Forbidden Lullaby
|
||||
OldDuke: Toxic Wisdom
|
||||
Perforators: Blood Coagulant
|
||||
PlaguebringerGoliath: Fly of Beelzebub
|
||||
Polterghast: Feral Amalgamation
|
||||
PrimordialWyrm: Threats of the Ocean Floor
|
||||
ProfanedGuardians: Unholy Ambush
|
||||
Providence: Unholy Insurgency
|
||||
Ravager: Open Frenzy
|
||||
Signus: Servants of the Scourge (Type S)
|
||||
SlimeGod: Return to Slime
|
||||
StormWeaver: Servants of the Scourge (Type W)
|
||||
SulphurousSeaDay: wasteland
|
||||
SulphurousSeaNight: caustic tides
|
||||
SulphurousSeaRain: septication
|
||||
SunkenSea: sanctuary
|
||||
YharonLegacy: Infernal Catharsis
|
||||
YharonPhase1: Infernal Catharsis (Rebirth)
|
||||
YharonPhase2: Roar of the Jungle Dragon
|
||||
}
|
||||
|
||||
Authors: {
|
||||
AquaSG: by AquaSG
|
||||
CDMusic: by CDMusic
|
||||
DMDOKURO: by DM DOKURO
|
||||
DMDOKUROFeature: by DM DOKURO and SixteenInMono
|
||||
HeartPlusUp: by Heart Plus Up!
|
||||
MoonburnFeature: by Moonburn, CDMusic, and TYESKI
|
||||
PinpinNeon: by PinpinNeon
|
||||
RoverdriveX: by RoverdriveX
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,139 +0,0 @@
|
||||
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;
|
||||
using AcidRainTier1MusicBox = CalamityModMusic.Items.Placeables.AcidRainTier1MusicBox;
|
||||
// using AcidRainTier2MusicBox = CalamityModMusic.Items.Placeables.AcidRainTier2MusicBox;
|
||||
using AcidRainTier3MusicBox = CalamityModMusic.Items.Placeables.AcidRainTier3MusicBox;
|
||||
using AdultEidolonWyrmMusicBox = CalamityModMusic.Items.Placeables.AdultEidolonWyrmMusicBox;
|
||||
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;
|
||||
using BossRushTier1MusicBox = CalamityModMusic.Items.Placeables.BossRushTier1MusicBox;
|
||||
using BossRushTier2MusicBox = CalamityModMusic.Items.Placeables.BossRushTier2MusicBox;
|
||||
using BossRushTier3MusicBox = CalamityModMusic.Items.Placeables.BossRushTier3MusicBox;
|
||||
// using BossRushTier4MusicBox = CalamityModMusic.Items.Placeables.BossRushTier4MusicBox;
|
||||
// using BossRushTier5MusicBox = CalamityModMusic.Items.Placeables.BossRushTier5MusicBox;
|
||||
using BrimstoneCragsMusicBox = CalamityModMusic.Items.Placeables.BrimstoneCragsMusicBox;
|
||||
using BrimstoneElementalMusicBox = CalamityModMusic.Items.Placeables.BrimstoneElementalMusicBox;
|
||||
using CalamitasCloneMusicBox = CalamityModMusic.Items.Placeables.CalamitasCloneMusicBox;
|
||||
using CalamitasDefeatMusicBox = CalamityModMusic.Items.Placeables.CalamitasDefeatMusicBox;
|
||||
using CalamitasPhase1MusicBox = CalamityModMusic.Items.Placeables.CalamitasPhase1MusicBox;
|
||||
using CalamitasPhase2MusicBox = CalamityModMusic.Items.Placeables.CalamitasPhase2MusicBox;
|
||||
using CalamitasPhase3MusicBox = CalamityModMusic.Items.Placeables.CalamitasPhase3MusicBox;
|
||||
using CalamityTitleMusicBox = CalamityModMusic.Items.Placeables.CalamityTitleMusicBox;
|
||||
using CeaselessVoidMusicBox = CalamityModMusic.Items.Placeables.CeaselessVoidMusicBox;
|
||||
using CrabulonMusicBox = CalamityModMusic.Items.Placeables.CrabulonMusicBox;
|
||||
using CryogenMusicBox = CalamityModMusic.Items.Placeables.CryogenMusicBox;
|
||||
using DesertScourgeMusicBox = CalamityModMusic.Items.Placeables.DesertScourgeMusicBox;
|
||||
using DevourerofGodsPhase1MusicBox = CalamityModMusic.Items.Placeables.DevourerofGodsPhase1MusicBox;
|
||||
using DevourerofGodsPhase2MusicBox = CalamityModMusic.Items.Placeables.DevourerofGodsPhase2MusicBox;
|
||||
using DragonfollyMusicBox = CalamityModMusic.Items.Placeables.DragonfollyMusicBox;
|
||||
using ExoMechsMusicBox = CalamityModMusic.Items.Placeables.ExoMechsMusicBox;
|
||||
using HiveMindMusicBox = CalamityModMusic.Items.Placeables.HiveMindMusicBox;
|
||||
using LeviathanMusicBox = CalamityModMusic.Items.Placeables.LeviathanMusicBox;
|
||||
using OldDukeMusicBox = CalamityModMusic.Items.Placeables.OldDukeMusicBox;
|
||||
using PerforatorsMusicBox = CalamityModMusic.Items.Placeables.PerforatorsMusicBox;
|
||||
using PlaguebringerGoliathMusicBox = CalamityModMusic.Items.Placeables.PlaguebringerGoliathMusicBox;
|
||||
using PolterghastMusicBox = CalamityModMusic.Items.Placeables.PolterghastMusicBox;
|
||||
using ProfanedGuardiansMusicBox = CalamityModMusic.Items.Placeables.ProfanedGuardiansMusicBox;
|
||||
using ProvidenceMusicBox = CalamityModMusic.Items.Placeables.ProvidenceMusicBox;
|
||||
using RavagerMusicBox = CalamityModMusic.Items.Placeables.RavagerMusicBox;
|
||||
using SignusMusicBox = CalamityModMusic.Items.Placeables.SignusMusicBox;
|
||||
using SlimeGodMusicBox = CalamityModMusic.Items.Placeables.SlimeGodMusicBox;
|
||||
using StormWeaverMusicBox = CalamityModMusic.Items.Placeables.StormWeaverMusicBox;
|
||||
using SulphurousSeaDayMusicBox = CalamityModMusic.Items.Placeables.SulphurousSeaDayMusicBox;
|
||||
using SulphurousSeaNightMusicBox = CalamityModMusic.Items.Placeables.SulphurousSeaNightMusicBox;
|
||||
using SunkenSeaMusicBox = CalamityModMusic.Items.Placeables.SunkenSeaMusicBox;
|
||||
using YharonLegacyMusicBox = CalamityModMusic.Items.Placeables.YharonLegacyMusicBox;
|
||||
using YharonPhase1MusicBox = CalamityModMusic.Items.Placeables.YharonPhase1MusicBox;
|
||||
using YharonPhase2MusicBox = CalamityModMusic.Items.Placeables.YharonPhase2MusicBox;
|
||||
|
||||
namespace CalamityModMusic
|
||||
{
|
||||
public class MusicBoxRegistry : ModSystem
|
||||
{
|
||||
private static void AddMusicBox(string musicFile, int itemID, int tileID)
|
||||
{
|
||||
Mod musicMod = CalamityModMusic.Instance;
|
||||
int musicID = MusicLoader.GetMusicSlot(musicMod, musicFile);
|
||||
MusicLoader.AddMusicBox(musicMod, musicID, itemID, tileID);
|
||||
}
|
||||
|
||||
public override void PostSetupContent()
|
||||
{
|
||||
if (!Main.dedServ)
|
||||
{
|
||||
// Boss Music - Alphabetised.
|
||||
AddMusicBox("Sounds/Music/AdultEidolonWyrm", ModContent.ItemType<AdultEidolonWyrmMusicBox>(), ModContent.TileType<Tiles.AdultEidolonWyrmMusicBox>());
|
||||
AddMusicBox("Sounds/Music/Anahita", ModContent.ItemType<AnahitaMusicBox>(), ModContent.TileType<Tiles.AnahitaMusicBox>());
|
||||
AddMusicBox("Sounds/Music/AnahitasLure", ModContent.ItemType<AnahitasLureMusicBox>(), ModContent.TileType<Tiles.AnahitasLureMusicBox>());
|
||||
AddMusicBox("Sounds/Music/AquaticScourge", ModContent.ItemType<AquaticScourgeMusicBox>(), ModContent.TileType<Tiles.AquaticScourgeMusicBox>());
|
||||
AddMusicBox("Sounds/Music/AstrumAureus", ModContent.ItemType<AstrumAureusMusicBox>(), ModContent.TileType<Tiles.AstrumAureusMusicBox>());
|
||||
AddMusicBox("Sounds/Music/AstrumDeus", ModContent.ItemType<AstrumDeusMusicBox>(), ModContent.TileType<Tiles.AstrumDeusMusicBox>());
|
||||
AddMusicBox("Sounds/Music/BrimstoneElemental", ModContent.ItemType<BrimstoneElementalMusicBox>(), ModContent.TileType<Tiles.BrimstoneElementalMusicBox>());
|
||||
AddMusicBox("Sounds/Music/CalamitasClone", ModContent.ItemType<CalamitasCloneMusicBox>(), ModContent.TileType<Tiles.CalamitasCloneMusicBox>());
|
||||
AddMusicBox("Sounds/Music/CalamitasDefeat", ModContent.ItemType<CalamitasDefeatMusicBox>(), ModContent.TileType<Tiles.CalamitasDefeatMusicBox>());
|
||||
AddMusicBox("Sounds/Music/CalamitasPhase1", ModContent.ItemType<CalamitasPhase1MusicBox>(), ModContent.TileType<Tiles.CalamitasPhase1MusicBox>());
|
||||
AddMusicBox("Sounds/Music/CalamitasPhase2", ModContent.ItemType<CalamitasPhase2MusicBox>(), ModContent.TileType<Tiles.CalamitasPhase2MusicBox>());
|
||||
AddMusicBox("Sounds/Music/CalamitasPhase3", ModContent.ItemType<CalamitasPhase3MusicBox>(), ModContent.TileType<Tiles.CalamitasPhase3MusicBox>());
|
||||
AddMusicBox("Sounds/Music/CeaselessVoid", ModContent.ItemType<CeaselessVoidMusicBox>(), ModContent.TileType<Tiles.CeaselessVoidMusicBox>());
|
||||
AddMusicBox("Sounds/Music/Crabulon", ModContent.ItemType<CrabulonMusicBox>(), ModContent.TileType<Tiles.CrabulonMusicBox>());
|
||||
AddMusicBox("Sounds/Music/Cryogen", ModContent.ItemType<CryogenMusicBox>(), ModContent.TileType<Tiles.CryogenMusicBox>());
|
||||
AddMusicBox("Sounds/Music/DesertScourge", ModContent.ItemType<DesertScourgeMusicBox>(), ModContent.TileType<Tiles.DesertScourgeMusicBox>());
|
||||
AddMusicBox("Sounds/Music/DevourerofGodsPhase1", ModContent.ItemType<DevourerofGodsPhase1MusicBox>(), ModContent.TileType<Tiles.DevourerofGodsPhase1MusicBox>());
|
||||
AddMusicBox("Sounds/Music/DevourerofGodsPhase2", ModContent.ItemType<DevourerofGodsPhase2MusicBox>(), ModContent.TileType<Tiles.DevourerofGodsPhase2MusicBox>());
|
||||
AddMusicBox("Sounds/Music/Dragonfolly", ModContent.ItemType<DragonfollyMusicBox>(), ModContent.TileType<Tiles.DragonfollyMusicBox>());
|
||||
AddMusicBox("Sounds/Music/ExoMechs", ModContent.ItemType<ExoMechsMusicBox>(), ModContent.TileType<Tiles.ExoMechsMusicBox>());
|
||||
AddMusicBox("Sounds/Music/HiveMind", ModContent.ItemType<HiveMindMusicBox>(), ModContent.TileType<Tiles.HiveMindMusicBox>());
|
||||
AddMusicBox("Sounds/Music/Leviathan", ModContent.ItemType<LeviathanMusicBox>(), ModContent.TileType<Tiles.LeviathanMusicBox>());
|
||||
AddMusicBox("Sounds/Music/OldDuke", ModContent.ItemType<OldDukeMusicBox>(), ModContent.TileType<Tiles.OldDukeMusicBox>());
|
||||
AddMusicBox("Sounds/Music/Perforators", ModContent.ItemType<PerforatorsMusicBox>(), ModContent.TileType<Tiles.PerforatorsMusicBox>());
|
||||
AddMusicBox("Sounds/Music/PlaguebringerGoliath", ModContent.ItemType<PlaguebringerGoliathMusicBox>(), ModContent.TileType<Tiles.PlaguebringerGoliathMusicBox>());
|
||||
AddMusicBox("Sounds/Music/Polterghast", ModContent.ItemType<PolterghastMusicBox>(), ModContent.TileType<Tiles.PolterghastMusicBox>());
|
||||
AddMusicBox("Sounds/Music/ProfanedGuardians", ModContent.ItemType<ProfanedGuardiansMusicBox>(), ModContent.TileType<Tiles.ProfanedGuardiansMusicBox>());
|
||||
AddMusicBox("Sounds/Music/Providence", ModContent.ItemType<ProvidenceMusicBox>(), ModContent.TileType<Tiles.ProvidenceMusicBox>()); //Seamless
|
||||
AddMusicBox("Sounds/Music/Ravager", ModContent.ItemType<RavagerMusicBox>(), ModContent.TileType<Tiles.RavagerMusicBox>());
|
||||
AddMusicBox("Sounds/Music/Signus", ModContent.ItemType<SignusMusicBox>(), ModContent.TileType<Tiles.SignusMusicBox>());
|
||||
AddMusicBox("Sounds/Music/SlimeGod", ModContent.ItemType<SlimeGodMusicBox>(), ModContent.TileType<Tiles.SlimeGodMusicBox>());
|
||||
AddMusicBox("Sounds/Music/StormWeaver", ModContent.ItemType<StormWeaverMusicBox>(), ModContent.TileType<Tiles.StormWeaverMusicBox>());
|
||||
AddMusicBox("Sounds/Music/YharonLegacy", ModContent.ItemType<YharonLegacyMusicBox>(), ModContent.TileType<Tiles.YharonLegacyMusicBox>());
|
||||
AddMusicBox("Sounds/Music/YharonPhase1", ModContent.ItemType<YharonPhase1MusicBox>(), ModContent.TileType<Tiles.YharonPhase1MusicBox>());
|
||||
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>());
|
||||
|
||||
// Event Music.
|
||||
AddMusicBox("Sounds/Music/AcidRainTier1", ModContent.ItemType<AcidRainTier1MusicBox>(), ModContent.TileType<Tiles.AcidRainTier1MusicBox>()); //Seamless
|
||||
//AddMusicBox("Sounds/Music/AcidRainTier2", ModContent.ItemType<AcidRainTier2MusicBox>(), ModContent.TileType<Tiles.AcidRainTier2MusicBox>());
|
||||
AddMusicBox("Sounds/Music/AcidRainTier3", ModContent.ItemType<AcidRainTier3MusicBox>(), ModContent.TileType<Tiles.AcidRainTier3MusicBox>());
|
||||
AddMusicBox("Sounds/Music/BossRushTier1", ModContent.ItemType<BossRushTier1MusicBox>(), ModContent.TileType<Tiles.BossRushTier1MusicBox>());
|
||||
AddMusicBox("Sounds/Music/BossRushTier2", ModContent.ItemType<BossRushTier2MusicBox>(), ModContent.TileType<Tiles.BossRushTier2MusicBox>());
|
||||
AddMusicBox("Sounds/Music/BossRushTier3", ModContent.ItemType<BossRushTier3MusicBox>(), ModContent.TileType<Tiles.BossRushTier3MusicBox>());
|
||||
//AddMusicBox("Sounds/Music/BossRushTier4", ModContent.ItemType<BossRushTier4MusicBox>(), ModContent.TileType<BossRushTier4MusicBox>());
|
||||
//AddMusicBox("Sounds/Music/BossRushTier5", ModContent.ItemType<BossRushTier5MusicBox>(), ModContent.TileType<BossRushTier5MusicBox>());
|
||||
|
||||
// Other Music.
|
||||
AddMusicBox("Sounds/Music/CalamityTitle", ModContent.ItemType<CalamityTitleMusicBox>(), ModContent.TileType<Tiles.CalamityTitleMusicBox>()); //Seamless
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||