Treasure Bags renamed
No files matched your search
@@ -19,7 +19,8 @@ using Microsoft.Xna.Framework;
|
||||
|
||||
namespace CalamityMod.Items.TreasureBags
|
||||
{
|
||||
public class AstrageldonBag : ModItem
|
||||
[LegacyName("AstrageldonBag")]
|
||||
public class AstrumAureusBag : ModItem
|
||||
{
|
||||
public override int BossBagNPC => ModContent.NPCType<AstrumAureus>();
|
||||
|
||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
@@ -14,7 +14,8 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.TreasureBags
|
||||
{
|
||||
public class DraedonTreasureBag : ModItem
|
||||
[LegacyName("DraedonTreasureBag")]
|
||||
public class DraedonBag : ModItem
|
||||
{
|
||||
public override int BossBagNPC => ModContent.NPCType<AresBody>();
|
||||
|
||||
|
Before Width: | Height: | Size: 943 B After Width: | Height: | Size: 943 B |
@@ -16,7 +16,8 @@ using Microsoft.Xna.Framework;
|
||||
|
||||
namespace CalamityMod.Items.TreasureBags
|
||||
{
|
||||
public class BumblebirbBag : ModItem
|
||||
[LegacyName("BumblebirbBag")]
|
||||
public class DragonfollyBag : ModItem
|
||||
{
|
||||
public override int BossBagNPC => ModContent.NPCType<Bumblefuck>();
|
||||
|
||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
@@ -5,7 +5,8 @@ using Terraria.ID;
|
||||
|
||||
namespace CalamityMod.Items.TreasureBags
|
||||
{
|
||||
public class FleshyGeodeT1 : ModItem
|
||||
[LegacyName("FleshyGeodeT1")]
|
||||
public class FleshyGeode : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
Before Width: | Height: | Size: 531 B After Width: | Height: | Size: 531 B |
@@ -4,7 +4,8 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.TreasureBags
|
||||
{
|
||||
public class FleshyGeodeT2 : ModItem
|
||||
[LegacyName("FleshyGeodeT2")]
|
||||
public class NecromanticGeode : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
Before Width: | Height: | Size: 812 B After Width: | Height: | Size: 812 B |
@@ -52,8 +52,8 @@ namespace CalamityMod.Items.TreasureBags
|
||||
player.TryGettingDevArmor(s);
|
||||
|
||||
// Materials
|
||||
DropHelper.DropItemCondition(s, player, ModContent.ItemType<FleshyGeodeT1>(), !DownedBossSystem.downedProvidence);
|
||||
DropHelper.DropItemCondition(s, player, ModContent.ItemType<FleshyGeodeT2>(), DownedBossSystem.downedProvidence);
|
||||
DropHelper.DropItemCondition(s, player, ModContent.ItemType<FleshyGeode>(), !DownedBossSystem.downedProvidence);
|
||||
DropHelper.DropItemCondition(s, player, ModContent.ItemType<NecromanticGeode>(), DownedBossSystem.downedProvidence);
|
||||
|
||||
// Weapons
|
||||
float w = DropHelper.BagWeaponDropRateFloat;
|
||||
|
||||
@@ -17,7 +17,8 @@ using SCalBoss = CalamityMod.NPCs.SupremeCalamitas.SupremeCalamitas;
|
||||
|
||||
namespace CalamityMod.Items.TreasureBags
|
||||
{
|
||||
public class SCalBag : ModItem
|
||||
[LegacyName("SCalBag")]
|
||||
public class SupremeCalamitasCoffer : ModItem
|
||||
{
|
||||
public override int BossBagNPC => ModContent.NPCType<SCalBoss>();
|
||||
|
||||
|
Before Width: | Height: | Size: 605 B After Width: | Height: | Size: 605 B |
@@ -415,7 +415,7 @@ namespace CalamityMod
|
||||
BossDifficulty.TryGetValue("AstrumAureus", out float order);
|
||||
int type = NPCType<AstrumAureus>();
|
||||
int summon = ItemType<AstralChunk>();
|
||||
List<int> loot = new List<int>() { ItemType<AstrageldonBag>(), ItemType<Stardust>(), ItemID.FallenStar, ItemType<Nebulash>(), ItemType<AuroraBlazer>(), ItemType<AlulaAustralis>(), ItemType<BorealisBomber>(), ItemType<AuroradicalThrow>(), ItemType<LeonidProgenitor>(), ItemType<GravistarSabaton>(), ItemType<AureusCell>(), ItemType<StarlightFuelCell>(), ItemID.GreaterHealingPotion };
|
||||
List<int> loot = new List<int>() { ItemType<AstrumAureusBag>(), ItemType<Stardust>(), ItemID.FallenStar, ItemType<Nebulash>(), ItemType<AuroraBlazer>(), ItemType<AlulaAustralis>(), ItemType<BorealisBomber>(), ItemType<AuroradicalThrow>(), ItemType<LeonidProgenitor>(), ItemType<GravistarSabaton>(), ItemType<AureusCell>(), ItemType<StarlightFuelCell>(), ItemID.GreaterHealingPotion };
|
||||
List<int> collection = new List<int>() { ItemType<AstrumAureusTrophy>(), ItemType<AstrumAureusMask>(), ItemType<KnowledgeAstrumAureus>() };
|
||||
string instructions = $"Use an [i:{summon}] at Night in the Astral Biome";
|
||||
string despawn = CalamityUtils.ColorMessage("Astrum Aureus’ program has been executed. Initiate recall.", new Color(0xFF, 0xD7, 0x00));
|
||||
@@ -441,7 +441,7 @@ namespace CalamityMod
|
||||
BossDifficulty.TryGetValue("Ravager", out float order);
|
||||
List<int> segments = new List<int>() { NPCType<RavagerBody>(), NPCType<RavagerClawLeft>(), NPCType<RavagerClawRight>(), NPCType<RavagerHead>(), NPCType<RavagerLegLeft>(), NPCType<RavagerLegRight>() };
|
||||
int summon = ItemType<DeathWhistle>();
|
||||
List<int> loot = new List<int>() { ItemType<RavagerBag>(), ItemType<FleshyGeodeT1>(), ItemType<FleshyGeodeT2>(), ItemType<UltimusCleaver>(), ItemType<RealmRavager>(), ItemType<Hematemesis>(), ItemType<SpikecragStaff>(), ItemType<CraniumSmasher>(), ItemType<CorpusAvertor>(), ItemType<BloodPact>(), ItemType<FleshTotem>(), ItemType<BloodflareCore>(), ItemType<Vesuvius>(), ItemType<InfernalBlood>(), ItemID.GreaterHealingPotion };
|
||||
List<int> loot = new List<int>() { ItemType<RavagerBag>(), ItemType<FleshyGeode>(), ItemType<NecromanticGeode>(), ItemType<UltimusCleaver>(), ItemType<RealmRavager>(), ItemType<Hematemesis>(), ItemType<SpikecragStaff>(), ItemType<CraniumSmasher>(), ItemType<CorpusAvertor>(), ItemType<BloodPact>(), ItemType<FleshTotem>(), ItemType<BloodflareCore>(), ItemType<Vesuvius>(), ItemType<InfernalBlood>(), ItemID.GreaterHealingPotion };
|
||||
List<int> collection = new List<int>() { ItemType<RavagerTrophy>(), ItemType<RavagerMask>(), ItemType<KnowledgeRavager>() };
|
||||
string instructions = $"Use a [i:{summon}]";
|
||||
string despawn = CalamityUtils.ColorMessage("The automaton of misshapen victims went looking for the true perpetrator.", new Color(0xB2, 0x22, 0x22));
|
||||
@@ -483,7 +483,7 @@ namespace CalamityMod
|
||||
BossDifficulty.TryGetValue("Dragonfolly", out float order);
|
||||
int type = NPCType<Bumblefuck>();
|
||||
int summon = ItemType<ExoticPheromones>();
|
||||
List<int> loot = new List<int>() { ItemType<BumblebirbBag>(), ItemType<EffulgentFeather>(), ItemType<GildedProboscis>(), ItemType<GoldenEagle>(), ItemType<RougeSlash>(), ItemType<Swordsplosion>(), ItemType<FollyFeed>(), ItemType<DynamoStemCells>(), ItemType<RedLightningContainer>(), ItemType<SupremeHealingPotion>() };
|
||||
List<int> loot = new List<int>() { ItemType<DragonfollyBag>(), ItemType<EffulgentFeather>(), ItemType<GildedProboscis>(), ItemType<GoldenEagle>(), ItemType<RougeSlash>(), ItemType<Swordsplosion>(), ItemType<FollyFeed>(), ItemType<DynamoStemCells>(), ItemType<RedLightningContainer>(), ItemType<SupremeHealingPotion>() };
|
||||
List<int> collection = new List<int>() { ItemType<DragonfollyTrophy>(), ItemType<BumblefuckMask>(), ItemType<KnowledgeDragonfolly>() };
|
||||
string instructions = $"Use [i:{summon}] in the Jungle Biome";
|
||||
string despawn = CalamityUtils.ColorMessage("The failed experiment returns to its reproductive routine.", new Color(0xFF, 0xD7, 0x00));
|
||||
@@ -598,7 +598,7 @@ namespace CalamityMod
|
||||
{
|
||||
BossDifficulty.TryGetValue("ExoMechs", out float order);
|
||||
List<int> bosses = new List<int>() { NPCType<Apollo>(), NPCType<AresBody>(), NPCType<Artemis>(), NPCType<ThanatosHead>() };
|
||||
List<int> loot = new List<int>() { ItemType<DraedonTreasureBag>(), ItemType<ExoPrism>(), ItemType<SpineOfThanatos>(), ItemType<PhotonRipper>(), ItemType<SurgeDriver>(), ItemType<TheJailor>(), ItemType<RefractionRotor>(), ItemType<TheAtomSplitter>(), ItemType<DraedonsHeart>(), ItemType<ExoThrone>(), ItemType<OmegaHealingPotion>() };
|
||||
List<int> loot = new List<int>() { ItemType<DraedonBag>(), ItemType<ExoPrism>(), ItemType<SpineOfThanatos>(), ItemType<PhotonRipper>(), ItemType<SurgeDriver>(), ItemType<TheJailor>(), ItemType<RefractionRotor>(), ItemType<TheAtomSplitter>(), ItemType<DraedonsHeart>(), ItemType<ExoThrone>(), ItemType<OmegaHealingPotion>() };
|
||||
List<int> collection = new List<int>() { ItemType<AresTrophy>(), ItemType<ThanatosTrophy>(), ItemType<ArtemisTrophy>(), ItemType<ApolloTrophy>(), ItemType<DraedonMask>(), ItemType<AresMask>(), ItemType<ThanatosMask>(), ItemType<ArtemisMask>(), ItemType<ApolloMask>(), ItemType<KnowledgeExoMechs>() };
|
||||
string instructions = "By using a high-tech computer";
|
||||
string despawn = CalamityUtils.ColorMessage("An imperfection after all... what a shame.", new Color(0x7F, 0xFF, 0xD4));
|
||||
@@ -614,7 +614,7 @@ namespace CalamityMod
|
||||
int summon2 = ItemType<CeremonialUrn>();
|
||||
int altar = ItemType<AltarOfTheAccursedItem>();
|
||||
List<int> summons = new List<int>() { summon1, summon2 };
|
||||
List<int> loot = new List<int>() { ItemType<SCalBag>(), ItemType<AshesofAnnihilation>(), ItemType<Vehemenc>(), ItemType<Heresy>(), ItemType<Perdition>(), ItemType<Vigilance>(), ItemType<Sacrifice>(), ItemType<Violence>(), ItemType<Condemnation>(), ItemType<GaelsGreatsword>(), ItemType<OmegaHealingPotion>() };
|
||||
List<int> loot = new List<int>() { ItemType<SupremeCalamitasCoffer>(), ItemType<AshesofAnnihilation>(), ItemType<Vehemenc>(), ItemType<Heresy>(), ItemType<Perdition>(), ItemType<Vigilance>(), ItemType<Sacrifice>(), ItemType<Violence>(), ItemType<Condemnation>(), ItemType<GaelsGreatsword>(), ItemType<OmegaHealingPotion>() };
|
||||
List<int> collection = new List<int>() { ItemType<SupremeCalamitasTrophy>(), ItemType<SupremeCataclysmTrophy>(), ItemType<SupremeCatastropheTrophy>(), ItemType<AshenHorns>(), ItemType<SCalMask>(), ItemType<SCalRobes>(), ItemType<SCalBoots>(), ItemType<KnowledgeCalamitas>(), ItemType<BrimstoneJewel>(), ItemType<Levi>() };
|
||||
string instructions = $"Use [i:{summon1}] or a [i:{summon2}] as offering at an [i:{altar}]";
|
||||
string despawn = CalamityUtils.ColorMessage("Please don't waste my time.", new Color(0xFF, 0xA5, 0x00));
|
||||
|
||||
@@ -325,7 +325,7 @@ namespace CalamityMod.NPCs.AstrumAureus
|
||||
public override void ModifyNPCLoot(NPCLoot npcLoot)
|
||||
{
|
||||
// Boss bag
|
||||
npcLoot.Add(ItemDropRule.BossBag(ModContent.ItemType<AstrageldonBag>()));
|
||||
npcLoot.Add(ItemDropRule.BossBag(ModContent.ItemType<AstrumAureusBag>()));
|
||||
|
||||
// Normal drops: Everything that would otherwise be in the bag
|
||||
var normalOnly = npcLoot.DefineNormalOnlyDropSet();
|
||||
|
||||
@@ -408,7 +408,7 @@ namespace CalamityMod.NPCs.Bumblebirb
|
||||
|
||||
public override void ModifyNPCLoot(NPCLoot npcLoot)
|
||||
{
|
||||
npcLoot.Add(ItemDropRule.BossBag(ModContent.ItemType<BumblebirbBag>()));
|
||||
npcLoot.Add(ItemDropRule.BossBag(ModContent.ItemType<DragonfollyBag>()));
|
||||
|
||||
// Normal drops: Everything that would otherwise be in the bag
|
||||
var normalOnly = npcLoot.DefineNormalOnlyDropSet();
|
||||
|
||||
@@ -1337,7 +1337,7 @@ namespace CalamityMod.NPCs.ExoMechs.Ares
|
||||
mainDrops.Add(ItemDropRule.ByCondition(DropHelper.If(() => !DownedBossSystem.downedExoMechs), ModContent.ItemType<KnowledgeExoMechs>()));
|
||||
|
||||
// Treasure bag
|
||||
npcLoot.Add(ItemDropRule.BossBagByCondition(DropHelper.If(CanDropLoot), ModContent.ItemType<DraedonTreasureBag>()));
|
||||
npcLoot.Add(ItemDropRule.BossBagByCondition(DropHelper.If(CanDropLoot), ModContent.ItemType<DraedonBag>()));
|
||||
|
||||
// All other drops are contained in the bag, so they only drop directly on Normal
|
||||
if (!Main.expertMode)
|
||||
|
||||
@@ -837,8 +837,8 @@ namespace CalamityMod.NPCs.Ravager
|
||||
normalOnly.Add(ModContent.ItemType<CorpusAvertor>(), 20);
|
||||
|
||||
// Materials
|
||||
normalOnly.Add(ItemDropRule.ByCondition(DropHelper.If(() => !DownedBossSystem.downedProvidence), ModContent.ItemType<FleshyGeodeT1>()));
|
||||
normalOnly.Add(ItemDropRule.ByCondition(DropHelper.If(() => DownedBossSystem.downedProvidence), ModContent.ItemType<FleshyGeodeT2>()));
|
||||
normalOnly.Add(ItemDropRule.ByCondition(DropHelper.If(() => !DownedBossSystem.downedProvidence), ModContent.ItemType<FleshyGeode>()));
|
||||
normalOnly.Add(ItemDropRule.ByCondition(DropHelper.If(() => DownedBossSystem.downedProvidence), ModContent.ItemType<NecromanticGeode>()));
|
||||
|
||||
// Equipment
|
||||
normalOnly.Add(ModContent.ItemType<BloodPact>(), 3);
|
||||
|
||||
@@ -2499,7 +2499,7 @@ namespace CalamityMod.NPCs.SupremeCalamitas
|
||||
|
||||
public override void ModifyNPCLoot(NPCLoot npcLoot)
|
||||
{
|
||||
npcLoot.Add(ItemDropRule.BossBag(ModContent.ItemType<SCalBag>()));
|
||||
npcLoot.Add(ItemDropRule.BossBag(ModContent.ItemType<SupremeCalamitasCoffer>()));
|
||||
|
||||
// Normal drops: Everything that would otherwise be in the bag
|
||||
var normalOnly = npcLoot.DefineNormalOnlyDropSet();
|
||||
|
||||