Compare commits

...
Author SHA1 Message Date
Ozzatron f0888d0592 Update LICENSE.md and README.md by transcribing legal PDF to Markdown format and making adjustments for Music Mod 2026-06-23 15:35:04 -04:00
apotofkoolaid 4f6e79b633 Updated mix for Abyss Layer 3 2026-02-06 11:53:54 -06:00
apotofkoolaid d88a8de684 Brainstorm Trailer music box 2026-02-06 10:25:24 -06:00
apotofkoolaid dd7bca0267 Merge branch '1.4.4' into 2.1-staging 2026-01-31 19:30:11 -06:00
apotofkoolaid b265d7aa8b Brainstorm version bump 2026-01-31 19:29:58 -06:00
apotofkoolaid 91a85bcc1f Update PlaguebringerGoliathMusicBox_Highlight.png
inconsistency detected
2026-01-31 19:29:38 -06:00
GinYuH 5a5f12447e Merge branch '1.4.4' into 2.1-staging 2026-01-24 16:13:21 -08:00
GinYuH 8d279d7351 pbg box resprite 2026-01-24 16:13:10 -08:00
apotofkoolaid 82f06b4fd7 Merge branch '1.4.4' into 2.1-staging 2026-01-14 15:08:43 -06:00
apotofkoolaid 27d69a1ec8 Added new official website as in-game homepage for music mod
- Replaced the Calamity discord link with the new website, just like main did
2026-01-14 11:08:50 -06:00
Dreitone aacaeace02 change icon 2025-12-23 22:24:20 -06:00
Dreitone 6c602f525a remove assembly fluff 2025-12-16 19:29:32 -06:00
apotofkoolaid 87c4d79f31 Added "hesitation" to workshop description
This was seemingly forgotten when it was added.
I also split up the Leviathan's music in the list, since they're individually named in-game.
2025-11-01 13:39:22 -05:00
Ozzatron 9876fad1d5 Update .gitignore, add .csproj for music mod 2025-07-15 10:08:13 -04:00
apotofkoolaid 20219ebc1e Abyss Layer 3 Alt port 2025-06-01 17:10:22 -05:00
Ozzatron 7915a086cc Revert "Revert "Updated mod icons for the Sunken Sea Update""
This reverts commit 2da51919af.
2025-06-01 15:26:17 -04:00
apotofkoolaid aa535be6c3 Abyss Layer 3 +1.5 db 2025-06-01 10:47:33 -05:00
Ozzatron 9a7be7267e Add new Patreon link to GitHub 2025-05-30 21:01:58 -04:00
apotofkoolaid c3e4017843 Added a legacy music box for R'lyeh
So long, soldier. Its had a long run these past 7 years.
2025-05-30 16:40:15 -05:00
apotofkoolaid dc6ac243f5 New Abyss Layer 3 theme
No changes to the main mod are needed for this.
The old music file has been renamed to 'AbyssLegacy'. There should be a craftable music box for the old track later down the line. For now, it's inaccessible in-game and delisted from the workshop description.
2025-05-30 14:45:59 -05:00
Ozzatron efae6c817e Version bump to 2.0.5 (Permanently discarding 4th number) 2025-05-30 12:44:56 -04:00
Ozzatron 2da51919af Revert "Updated mod icons for the Sunken Sea Update"
This reverts commit 1efe99f686.
2025-05-30 12:20:27 -04:00
Ozzatron 6bbe00ecf8 Remove GitHub funding hook for old Patreon 2025-05-30 12:19:31 -04:00
Ozzatron 6c0fd626bb Remove old Patreon from README 2025-05-30 12:17:29 -04:00
Ozzatron b0b605d251 Change TML build metadata author to The Calamity Dev Team 2025-05-26 20:32:22 -04:00
Ozzatron 1efe99f686 Updated mod icons for the Sunken Sea Update 2025-05-22 15:06:43 -04:00
apotofkoolaid 4b718b6431 Sulphurous Sea Night +2 db 2025-03-17 17:33:38 -05:00
apotofkoolaid 1eed1d6f9a Sulphurous Sea Night Remaster 2025-03-17 16:45:07 -05:00
apotofkoolaid e0121c48ef No more pink tile spaces 2025-03-11 19:53:39 -05:00
apotofkoolaid 0ab8d66010 Update CalamityTitleMusicBox.cs 2025-03-10 18:27:07 -05:00
CongratsIsTrash 38c64a03ee Reduced Title Music Box sell price 2025-03-06 18:23:20 -05:00
apotofkoolaid 4af2836c92 Sulphurous Sea Rain theme
Plays when raining in the Sulphurous Sea, but when there's no Acid Rain active
2024-11-21 15:50:25 -06:00
apotofkoolaid d4085faa67 Sulphurous Sea box resprites 2024-11-21 14:54:54 -06:00
apotofkoolaid 723c6bd7e7 Plaguebringer Goliath box resprite 2024-10-07 14:39:30 -05:00
apotofkoolaid 118eb615e8 Wyrm box resprite 2024-09-11 12:05:51 -05:00
apotofkoolaid c2f0d05809 Providence Intro Clean Up
- This file now uses ogg looping for a much less crowded intro
(This was done for the new Prov spawning animation, which made this issue significantly more prominent)
2024-07-26 20:41:59 -05:00
apotofkoolaid 99062106ae SCal box highlight resprites 2024-07-10 22:40:02 -05:00
apotofkoolaid 2f599ec483 The long awaited SCal box resprites 2024-07-10 19:26:22 -05:00
apotofkoolaid e262d484c6 Workshop description updates
- Made the description itself a bit easier to understand
- Added a linked to VCMM, after the main mod
- Reordered 2 of the listed tracks
2024-06-27 16:26:33 -05:00
apotofkoolaid ef7983e3ae WikiThis icon for Calamity's wiki 2024-06-25 20:14:42 -05:00
apotofkoolaid c93b9b79cf Signus box highlight resprite 2024-06-24 14:17:04 -05:00
Altixal 4ebddf70c2 signus box resprite 2024-06-24 03:53:16 +07:00
Ozzatron daef3cda14 Fix inconsistencies in .gitignore 2024-06-17 21:39:02 -04:00
Altixal 9119a3c9ad Resprited Title Music Box 2024-06-07 19:31:16 +07:00
Altixal 7f079fbb16 Fixed Music Box wiring NetMessage not passing 2024-06-07 19:26:24 +07:00
Altixal 5593fc01e2 Smart Cursor and Echo Coating support 2024-06-07 15:56:46 +07:00
mountaindrew10 6f034778b1 Version bump 2024-06-01 18:34:19 -05:00
apotofkoolaid 33f8ff5d7a DoG P2 box resprite 2024-06-01 16:48:10 -05:00
apotofkoolaid a6f1ac7d66 Interlude box sprites 2024-06-01 16:46:59 -05:00
apotofkoolaid 09234e386a Final sweep for interlude inconsistencies 2024-05-31 16:37:42 -05:00
Ozzatron 405e4f670d Removed code in Cal Music Mod making Cirrus sell the Music Boxes. 2024-05-31 14:45:11 -04:00
Cameron Ewell 08e1c99d6d Merge: Nycro's Interludes and Music Events
This merge obviates the "Calamity Interludes In-Game" mod, by Nycro.
2024-05-31 14:00:35 -04:00
NycroV abf90772d0 Match capitalization to Spotify tracks 2024-05-31 01:14:26 -04:00
NycroV 6b2f4f22f7 Reflection fix 2024-05-29 21:13:42 -04:00
apotofkoolaid 27dcf27033 Interlude 1 volume increase by +2 db 2024-05-29 18:47:42 -05:00
apotofkoolaid 270e6719b5 Eulogy volume increase by +3 db
Also fixed more naming inconsistencies
2024-05-29 18:46:46 -05:00
apotofkoolaid 505fdff6b1 Update MusicBoxRegistry.cs 2024-05-29 18:40:31 -05:00
NycroV c3791bf980 Import ordering 2024-05-28 19:08:57 -04:00
NycroV a8e4141784 Consistent naming 2024-05-28 19:07:52 -04:00
NycroV cc6ff123d6 Merge branch 'Music-Events' of https://github.com/CalamityTeam/CalamityModMusic into Music-Events 2024-05-28 18:55:46 -04:00
NycroV e218a655b1 SCal Acceptance event 2024-05-28 18:54:55 -04:00
apotofkoolaid d52ac06030 ocd death 2024-05-27 23:38:26 -05:00
apotofkoolaid 772f08e685 Interlude boxes are now sold by Cirrus instead of being crafted 2024-05-27 23:37:07 -05:00
apotofkoolaid 99e9b2c3ee Interlude box recipes 2024-05-27 21:05:32 -05:00
apotofkoolaid c1ccb95a30 Eulogy name shorten + Unused variant of Interlude 2 2024-05-27 20:20:31 -05:00
NycroV cbc8f1b0d6 Remove leftover merge artifacts 2024-05-27 19:05:53 -04:00
NycroV 6a9e421781 Merge pull request #18 from CalamityTeam/interludes
Better interludes
2024-05-27 17:54:35 -04:00
NycroV ebf6e66c95 Resolve merge conflicts 2024-05-27 17:54:02 -04:00
NycroV cbc7a7fc8d Localization (matched to Spotify grammar) 2024-05-27 16:56:05 -04:00
NycroV 31f94970fe Add new music with placeholder sprites 2024-05-27 16:49:47 -04:00
apotofkoolaid ad525184de Interlude prep
Needs Nycro's new interlude code
The 4 files were reexported. They are currently at their default album volume. Some will likely need an increase by about +3 db
Placeholder music box sprites are present for now
Strongly considering giving the interlude boxes actual names instead of just being numbered 1-3
2024-05-27 04:53:31 -05:00
Altixal d5701000a2 Music Boxes recipe tweaks to resemble vanilla
+ Notes on each recipe
2024-05-20 18:34:07 +07:00
Ozzatron 5dac14e459 Version bump to 2.0.4.002 2024-05-13 15:07:46 -04:00
apotofkoolaid 0e8966c534 Boss Rush Tier 4 music display localization 2024-05-13 14:07:16 -05:00
Ozzatron 4683a3c622 Version bump to 2.0.4.001 2024-05-10 12:45:50 -04:00
apotofkoolaid ae89c8b9a8 Bio Lab box resprite 2024-05-10 10:48:39 -05:00
apotofkoolaid 39a57e2a26 Added Boss Rush Tier 4 to workshop description 2024-05-06 12:49:01 -05:00
apotofkoolaid 62beecb5f7 Bio Lab theme remake
Song title remains the same, so it is unchanged
2024-05-06 12:26:34 -05:00
apotofkoolaid 64d9ba96e8 Slime God box resprite
More of a touch up but whatever
2024-04-14 15:08:47 -05:00
apotofkoolaid 31b3a5b98b Desert Scourge box resprite 2024-04-06 19:21:23 -05:00
Memes 0a08751b4c Updated mod icon.
1. Updated the mod's icon.
2. Updated the mod's icon on the workshop.
2024-03-30 03:01:35 +01:00
apotofkoolaid 1a66f48aae Proper Boss Rush Tier 4 looping 2024-03-16 18:10:37 -05:00
Ozzatron b5afb64509 Added Boss Rush Tier 4: 'Trial of the Insane' by CDMusic 2024-03-14 17:22:00 -04:00
Ozzatron 7fc985f54b Version bump to 2.0.3.007 for upcoming release 2023-11-29 16:17:00 -05:00
apotofkoolaid 28cc802b89 Placeholder song tooltips
- Added a tooltip to music boxes containing placeholder songs that state they do so

Yes this is it
2023-11-19 01:39:33 -05:00
Ozzatron fd1d14fe52 Update README with Iban's feedback (resprite PRs -> art server) 2023-10-25 13:28:01 -04:00
Ozzatron f32566c5ce Update license regarding contributions. Add README line about reuploading music. 2023-10-17 18:13:57 -04:00
Ozzatron f391aeffa3 Add redistribution notice to readme. Add license. 2023-10-17 12:17:09 -04:00
Ozzatron ef701af77f Update README to final public version 2023-10-17 11:08:55 -04:00
Cameron Ewell a9b251e99b add shields.io discord widget 2023-10-12 16:47:21 -04:00
Ozzatron fcb601e6b3 Update README again with more links 2023-10-01 18:05:56 -04:00
Ozzatron b4de9b033b Update README.md 2023-10-01 17:40:45 -04:00
Mishiro Usui 424b6c69a5 Version bump to .005 2023-10-01 15:32:50 +01:00
apotofkoolaid 9fb187d588 Old Duke box resprite 2023-09-28 11:04:07 -05:00
Ozzatron c2bb8e9a49 version bump to 2.0.3.001 for release 2023-07-31 16:45:47 -04:00
apotofkoolaid b44cbb6b64 Loop fix 2023-07-30 20:26:01 -04:00
apotofkoolaid 23366c1f16 Update AbyssLayer1.ogg
Fixed popping from right before the song starts
2023-07-30 20:26:01 -04:00
apotofkoolaid 4cfb252ff3 Update AbyssLayer1.ogg
Final version
2023-07-30 20:26:01 -04:00
apotofkoolaid a36f00f462 Sulphuric Depths Theme
- Added the Sulphuric Depths theme and its music box
(The song will see at least 1 more change)
2023-07-30 20:26:01 -04:00
Altixal 76015e59ef here too 2023-07-26 18:53:25 +07:00
Altixal 7dcd0b54c2 boss checklist support x2 2023-07-16 03:35:15 +07:00
apotofkoolaid c45e58e131 Update ExternalModSupport.cs 2023-07-15 02:46:40 -05:00
apotofkoolaid cec92d8867 Music Display localization 2023-07-15 02:28:57 -05:00
apotofkoolaid 237eace547 Music Display consistency fixes
- Fixed some inconsistencies with some of the shown text, mostly to fit in with music box tooltips
2023-07-12 06:47:18 -05:00
NycroV 3f25a994c4 Not sure how I missed this 2023-07-11 17:09:03 -04:00
NycroV a2717d2830 Removed leftover debug dictionary 2023-07-11 17:09:03 -04:00
NycroV 949ff07fa9 Added Music Display mod support 2023-07-11 17:09:03 -04:00
GinYuH 9940814141 wikithis link fix 2023-07-01 22:56:33 -07:00
Altixal 7eea3750cb Merge branch '1.4.4' of https://github.com/CalamityTeam/CalamityModMusic into 1.4.4 2023-05-27 16:54:23 +07:00
Altixal e9e94b8cf0 regex makes sweeping changes 101 + drop fixes 2023-05-27 16:53:50 +07:00
apotofkoolaid 812cee2fc3 reverted
you know what, fuck them glow masks
2023-05-21 16:06:32 -05:00
apotofkoolaid 8ad1ce3156 Music box item size detection
- Added automatic item size detection for all music boxes

I know this looks pretty pointless, but VCMM has glow masks for some of these music boxes, and they misalign when the item sizes are incorrect. It's just easier to do it here  if I can
2023-05-21 04:08:13 -05:00
Altixal 7f20d0adec Music Box item cleanup + Shimmer support
Every box converts, just like vanilla, instead of crafted ones only
2023-05-21 11:17:08 +07:00
apotofkoolaid 05b19a18d1 Music box map entry optimization
- Removed an unnecessary localization key for music box map entries; they all now get the name of the empty music box item instead
2023-04-25 22:16:03 -05:00
apotofkoolaid c8dda58897 Research clean up
- Removed all instances of Item.ResearchUnlockCount = 1;
2023-04-19 12:22:17 -05:00
apotofkoolaid d809c29281 Fixed unobtainable boxes being researchable 2023-04-08 12:23:29 -05:00
apotofkoolaid 3eff69f5b8 Comment clean up + misc fixes
- Removed item DisplayName and Tooltip comments from tModPorter
- Fixed all music box tiles dropping twice when broken
- Combined music box map entry localization into a single key
- Made it so music boxes with recipes will only produce an unrecorded music box when shimmered
2023-04-06 15:04:34 -05:00
Ozzatron 8a164e34be tModPorter 1.4.4 initial state 2023-04-06 11:16:40 -04:00
316 changed files with 1299 additions and 3835 deletions

No files matched your search

+1 -1
View File
@@ -1 +1 @@
patreon: Fabsol
patreon: CalamityMod
+2 -4
View File
@@ -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
+35
View File
@@ -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;
}
}
}
}
-174
View File
@@ -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>() */});
}
}
}
}
+8 -7
View File
@@ -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()
+4
View File
@@ -0,0 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\tModLoader.targets" />
</Project>
+136
View File
@@ -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");
}
}
}
-13
View File
@@ -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;
}
}
+10
View File
@@ -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";
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 690 B

+3 -24
View File
@@ -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";
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 349 B

+3 -24
View File
@@ -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";
}
}
+3 -24
View File
@@ -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";
}
}
+23
View File
@@ -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();
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 535 B

+17 -47
View File
@@ -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();
}
}
}
+3 -24
View File
@@ -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.");
}
}
}
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 874 B

+3 -24
View File
@@ -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";
}
}
+3 -24
View File
@@ -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";
}
}
+3 -24
View File
@@ -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";
}
}
+3 -24
View File
@@ -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";
}
}
+3 -24
View File
@@ -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";
}
}
+3 -24
View File
@@ -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";
}
}
+3 -24
View File
@@ -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";
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 330 B

After

Width:  |  Height:  |  Size: 431 B

+3 -24
View File
@@ -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";
}
}
+3 -24
View File
@@ -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";
}
}
+3 -24
View File
@@ -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";
}
}
+3 -24
View File
@@ -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";
}
}
+4 -24
View File
@@ -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();
}
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 551 B

+3 -24
View File
@@ -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";
}
}
+3 -24
View File
@@ -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";
}
}
+3 -24
View File
@@ -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";
}
}
+11 -32
View File
@@ -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();
}
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 611 B

After

Width:  |  Height:  |  Size: 902 B

+3 -24
View File
@@ -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";
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 635 B

After

Width:  |  Height:  |  Size: 910 B

+3 -24
View File
@@ -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";
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 684 B

After

Width:  |  Height:  |  Size: 906 B

+3 -24
View File
@@ -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";
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 656 B

After

Width:  |  Height:  |  Size: 835 B

+21 -42
View File
@@ -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();
}
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 559 B

After

Width:  |  Height:  |  Size: 511 B

+3 -24
View File
@@ -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";
}
}
+3 -24
View File
@@ -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";
}
}
+3 -24
View File
@@ -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";
}
}
+3 -24
View File
@@ -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";
}
}
Binary file not shown.

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";
}
}
Binary file not shown.

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";
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 727 B

After

Width:  |  Height:  |  Size: 843 B

+3 -24
View File
@@ -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";
}
}
+4 -25
View File
@@ -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";
}
}
+3 -24
View File
@@ -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";
}
}
+10
View File
@@ -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";
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 658 B

+10
View File
@@ -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";
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 554 B

+10
View File
@@ -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";
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 578 B

+3 -24
View File
@@ -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";
}
}
+33
View File
@@ -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);
}
}
}
+3 -24
View File
@@ -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";
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 732 B

After

Width:  |  Height:  |  Size: 822 B

+3 -24
View File
@@ -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";
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 375 B

After

Width:  |  Height:  |  Size: 532 B

+3 -24
View File
@@ -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";
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 785 B

+3 -24
View File
@@ -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";
}
}
+3 -24
View File
@@ -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";
}
}
+3 -24
View File
@@ -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";
}
}
+3 -24
View File
@@ -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";
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 438 B

After

Width:  |  Height:  |  Size: 589 B

+3 -24
View File
@@ -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";
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 344 B

After

Width:  |  Height:  |  Size: 770 B

+3 -24
View File
@@ -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";
}
}
+3 -24
View File
@@ -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";
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 621 B

After

Width:  |  Height:  |  Size: 722 B

+3 -24
View File
@@ -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";
}
}
Binary file not shown.

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";
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 941 B

+3 -24
View File
@@ -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";
}
}
+10 -42
View File
@@ -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();
}
}
}
+3 -24
View File
@@ -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";
}
}
+3 -24
View File
@@ -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";
}
}
+18
View File
@@ -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.
+407
View File
@@ -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
}
}
}
}
}
-139
View File
@@ -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
}
}
}
}
Loaded 100 of 316 files, more files were not shown because too many files have changed in this diff. Show more