Merge branch '1.4' of https://github.com/CalamityTeam/CalamityMod into 1.4
This commit is contained in:
commit
e7ff09f8fe
59 files changed
+487
-49
No files matched your search
@@ -0,0 +1,221 @@
|
||||
using CalamityMod.Tiles.Furniture.DevPaintings;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using static Microsoft.Xna.Framework.Input.Keys;
|
||||
|
||||
namespace CalamityMod.Items.Placeables.Furniture.DevPaintings
|
||||
{
|
||||
public class ThankYouPainting : ModItem
|
||||
{
|
||||
public const int DropInt = 100;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Thank You");
|
||||
Tooltip.SetDefault("Thanks to the entire team, everyone who supported, and those who all play the mod and keep it alive!\n" +
|
||||
"The confines of this painting is not enough to fit the entire team\n" +
|
||||
"Hold SHIFT to see a list of past and current devs and CTRL to see past and current testers");
|
||||
SacrificeTotal = 1;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 96;
|
||||
Item.height = 64;
|
||||
Item.maxStack = 9999;
|
||||
Item.useTurn = true;
|
||||
Item.autoReuse = true;
|
||||
Item.useAnimation = 15;
|
||||
Item.useTime = 10;
|
||||
Item.useStyle = ItemUseStyleID.Swing;
|
||||
Item.consumable = true;
|
||||
Item.value = Item.buyPrice(0, 2, 0, 0);;
|
||||
Item.rare = ItemRarityID.White;
|
||||
Item.createTile = ModContent.TileType<ThankYouPaintingTile>();
|
||||
Item.Calamity().donorItem = true;
|
||||
}
|
||||
|
||||
public override void ModifyTooltips(List<TooltipLine> tooltips)
|
||||
{
|
||||
if (!Main.keyState.IsKeyDown(LeftShift) && !Main.keyState.IsKeyDown(LeftControl))
|
||||
return;
|
||||
|
||||
bool tester = false;
|
||||
if (Main.keyState.IsKeyDown(LeftControl))
|
||||
tester = true;
|
||||
|
||||
string tooltip = "";
|
||||
|
||||
if (!tester)
|
||||
{
|
||||
int namesPerLine = 5;
|
||||
for (int i = 0; i < devList.Count; i++)
|
||||
{
|
||||
tooltip += devList[i];
|
||||
|
||||
if (i == devList.Count - 1)
|
||||
break;
|
||||
|
||||
if (i % namesPerLine == 0)
|
||||
tooltip += "\n";
|
||||
else
|
||||
tooltip += ", ";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
int namesPerLine = 5;
|
||||
for (int i = 0; i < testerList.Count; i++)
|
||||
{
|
||||
tooltip += testerList[i];
|
||||
|
||||
if (i == testerList.Count - 1)
|
||||
break;
|
||||
|
||||
if (i % namesPerLine == namesPerLine - 1)
|
||||
tooltip += "\n";
|
||||
else
|
||||
tooltip += ", ";
|
||||
}
|
||||
}
|
||||
|
||||
TooltipLine line = tooltips.FirstOrDefault(x => x.Mod == "Terraria" && x.Name == "Tooltip2");
|
||||
if (line != null)
|
||||
line.Text = tooltip;
|
||||
}
|
||||
|
||||
public IList<string> devList = new List<string>()
|
||||
{
|
||||
"Fabsol, the mod's founder and owner", // Fabsol gets a line to himself
|
||||
"Ben-TK",
|
||||
"Bravioli",
|
||||
"CDMusic",
|
||||
"Cobalion",
|
||||
"Cooper",
|
||||
"Daim",
|
||||
"Dominic Karma",
|
||||
"Enreden",
|
||||
"GramOfSalt",
|
||||
"IbanPlay",
|
||||
"Inanis",
|
||||
"Lilac",
|
||||
"LordMetarex",
|
||||
"MarieArk",
|
||||
"Merkalto",
|
||||
"Minecat",
|
||||
"Mrrp",
|
||||
"Nycro",
|
||||
"Ozzatron",
|
||||
"Piky",
|
||||
"Phupperbat",
|
||||
"Popo",
|
||||
"RoverdriveX",
|
||||
"Runefield",
|
||||
"Skeletony",
|
||||
"Sok",
|
||||
"spooktacular",
|
||||
"Tinymanx",
|
||||
"Tomat",
|
||||
"Uncle Danny",
|
||||
"YuH",
|
||||
|
||||
"Altalyra",
|
||||
"ApidemDragon",
|
||||
"Amadis",
|
||||
"Aleksh",
|
||||
"AstroKnight",
|
||||
"Blockaroz",
|
||||
"Boffin",
|
||||
"DarkTiny",
|
||||
"DM Dokuro",
|
||||
"Earth",
|
||||
"EchoDuck",
|
||||
"ENNWAY",
|
||||
"Frous",
|
||||
"Gahtao",
|
||||
"Gamagamer64",
|
||||
"Graydee",
|
||||
"Grox the Great",
|
||||
"Huggles",
|
||||
"JaceDaDorito",
|
||||
"Jenosis",
|
||||
"jontchua",
|
||||
"Khaelis",
|
||||
"KnightyKnight",
|
||||
"L0st",
|
||||
"Leviathan",
|
||||
"MishiroUsui",
|
||||
"Nao",
|
||||
"Nincity",
|
||||
"Niorin",
|
||||
"Nitro",
|
||||
"NyctoDarkMatter",
|
||||
"PaleoStar",
|
||||
"Pbtopacio",
|
||||
"Phantasmal Deathray",
|
||||
"Pinkie Poss",
|
||||
"pixlgray",
|
||||
"Poly",
|
||||
"President Waluigi",
|
||||
"Puff",
|
||||
"Purple Necromancer",
|
||||
"sentri",
|
||||
"Shucks",
|
||||
"Silver-Lord of Ash",
|
||||
"SixteenInMono",
|
||||
"Spoopyro",
|
||||
"Svante",
|
||||
"Terry N. Muse",
|
||||
"Trivaxy",
|
||||
"Vaikyia",
|
||||
"Vladimier",
|
||||
"Yuyutsu",
|
||||
"Zach",
|
||||
"Ziggums",
|
||||
};
|
||||
|
||||
public IList<string> testerList = new List<string>()
|
||||
{
|
||||
"Afzofa",
|
||||
"Altix",
|
||||
"AquaSG",
|
||||
"Atalya",
|
||||
"Blast",
|
||||
"CrabBar",
|
||||
"Demik",
|
||||
"Ein",
|
||||
"Epsilon",
|
||||
"Fargowilta",
|
||||
"Ian-1KV",
|
||||
"Leon",
|
||||
"Lompl Allimath",
|
||||
"Memes",
|
||||
"Shayy",
|
||||
"StipulateVenus",
|
||||
"Storm2103",
|
||||
"That Blasterd Basterd",
|
||||
"TikiWiki",
|
||||
"Uberransy",
|
||||
"Spider Prov",
|
||||
"Xyk",
|
||||
|
||||
"Akeeli",
|
||||
"Alphi",
|
||||
"Cei",
|
||||
"Chetto",
|
||||
"Chill Dude",
|
||||
"Doog",
|
||||
"drh",
|
||||
"Hectique",
|
||||
"Neverglide",
|
||||
"Sargassum",
|
||||
"ThousandFields",
|
||||
"Teragat",
|
||||
"Yatagarasu",
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 3.0 KiB |
@@ -1,5 +1,6 @@
|
||||
using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.TreasureBags.MiscGrabBags;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
@@ -80,6 +81,7 @@ namespace CalamityMod.Items.TreasureBags
|
||||
|
||||
// Vanity
|
||||
itemLoot.Add(ModContent.ItemType<AquaticScourgeMask>(), 7);
|
||||
itemLoot.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Fishing
|
||||
itemLoot.Add(ModContent.ItemType<BleachedAnglingKit>());
|
||||
|
||||
@@ -3,6 +3,7 @@ using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Mounts;
|
||||
using CalamityMod.Items.PermanentBoosters;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Potions;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
@@ -85,6 +86,7 @@ namespace CalamityMod.Items.TreasureBags
|
||||
|
||||
// Vanity
|
||||
itemLoot.Add(ModContent.ItemType<AstrumAureusMask>(), 7);
|
||||
itemLoot.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Other
|
||||
itemLoot.AddIf((info) => CalamityWorld.revenge && !info.player.Calamity().adrenalineBoostTwo, ModContent.ItemType<StarlightFuelCell>());
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Pets;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
@@ -83,6 +84,7 @@ namespace CalamityMod.Items.TreasureBags
|
||||
|
||||
// Vanity
|
||||
itemLoot.Add(ModContent.ItemType<AstrumDeusMask>(), 7);
|
||||
itemLoot.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3,6 +3,7 @@ using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Mounts;
|
||||
using CalamityMod.Items.Pets;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
@@ -83,6 +84,7 @@ namespace CalamityMod.Items.TreasureBags
|
||||
|
||||
// Vanity
|
||||
itemLoot.Add(ModContent.ItemType<BrimstoneWaifuMask>(), 7);
|
||||
itemLoot.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
itemLoot.AddIf(() => CalamityWorld.revenge, ModContent.ItemType<CharredRelic>());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
@@ -80,6 +81,7 @@ namespace CalamityMod.Items.TreasureBags
|
||||
var calamityRobes = ItemDropRule.Common(ModContent.ItemType<RobesOfCalamity>(), 10);
|
||||
calamityRobes.OnSuccess(ItemDropRule.Common(ModContent.ItemType<HoodOfCalamity>()));
|
||||
itemLoot.Add(calamityRobes);
|
||||
itemLoot.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
using CalamityMod.Items.Weapons.Summon;
|
||||
using CalamityMod.NPCs.CeaselessVoid;
|
||||
@@ -74,6 +75,7 @@ namespace CalamityMod.Items.TreasureBags
|
||||
ancientGodSlayer.OnSuccess(ItemDropRule.Common(ModContent.ItemType<AncientGodSlayerChestplate>()));
|
||||
ancientGodSlayer.OnSuccess(ItemDropRule.Common(ModContent.ItemType<AncientGodSlayerLeggings>()));
|
||||
itemLoot.Add(ancientGodSlayer);
|
||||
itemLoot.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.PermanentBoosters;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
@@ -78,6 +79,7 @@ namespace CalamityMod.Items.TreasureBags
|
||||
|
||||
// Vanity
|
||||
itemLoot.Add(ModContent.ItemType<CrabulonMask>(), 7);
|
||||
itemLoot.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Other
|
||||
itemLoot.AddIf((info) => CalamityWorld.revenge && !info.player.Calamity().rageBoostOne, ModContent.ItemType<MushroomPlasmaRoot>());
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
using CalamityMod.Items.Accessories.Wings;
|
||||
using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
@@ -79,6 +80,7 @@ namespace CalamityMod.Items.TreasureBags
|
||||
|
||||
// Vanity
|
||||
itemLoot.Add(ModContent.ItemType<CryogenMask>(), 7);
|
||||
itemLoot.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.TreasureBags.MiscGrabBags;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
@@ -83,6 +84,7 @@ namespace CalamityMod.Items.TreasureBags
|
||||
|
||||
// Vanity
|
||||
itemLoot.Add(ModContent.ItemType<DesertScourgeMask>(), 7);
|
||||
itemLoot.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Fishing
|
||||
itemLoot.Add(ModContent.ItemType<SandyAnglingKit>());
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Pets;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Placeables.FurnitureCosmilite;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
@@ -93,6 +94,7 @@ namespace CalamityMod.Items.TreasureBags
|
||||
// Vanity
|
||||
itemLoot.Add(ModContent.ItemType<DevourerofGodsMask>(), 7);
|
||||
itemLoot.AddIf((info) => CalamityWorld.death && info.player.difficulty == 2, ModContent.ItemType<CosmicPlushie>());
|
||||
itemLoot.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2,6 +2,7 @@
|
||||
using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Mounts;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
using CalamityMod.Items.Weapons.Rogue;
|
||||
@@ -93,6 +94,7 @@ namespace CalamityMod.Items.TreasureBags
|
||||
|
||||
// Vanity (Draedon Mask)
|
||||
itemLoot.Add(ModContent.ItemType<DraedonMask>(), maskFraction);
|
||||
itemLoot.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3,6 +3,7 @@ using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Mounts;
|
||||
using CalamityMod.Items.PermanentBoosters;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
@@ -78,6 +79,7 @@ namespace CalamityMod.Items.TreasureBags
|
||||
|
||||
// Vanity
|
||||
itemLoot.Add(ModContent.ItemType<BumblefuckMask>(), 7);
|
||||
itemLoot.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Other
|
||||
itemLoot.AddIf((info) => CalamityWorld.revenge && !info.player.Calamity().rageBoostThree, ModContent.ItemType<RedLightningContainer>());
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Pets;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
@@ -84,6 +85,7 @@ namespace CalamityMod.Items.TreasureBags
|
||||
// Vanity
|
||||
itemLoot.Add(ModContent.ItemType<HiveMindMask>(), 7);
|
||||
itemLoot.Add(ModContent.ItemType<RottingEyeball>(), 10);
|
||||
itemLoot.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
@@ -81,6 +82,7 @@ namespace CalamityMod.Items.TreasureBags
|
||||
// Vanity
|
||||
itemLoot.Add(ModContent.ItemType<AnahitaMask>(), 7);
|
||||
itemLoot.Add(ModContent.ItemType<LeviathanMask>(), 7);
|
||||
itemLoot.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Fishing
|
||||
itemLoot.Add(ItemID.HotlineFishingHook, 10);
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
@@ -79,6 +80,7 @@ namespace CalamityMod.Items.TreasureBags
|
||||
|
||||
// Vanity
|
||||
itemLoot.Add(ModContent.ItemType<OldDukeMask>(), 7);
|
||||
itemLoot.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2,6 +2,7 @@
|
||||
using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Pets;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
@@ -85,7 +86,8 @@ namespace CalamityMod.Items.TreasureBags
|
||||
|
||||
// Vanity
|
||||
itemLoot.Add(ModContent.ItemType<PerforatorMask>(), 7);
|
||||
itemLoot.Add(ModContent.ItemType<BloodyVein>(), 10);;
|
||||
itemLoot.Add(ModContent.ItemType<BloodyVein>(), 10);
|
||||
itemLoot.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2,6 +2,7 @@
|
||||
using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Pets;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
@@ -87,6 +88,7 @@ namespace CalamityMod.Items.TreasureBags
|
||||
// Vanity
|
||||
itemLoot.Add(ModContent.ItemType<PlaguebringerGoliathMask>(), 7);
|
||||
itemLoot.Add(ModContent.ItemType<PlagueCaller>(), 10);
|
||||
itemLoot.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2,6 +2,7 @@
|
||||
using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.PermanentBoosters;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
@@ -87,6 +88,7 @@ namespace CalamityMod.Items.TreasureBags
|
||||
|
||||
// Vanity
|
||||
itemLoot.Add(ModContent.ItemType<PolterghastMask>(), 7);
|
||||
itemLoot.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
@@ -80,6 +81,7 @@ namespace CalamityMod.Items.TreasureBags
|
||||
|
||||
// Vanity
|
||||
itemLoot.Add(ModContent.ItemType<ProvidenceMask>(), 7);
|
||||
itemLoot.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.PermanentBoosters;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.TreasureBags.MiscGrabBags;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
@@ -86,6 +87,7 @@ namespace CalamityMod.Items.TreasureBags
|
||||
|
||||
// Vanity
|
||||
itemLoot.Add(ModContent.ItemType<RavagerMask>(), 7);
|
||||
itemLoot.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Weapons.Rogue;
|
||||
using CalamityMod.Items.Weapons.Summon;
|
||||
using CalamityMod.NPCs.Signus;
|
||||
@@ -74,6 +75,7 @@ namespace CalamityMod.Items.TreasureBags
|
||||
ancientGodSlayer.OnSuccess(ItemDropRule.Common(ModContent.ItemType<AncientGodSlayerChestplate>()));
|
||||
ancientGodSlayer.OnSuccess(ItemDropRule.Common(ModContent.ItemType<AncientGodSlayerLeggings>()));
|
||||
itemLoot.Add(ancientGodSlayer);
|
||||
itemLoot.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2,6 +2,7 @@
|
||||
using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.PermanentBoosters;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
using CalamityMod.Items.Weapons.Summon;
|
||||
@@ -79,6 +80,7 @@ namespace CalamityMod.Items.TreasureBags
|
||||
|
||||
// Vanity
|
||||
itemLoot.Add(ItemDropRule.OneFromOptions(7, ModContent.ItemType<SlimeGodMask>(), ModContent.ItemType<SlimeGodMask2>()));
|
||||
itemLoot.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Other
|
||||
itemLoot.AddIf((info) => CalamityWorld.revenge && !info.player.Calamity().adrenalineBoostOne, ModContent.ItemType<ElectrolyteGelPack>());
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Pets;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
using CalamityMod.NPCs.StormWeaver;
|
||||
@@ -76,6 +77,7 @@ namespace CalamityMod.Items.TreasureBags
|
||||
ancientGodSlayer.OnSuccess(ItemDropRule.Common(ModContent.ItemType<AncientGodSlayerLeggings>()));
|
||||
itemLoot.Add(ancientGodSlayer);
|
||||
itemLoot.Add(ModContent.ItemType<LittleLight>(), 8);
|
||||
itemLoot.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2,6 +2,7 @@
|
||||
using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Pets;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
@@ -85,6 +86,7 @@ namespace CalamityMod.Items.TreasureBags
|
||||
scalVanitySet.OnSuccess(ItemDropRule.Common(ModContent.ItemType<SCalBoots>()));
|
||||
itemLoot.Add(scalVanitySet);
|
||||
itemLoot.Add(ModContent.ItemType<BrimstoneJewel>());
|
||||
itemLoot.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3,6 +3,7 @@ using CalamityMod.Items.Accessories.Wings;
|
||||
using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Pets;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
@@ -87,6 +88,7 @@ namespace CalamityMod.Items.TreasureBags
|
||||
itemLoot.Add(ModContent.ItemType<ForgottenDragonEgg>(), 10);
|
||||
itemLoot.Add(ModContent.ItemType<McNuggets>(), 10);
|
||||
itemLoot.AddIf(() => CalamityWorld.revenge, ModContent.ItemType<FoxDrive>());
|
||||
itemLoot.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -13,6 +13,7 @@ using CalamityMod.Items.Pets;
|
||||
using CalamityMod.Items.Placeables;
|
||||
using CalamityMod.Items.Placeables.Furniture;
|
||||
using CalamityMod.Items.Placeables.Furniture.CraftingStations;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Items.Placeables.FurnitureCosmilite;
|
||||
using CalamityMod.Items.Potions;
|
||||
@@ -374,7 +375,7 @@ namespace CalamityMod
|
||||
BossDifficulty.TryGetValue("DesertScourge", out float order);
|
||||
List<int> segments = new List<int>() { NPCType<DesertScourgeHead>(), NPCType<DesertScourgeBody>(), NPCType<DesertScourgeTail>() };
|
||||
int summon = ItemType<DesertMedallion>();
|
||||
List<int> collection = new List<int>() { ItemType<DesertScourgeTrophy>(), ItemType<DesertScourgeMask>(), ItemType<KnowledgeDesertScourge>() };
|
||||
List<int> collection = new List<int>() { ItemType<DesertScourgeTrophy>(), ItemType<DesertScourgeMask>(), ItemType<KnowledgeDesertScourge>(), ItemType<ThankYouPainting>() };
|
||||
string instructions = $"Use a [i:{summon}] in the Desert Biome";
|
||||
string despawn = CalamityUtils.ColorMessage("The scourge of the desert delved back into the sand.", new Color(0xEE, 0xE8, 0xAA));
|
||||
Action<SpriteBatch, Rectangle, Color> portrait = (SpriteBatch sb, Rectangle rect, Color color) => {
|
||||
@@ -400,7 +401,7 @@ namespace CalamityMod
|
||||
BossDifficulty.TryGetValue("Crabulon", out float order);
|
||||
int type = NPCType<Crabulon>();
|
||||
int summon = ItemType<DecapoditaSprout>();
|
||||
List<int> collection = new List<int>() { ItemType<CrabulonTrophy>(), ItemType<CrabulonMask>(), ItemType<KnowledgeCrabulon>() };
|
||||
List<int> collection = new List<int>() { ItemType<CrabulonTrophy>(), ItemType<CrabulonMask>(), ItemType<KnowledgeCrabulon>(), ItemType<ThankYouPainting>() };
|
||||
string instructions = $"Use a [i:{summon}] in the Mushroom Biome";
|
||||
string despawn = CalamityUtils.ColorMessage("The mycleium crab has lost interest.", new Color(0x64, 0x95, 0xED));
|
||||
AddBoss(bossChecklist, calamity, "Crabulon", order, type, DownedCrabulon, summon, collection, instructions, despawn, () => true);
|
||||
@@ -411,7 +412,7 @@ namespace CalamityMod
|
||||
BossDifficulty.TryGetValue("HiveMind", out float order);
|
||||
int type = NPCType<HiveMind>();
|
||||
int summon = ItemType<Teratoma>();
|
||||
List<int> collection = new List<int>() { ItemType<HiveMindTrophy>(), ItemType<HiveMindMask>(), ItemType<KnowledgeHiveMind>(), ItemType<RottingEyeball>() };
|
||||
List<int> collection = new List<int>() { ItemType<HiveMindTrophy>(), ItemType<HiveMindMask>(), ItemType<KnowledgeHiveMind>(), ItemType<RottingEyeball>(), ItemType<ThankYouPainting>() };
|
||||
string instructions = $"Kill a Cyst in the Corruption or use a [i:{summon}] in the Corruption";
|
||||
string despawn = CalamityUtils.ColorMessage("The corrupted colony began searching for a new breeding ground.", new Color(0x94, 0x00, 0xD3));
|
||||
string bossHeadTex = "CalamityMod/NPCs/HiveMind/HiveMindP2_Head_Boss";
|
||||
@@ -423,7 +424,7 @@ namespace CalamityMod
|
||||
BossDifficulty.TryGetValue("Perforators", out float order);
|
||||
int type = NPCType<PerforatorHive>();
|
||||
int summon = ItemType<BloodyWormFood>();
|
||||
List<int> collection = new List<int>() { ItemType<PerforatorTrophy>(), ItemType<PerforatorMask>(), ItemType<KnowledgePerforators>(), ItemType<BloodyVein>() };
|
||||
List<int> collection = new List<int>() { ItemType<PerforatorTrophy>(), ItemType<PerforatorMask>(), ItemType<KnowledgePerforators>(), ItemType<BloodyVein>(), ItemType<ThankYouPainting>() };
|
||||
string instructions = $"Kill a Cyst in the Crimson or use a [i:{summon}] in the Crimson";
|
||||
string despawn = CalamityUtils.ColorMessage("The parasitic hive began searching for a new host.", new Color(0xDC, 0x14, 0x3C));
|
||||
AddBoss(bossChecklist, calamity, "The Perforators", order, type, DownedPerfs, summon, collection, instructions, despawn, () => true);
|
||||
@@ -434,7 +435,7 @@ namespace CalamityMod
|
||||
BossDifficulty.TryGetValue("SlimeGod", out float order);
|
||||
List<int> bosses = new List<int>() { NPCType<SlimeGodCore>(), NPCType<EbonianSlimeGod>(), NPCType<CrimulanSlimeGod>() };
|
||||
int summon = ItemType<OverloadedSludge>();
|
||||
List<int> collection = new List<int>() { ItemType<SlimeGodTrophy>(), ItemType<SlimeGodMask>(), ItemType<SlimeGodMask2>(), ItemType<KnowledgeSlimeGod>() };
|
||||
List<int> collection = new List<int>() { ItemType<SlimeGodTrophy>(), ItemType<SlimeGodMask>(), ItemType<SlimeGodMask2>(), ItemType<KnowledgeSlimeGod>(), ItemType<ThankYouPainting>() };
|
||||
string instructions = $"Use an [i:{summon}]";
|
||||
string despawn = CalamityUtils.ColorMessage("The gelatinous monstrosity achieved vengeance for its brethren.", new Color(0xBA, 0x55, 0x33));
|
||||
AddBoss(bossChecklist, calamity, "Slime God", order, bosses, DownedSlimeGod, summon, collection, instructions, despawn, () => true);
|
||||
@@ -445,7 +446,7 @@ namespace CalamityMod
|
||||
BossDifficulty.TryGetValue("Cryogen", out float order);
|
||||
int type = NPCType<Cryogen>();
|
||||
int summon = ItemType<CryoKey>();
|
||||
List<int> collection = new List<int>() { ItemType<CryogenTrophy>(), ItemType<CryogenMask>(), ItemType<KnowledgeCryogen>() };
|
||||
List<int> collection = new List<int>() { ItemType<CryogenTrophy>(), ItemType<CryogenMask>(), ItemType<KnowledgeCryogen>(), ItemType<ThankYouPainting>() };
|
||||
string instructions = $"Use a [i:{summon}] in the Snow Biome";
|
||||
string despawn = CalamityUtils.ColorMessage("Cryogen drifts away, carried on a freezing wind.", new Color(0x00, 0xFF, 0xFF));
|
||||
string bossLogTex = "CalamityMod/NPCs/Cryogen/Cryogen_Phase1_Head_Boss";
|
||||
@@ -457,7 +458,7 @@ namespace CalamityMod
|
||||
BossDifficulty.TryGetValue("AquaticScourge", out float order);
|
||||
List<int> segments = new List<int>() { NPCType<AquaticScourgeHead>(), NPCType<AquaticScourgeBody>(), NPCType<AquaticScourgeBodyAlt>(), NPCType<AquaticScourgeTail>() };
|
||||
int summon = ItemType<Seafood>();
|
||||
List<int> collection = new List<int>() { ItemType<AquaticScourgeTrophy>(), ItemType<AquaticScourgeMask>(), ItemType<KnowledgeAquaticScourge>(), ItemType<KnowledgeSulphurSea>() };
|
||||
List<int> collection = new List<int>() { ItemType<AquaticScourgeTrophy>(), ItemType<AquaticScourgeMask>(), ItemType<KnowledgeAquaticScourge>(), ItemType<KnowledgeSulphurSea>(), ItemType<ThankYouPainting>() };
|
||||
string instructions = $"Use a [i:{summon}] in the Sulphuric Sea or wait for it to spawn in the Sulphuric Sea";
|
||||
string despawn = CalamityUtils.ColorMessage("The Aquatic Scourge swam back into the open ocean.", new Color(0xF0, 0xE6, 0x8C));
|
||||
string bossLogTex = "CalamityMod/NPCs/AquaticScourge/AquaticScourgeHead_Head_Boss";
|
||||
@@ -474,7 +475,7 @@ namespace CalamityMod
|
||||
BossDifficulty.TryGetValue("BrimstoneElemental", out float order);
|
||||
int type = NPCType<BrimstoneElemental>();
|
||||
int summon = ItemType<CharredIdol>();
|
||||
List<int> collection = new List<int>() { ItemType<BrimstoneElementalTrophy>(), ItemType<BrimstoneWaifuMask>(), ItemType<KnowledgeBrimstoneCrag>(), ItemType<KnowledgeBrimstoneElemental>(), ItemType<CharredRelic>() };
|
||||
List<int> collection = new List<int>() { ItemType<BrimstoneElementalTrophy>(), ItemType<BrimstoneWaifuMask>(), ItemType<KnowledgeBrimstoneCrag>(), ItemType<KnowledgeBrimstoneElemental>(), ItemType<CharredRelic>(), ItemType<ThankYouPainting>() };
|
||||
string instructions = $"Use a [i:{summon}] in the Brimstone Crag";
|
||||
string despawn = CalamityUtils.ColorMessage("Brimstone Elemental withdraws to the ruins of her shrine.", new Color(0xDC, 0x14, 0x3C));
|
||||
AddBoss(bossChecklist, calamity, "Brimstone Elemental", order, type, DownedBrimstoneElemental, summon, collection, instructions, despawn, () => true);
|
||||
@@ -485,7 +486,7 @@ namespace CalamityMod
|
||||
BossDifficulty.TryGetValue("Calamitas", out float order);
|
||||
int type = NPCType<CalamitasClone>();
|
||||
int summon = ItemType<EyeofDesolation>();
|
||||
List<int> collection = new List<int>() { ItemType<CalamitasTrophy>(), ItemType<CataclysmTrophy>(), ItemType<CatastropheTrophy>(), ItemType<CalamitasMask>(), ItemType<HoodOfCalamity>(), ItemType<RobesOfCalamity>(), ItemType<KnowledgeCalamitasClone>() };
|
||||
List<int> collection = new List<int>() { ItemType<CalamitasTrophy>(), ItemType<CataclysmTrophy>(), ItemType<CatastropheTrophy>(), ItemType<CalamitasMask>(), ItemType<HoodOfCalamity>(), ItemType<RobesOfCalamity>(), ItemType<KnowledgeCalamitasClone>(), ItemType<ThankYouPainting>() };
|
||||
string instructions = $"Use an [i:{summon}] at Night";
|
||||
string despawn = CalamityUtils.ColorMessage("If you wanted a fight, you should've came more prepared.", new Color(0xFF, 0xA5, 0x00));
|
||||
//Func<bool> available = () => !DownedBossSystem.downedCalamitas;
|
||||
@@ -508,7 +509,7 @@ namespace CalamityMod
|
||||
{
|
||||
BossDifficulty.TryGetValue("Leviathan", out float order);
|
||||
List<int> bosses = new List<int>() { NPCType<Leviathan>(), NPCType<Anahita>() };
|
||||
List<int> collection = new List<int>() { ItemType<LeviathanTrophy>(), ItemType<AnahitaTrophy>(), ItemType<LeviathanMask>(), ItemType<AnahitaMask>(), ItemType<KnowledgeOcean>(), ItemType<KnowledgeLeviathanAnahita>() };
|
||||
List<int> collection = new List<int>() { ItemType<LeviathanTrophy>(), ItemType<AnahitaTrophy>(), ItemType<LeviathanMask>(), ItemType<AnahitaMask>(), ItemType<KnowledgeOcean>(), ItemType<KnowledgeLeviathanAnahita>(), ItemType<ThankYouPainting>() };
|
||||
string instructions = "By killing an unknown entity in the Ocean Biome";
|
||||
string despawn = CalamityUtils.ColorMessage("The aquatic entities sink back beneath the ocean depths.", new Color(0x7F, 0xFF, 0xD4));
|
||||
|
||||
@@ -525,7 +526,7 @@ namespace CalamityMod
|
||||
BossDifficulty.TryGetValue("AstrumAureus", out float order);
|
||||
int type = NPCType<AstrumAureus>();
|
||||
int summon = ItemType<AstralChunk>();
|
||||
List<int> collection = new List<int>() { ItemType<AstrumAureusTrophy>(), ItemType<AstrumAureusMask>(), ItemType<KnowledgeAstrumAureus>() };
|
||||
List<int> collection = new List<int>() { ItemType<AstrumAureusTrophy>(), ItemType<AstrumAureusMask>(), ItemType<KnowledgeAstrumAureus>(), ItemType<ThankYouPainting>() };
|
||||
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));
|
||||
string bossLogTex = "CalamityMod/NPCs/AstrumAureus/AstrumAureus_Head_Boss";
|
||||
@@ -537,7 +538,7 @@ namespace CalamityMod
|
||||
BossDifficulty.TryGetValue("PlaguebringerGoliath", out float order);
|
||||
int type = NPCType<PlaguebringerGoliath>();
|
||||
int summon = ItemType<Abombination>();
|
||||
List<int> collection = new List<int>() { ItemType<PlaguebringerGoliathTrophy>(), ItemType<PlaguebringerGoliathMask>(), ItemType<KnowledgePlaguebringerGoliath>(), ItemType<PlagueCaller>() };
|
||||
List<int> collection = new List<int>() { ItemType<PlaguebringerGoliathTrophy>(), ItemType<PlaguebringerGoliathMask>(), ItemType<KnowledgePlaguebringerGoliath>(), ItemType<PlagueCaller>(), ItemType<ThankYouPainting>() };
|
||||
string instructions = $"Use an [i:{summon}] in the Jungle Biome";
|
||||
string despawn = CalamityUtils.ColorMessage("HOSTILE SPECIMENS TERMINATED. INITIATE RECALL TO HOME BASE.", new Color(0x00, 0xFF, 0x00));
|
||||
string bossLogTex = "CalamityMod/NPCs/PlaguebringerGoliath/PlaguebringerGoliath_Head_Boss";
|
||||
@@ -555,7 +556,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> collection = new List<int>() { ItemType<RavagerTrophy>(), ItemType<RavagerMask>(), ItemType<KnowledgeRavager>() };
|
||||
List<int> collection = new List<int>() { ItemType<RavagerTrophy>(), ItemType<RavagerMask>(), ItemType<KnowledgeRavager>(), ItemType<ThankYouPainting>() };
|
||||
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));
|
||||
string bossLogTex = "CalamityMod/NPCs/Ravager/RavagerBody_Head_Boss";
|
||||
@@ -576,7 +577,7 @@ namespace CalamityMod
|
||||
int summon2 = ItemType<Starcore>();
|
||||
int altar = ItemType<AstralBeaconItem>();
|
||||
List<int> summons = new List<int>() { summon1, summon2 };
|
||||
List<int> collection = new List<int>() { ItemType<AstrumDeusTrophy>(), ItemType<AstrumDeusMask>(), ItemType<KnowledgeAstrumDeus>(), ItemType<KnowledgeAstralInfection>(), ItemType<ChromaticOrb>() };
|
||||
List<int> collection = new List<int>() { ItemType<AstrumDeusTrophy>(), ItemType<AstrumDeusMask>(), ItemType<KnowledgeAstrumDeus>(), ItemType<KnowledgeAstralInfection>(), ItemType<ChromaticOrb>(), ItemType<ThankYouPainting>() };
|
||||
string instructions = $"Use a [i:{summon1}] or [i:{summon2}] as offering at an [i:{altar}]";
|
||||
string despawn = CalamityUtils.ColorMessage("The infected deity retreats to the heavens.", new Color(0xFF, 0xD7, 0x00));
|
||||
string bossLogTex = "CalamityMod/NPCs/AstrumDeus/AstrumDeusHead_Head_Boss";
|
||||
@@ -595,7 +596,7 @@ namespace CalamityMod
|
||||
BossDifficulty.TryGetValue("ProfanedGuardians", out float order);
|
||||
int type = NPCType<ProfanedGuardianCommander>();
|
||||
int summon = ItemType<ProfanedShard>();
|
||||
List<int> collection = new List<int>() { ItemType<ProfanedGuardianTrophy>(), ItemType<ProfanedGuardianMask>(), ItemType<KnowledgeProfanedGuardians>() };
|
||||
List<int> collection = new List<int>() { ItemType<ProfanedGuardianTrophy>(), ItemType<ProfanedGuardianMask>(), ItemType<KnowledgeProfanedGuardians>(), ItemType<ThankYouPainting>() };
|
||||
string instructions = $"Use a [i:{summon}] in the Hallow or Underworld Biomes";
|
||||
string despawn = CalamityUtils.ColorMessage("The guardians must protect their goddess at all costs.", new Color(0xFF, 0xA5, 0x00));
|
||||
string bossLogTex = "CalamityMod/NPCs/ProfanedGuardians/ProfanedGuardianCommander_Head_Boss";
|
||||
@@ -613,7 +614,7 @@ namespace CalamityMod
|
||||
BossDifficulty.TryGetValue("Dragonfolly", out float order);
|
||||
int type = NPCType<Bumblefuck>();
|
||||
int summon = ItemType<ExoticPheromones>();
|
||||
List<int> collection = new List<int>() { ItemType<DragonfollyTrophy>(), ItemType<BumblefuckMask>(), ItemType<KnowledgeDragonfolly>() };
|
||||
List<int> collection = new List<int>() { ItemType<DragonfollyTrophy>(), ItemType<BumblefuckMask>(), ItemType<KnowledgeDragonfolly>(), ItemType<ThankYouPainting>() };
|
||||
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));
|
||||
AddBoss(bossChecklist, calamity, "Dragonfolly", order, type, DownedBirb, summon, collection, instructions, despawn, () => true);
|
||||
@@ -624,7 +625,7 @@ namespace CalamityMod
|
||||
BossDifficulty.TryGetValue("Providence", out float order);
|
||||
int type = NPCType<Providence>();
|
||||
int summon = ItemType<ProfanedCore>();
|
||||
List<int> collection = new List<int>() { ItemType<ProvidenceTrophy>(), ItemType<ProvidenceMask>(), ItemType<KnowledgeProvidence>() };
|
||||
List<int> collection = new List<int>() { ItemType<ProvidenceTrophy>(), ItemType<ProvidenceMask>(), ItemType<KnowledgeProvidence>(), ItemType<ThankYouPainting>() };
|
||||
string instructions = $"Use [i:{summon}] in the Hallow or Underworld Biomes";
|
||||
string despawn = CalamityUtils.ColorMessage("The Profaned Goddess vanishes in a burning blaze.", new Color(0xFF, 0xA5, 0x00));
|
||||
string bossLogTex = "CalamityMod/NPCs/Providence/Providence_Head_Boss";
|
||||
@@ -642,7 +643,7 @@ namespace CalamityMod
|
||||
BossDifficulty.TryGetValue("CeaselessVoid", out float order);
|
||||
List<int> bosses = new List<int>() { NPCType<CeaselessVoid>(), NPCType<DarkEnergy>() };
|
||||
int summon = ItemType<RuneofKos>();
|
||||
List<int> collection = new List<int>() { ItemType<CeaselessVoidTrophy>(), ItemType<CeaselessVoidMask>(), ItemType<AncientGodSlayerHelm>(), ItemType<AncientGodSlayerChestplate>(), ItemType<AncientGodSlayerLeggings>(), ItemType<KnowledgeSentinels>() };
|
||||
List<int> collection = new List<int>() { ItemType<CeaselessVoidTrophy>(), ItemType<CeaselessVoidMask>(), ItemType<AncientGodSlayerHelm>(), ItemType<AncientGodSlayerChestplate>(), ItemType<AncientGodSlayerLeggings>(), ItemType<KnowledgeSentinels>(), ItemType<ThankYouPainting>() };
|
||||
string instructions = $"Use a [i:{summon}] in the Dungeon";
|
||||
string despawn = CalamityUtils.ColorMessage("The rift in time and space has moved away from your reach.", new Color(0x4B, 0x00, 0x82));
|
||||
AddBoss(bossChecklist, calamity, "Ceaseless Void", order, bosses, DownedCeaselessVoid, summon, collection, instructions, despawn, () => true);
|
||||
@@ -653,7 +654,7 @@ namespace CalamityMod
|
||||
BossDifficulty.TryGetValue("StormWeaver", out float order);
|
||||
List<int> segments = new List<int>() { NPCType<StormWeaverHead>(), NPCType<StormWeaverBody>(), NPCType<StormWeaverTail>() };
|
||||
int summon = ItemType<RuneofKos>();
|
||||
List<int> collection = new List<int>() { ItemType<WeaverTrophy>(), ItemType<StormWeaverMask>(), ItemType<AncientGodSlayerHelm>(), ItemType<AncientGodSlayerChestplate>(), ItemType<AncientGodSlayerLeggings>(), ItemType<KnowledgeSentinels>(), ItemType<LittleLight>() };
|
||||
List<int> collection = new List<int>() { ItemType<WeaverTrophy>(), ItemType<StormWeaverMask>(), ItemType<AncientGodSlayerHelm>(), ItemType<AncientGodSlayerChestplate>(), ItemType<AncientGodSlayerLeggings>(), ItemType<KnowledgeSentinels>(), ItemType<LittleLight>(), ItemType<ThankYouPainting>() };
|
||||
string instructions = $"Use a [i:{summon}] in Space";
|
||||
string despawn = CalamityUtils.ColorMessage("Storm Weaver hid itself once again within the stormfront.", new Color(0xEE, 0x82, 0xEE));
|
||||
string bossLogTex = "CalamityMod/NPCs/StormWeaver/StormWeaverHead_Head_Boss";
|
||||
@@ -670,7 +671,7 @@ namespace CalamityMod
|
||||
BossDifficulty.TryGetValue("Signus", out float order);
|
||||
int type = NPCType<Signus>();
|
||||
int summon = ItemType<RuneofKos>();
|
||||
List<int> collection = new List<int>() { ItemType<SignusTrophy>(), ItemType<SignusMask>(), ItemType<AncientGodSlayerHelm>(), ItemType<AncientGodSlayerChestplate>(), ItemType<AncientGodSlayerLeggings>(), ItemType<KnowledgeSentinels>() };
|
||||
List<int> collection = new List<int>() { ItemType<SignusTrophy>(), ItemType<SignusMask>(), ItemType<AncientGodSlayerHelm>(), ItemType<AncientGodSlayerChestplate>(), ItemType<AncientGodSlayerLeggings>(), ItemType<KnowledgeSentinels>(), ItemType<ThankYouPainting>() };
|
||||
string instructions = $"Use a [i:{summon}] in the Underworld";
|
||||
string despawn = CalamityUtils.ColorMessage("The Devourer's assassin has finished its easy task.", new Color(0xBA, 0x55, 0xD3));
|
||||
AddBoss(bossChecklist, calamity, "Signus", order, type, DownedSignus, summon, collection, instructions, despawn, () => true);
|
||||
@@ -681,7 +682,7 @@ namespace CalamityMod
|
||||
BossDifficulty.TryGetValue("Polterghast", out float order);
|
||||
List<int> bosses = new List<int>() { NPCType<Polterghast>(), NPCType<PolterPhantom>() };
|
||||
int summon = ItemType<NecroplasmicBeacon>();
|
||||
List<int> collection = new List<int>() { ItemType<PolterghastTrophy>(), ItemType<PolterghastMask>(), ItemType<KnowledgePolterghast>() };
|
||||
List<int> collection = new List<int>() { ItemType<PolterghastTrophy>(), ItemType<PolterghastMask>(), ItemType<KnowledgePolterghast>(), ItemType<ThankYouPainting>() };
|
||||
string instructions = $"Kill 30 phantom spirits or use a [i:{summon}] in the Dungeon";
|
||||
string despawn = CalamityUtils.ColorMessage("The volatile spirits disperse throughout the depths of the dungeon.", new Color(0xB0, 0xE0, 0xE6));
|
||||
AddBoss(bossChecklist, calamity, "Polterghast", order, bosses, DownedPolterghast, summon, collection, instructions, despawn, () => true);
|
||||
@@ -692,7 +693,7 @@ namespace CalamityMod
|
||||
BossDifficulty.TryGetValue("OldDuke", out float order);
|
||||
List<int> bosses = new List<int>() { NPCType<OldDuke>() };
|
||||
int summon = ItemType<BloodwormItem>();
|
||||
List<int> collection = new List<int>() { ItemType<OldDukeTrophy>(), ItemType<OldDukeMask>(), ItemType<KnowledgeOldDuke>() };
|
||||
List<int> collection = new List<int>() { ItemType<OldDukeTrophy>(), ItemType<OldDukeMask>(), ItemType<KnowledgeOldDuke>(), ItemType<ThankYouPainting>() };
|
||||
string instructions = $"Defeat the Acid Rain event post-Polterghast or fish using a [i:{summon}] in the Sulphurous Sea";
|
||||
string despawn = CalamityUtils.ColorMessage("The old duke disappears amidst the acidic downpour.", new Color(0xF0, 0xE6, 0x8C));
|
||||
AddBoss(bossChecklist, calamity, "Old Duke", order, bosses, DownedBoomerDuke, summon, collection, instructions, despawn, () => true);
|
||||
@@ -703,7 +704,7 @@ namespace CalamityMod
|
||||
BossDifficulty.TryGetValue("DevourerOfGods", out float order);
|
||||
int type = NPCType<DevourerofGodsHead>();
|
||||
int summon = ItemType<CosmicWorm>();
|
||||
List<int> collection = new List<int>() { ItemType<DevourerofGodsTrophy>(), ItemType<DevourerofGodsMask>(), ItemType<KnowledgeDevourerofGods>() };
|
||||
List<int> collection = new List<int>() { ItemType<DevourerofGodsTrophy>(), ItemType<DevourerofGodsMask>(), ItemType<KnowledgeDevourerofGods>(), ItemType<ThankYouPainting>() };
|
||||
string instructions = $"Use a [i:{summon}]";
|
||||
string despawn = CalamityUtils.ColorMessage("The Devourer of Gods has slain everyone and feasted on their essence.", new Color(0x00, 0xFF, 0xFF));
|
||||
string bossHeadTex = "CalamityMod/NPCs/DevourerofGods/DevourerofGodsHead_Head_Boss";
|
||||
@@ -720,7 +721,7 @@ namespace CalamityMod
|
||||
BossDifficulty.TryGetValue("Yharon", out float order);
|
||||
int type = NPCType<Yharon>();
|
||||
int summon = ItemType<JungleDragonEgg>();
|
||||
List<int> collection = new List<int>() { ItemType<YharonTrophy>(), ItemType<YharonMask>(), ItemType<KnowledgeYharon>(), ItemType<ForgottenDragonEgg>(), ItemType<McNuggets>(), ItemType<FoxDrive>() };
|
||||
List<int> collection = new List<int>() { ItemType<YharonTrophy>(), ItemType<YharonMask>(), ItemType<KnowledgeYharon>(), ItemType<ForgottenDragonEgg>(), ItemType<McNuggets>(), ItemType<FoxDrive>(), ItemType<ThankYouPainting>() };
|
||||
string instructions = $"Use a [i:{summon}] in the Jungle Biome";
|
||||
string despawn = CalamityUtils.ColorMessage("Yharon found you too weak to stay near your gravestone.", new Color(0xFF, 0xA5, 0x00));
|
||||
string bossLogTex = "CalamityMod/NPCs/Yharon/Yharon_Head_Boss";
|
||||
@@ -734,7 +735,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> collection = new List<int>() { ItemType<AresTrophy>(), ItemType<ThanatosTrophy>(), ItemType<ArtemisTrophy>(), ItemType<ApolloTrophy>(), ItemType<DraedonMask>(), ItemType<AresMask>(), ItemType<ThanatosMask>(), ItemType<ArtemisMask>(), ItemType<ApolloMask>(), ItemType<KnowledgeExoMechs>() };
|
||||
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>(), ItemType<ThankYouPainting>() };
|
||||
string instructions = "By using a high-tech computer";
|
||||
string despawn = CalamityUtils.ColorMessage("An imperfection after all... what a shame.", new Color(0x7F, 0xFF, 0xD4));
|
||||
|
||||
@@ -756,7 +757,7 @@ namespace CalamityMod
|
||||
int summon2 = ItemType<CeremonialUrn>();
|
||||
int altar = ItemType<AltarOfTheAccursedItem>();
|
||||
List<int> summons = new List<int>() { summon1, summon2 };
|
||||
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>() };
|
||||
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>(), ItemType<ThankYouPainting>() };
|
||||
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));
|
||||
string bossHeadTex = "CalamityMod/NPCs/SupremeCalamitas/HoodedHeadIcon";
|
||||
@@ -768,7 +769,7 @@ namespace CalamityMod
|
||||
BossDifficulty.TryGetValue("AdultEidolonWyrm", out float order);
|
||||
int type = NPCType<AdultEidolonWyrmHead>();
|
||||
int summon = ItemID.RodofDiscord;
|
||||
List<int> collection = new List<int>() { };
|
||||
List<int> collection = new List<int>() { ItemType<ThankYouPainting>() };
|
||||
string instructions = $"While in the Abyss, use an item that inflicts Chaos State";
|
||||
string despawn = CalamityUtils.ColorMessage("...", new Color(0x7F, 0xFF, 0xD4));
|
||||
string bossLogTex = "CalamityMod/NPCs/AdultEidolonWyrm/AdultEidolonWyrmHead_Head_Boss";
|
||||
@@ -842,85 +843,92 @@ namespace CalamityMod
|
||||
// King Slime
|
||||
AddLoot(bossChecklist, "KingSlime",
|
||||
new List<int>() { ItemType<CrownJewel>() },
|
||||
new List<int>() { ItemType<KnowledgeKingSlime>() }
|
||||
new List<int>() { ItemType<KnowledgeKingSlime>(), ItemType<ThankYouPainting>() }
|
||||
);
|
||||
|
||||
// Eye of Cthulhu
|
||||
AddLoot(bossChecklist, "EyeofCthulhu",
|
||||
new List<int>() { ItemType<DeathstareRod>(), ItemType<TeardropCleaver>() },
|
||||
new List<int>() { ItemType<KnowledgeEyeofCthulhu>() }
|
||||
new List<int>() { ItemType<KnowledgeEyeofCthulhu>(), ItemType<ThankYouPainting>() }
|
||||
);
|
||||
|
||||
// Eater of Worlds
|
||||
AddLoot(bossChecklist, "EaterofWorldsHead",
|
||||
null,
|
||||
new List<int>() { ItemType<KnowledgeEaterofWorlds>(), ItemType<KnowledgeCorruption>() }
|
||||
new List<int>() { ItemType<KnowledgeEaterofWorlds>(), ItemType<KnowledgeCorruption>(), ItemType<ThankYouPainting>() }
|
||||
);
|
||||
|
||||
// Brain of Cthulhu
|
||||
AddLoot(bossChecklist, "BrainofCthulhu",
|
||||
null,
|
||||
new List<int>() { ItemType<KnowledgeBrainofCthulhu>(), ItemType<KnowledgeCrimson>() }
|
||||
new List<int>() { ItemType<KnowledgeBrainofCthulhu>(), ItemType<KnowledgeCrimson>(), ItemType<ThankYouPainting>() }
|
||||
);
|
||||
|
||||
// Queen Bee
|
||||
AddLoot(bossChecklist, "QueenBee",
|
||||
new List<int>() { ItemType<HardenedHoneycomb>(), ItemID.Stinger, ItemType<TheBee>() },
|
||||
new List<int>() { ItemType<KnowledgeQueenBee>() }
|
||||
new List<int>() { ItemType<KnowledgeQueenBee>(), ItemType<ThankYouPainting>() }
|
||||
);
|
||||
|
||||
// Skeletron
|
||||
AddLoot(bossChecklist, "SkeletronHead",
|
||||
null,
|
||||
new List<int>() { ItemType<KnowledgeSkeletron>() }
|
||||
new List<int>() { ItemType<KnowledgeSkeletron>(), ItemType<ThankYouPainting>() }
|
||||
);
|
||||
|
||||
// Wall of Flesh
|
||||
AddLoot(bossChecklist, "WallofFlesh",
|
||||
new List<int>() { ItemType<Meowthrower>(), ItemType<BlackHawkRemote>(), ItemType<BlastBarrel>(), ItemType<RogueEmblem>(), ItemType<Carnage>(), ItemID.CorruptionKey, ItemID.CrimsonKey },
|
||||
new List<int>() { ItemType<KnowledgeWallofFlesh>(), ItemType<KnowledgeUnderworld>(), ItemType<HermitsBoxofOneHundredMedicines>() }
|
||||
new List<int>() { ItemType<KnowledgeWallofFlesh>(), ItemType<KnowledgeUnderworld>(), ItemType<HermitsBoxofOneHundredMedicines>(), ItemType<ThankYouPainting>() }
|
||||
);
|
||||
|
||||
// Queen Slime
|
||||
AddLoot(bossChecklist, "QueenSlime",
|
||||
new List<int>() { ItemID.HallowedKey }
|
||||
new List<int>() { ItemID.HallowedKey },
|
||||
new List<int>() { ItemType<ThankYouPainting>() }
|
||||
);
|
||||
|
||||
// The Twins
|
||||
AddLoot(bossChecklist, "TheTwins",
|
||||
new List<int>() { ItemType<Arbalest>() },
|
||||
new List<int>() { ItemType<KnowledgeTwins>(), ItemType<KnowledgeMechs>() }
|
||||
new List<int>() { ItemType<KnowledgeTwins>(), ItemType<KnowledgeMechs>(), ItemType<ThankYouPainting>() }
|
||||
);
|
||||
|
||||
// The Destroyer
|
||||
AddLoot(bossChecklist, "TheDestroyer",
|
||||
new List<int>() { ItemType<KnowledgeDestroyer>(), ItemType<KnowledgeMechs>() }
|
||||
new List<int>() { ItemType<KnowledgeDestroyer>(), ItemType<KnowledgeMechs>(), ItemType<ThankYouPainting>() }
|
||||
);
|
||||
|
||||
// Skeletron Prime
|
||||
AddLoot(bossChecklist, "SkeletronPrime",
|
||||
null,
|
||||
new List<int>() { ItemType<KnowledgeSkeletronPrime>(), ItemType<KnowledgeMechs>() }
|
||||
new List<int>() { ItemType<KnowledgeSkeletronPrime>(), ItemType<KnowledgeMechs>(), ItemType<ThankYouPainting>() }
|
||||
);
|
||||
|
||||
// Plantera
|
||||
AddLoot(bossChecklist, "Plantera",
|
||||
new List<int>() { ItemType<LivingShard>(), ItemType<BlossomFlux>(), ItemType<BloomStone>(), ItemID.JungleKey },
|
||||
new List<int>() { ItemType<KnowledgePlantera>() }
|
||||
new List<int>() { ItemType<KnowledgePlantera>(), ItemType<ThankYouPainting>() }
|
||||
);
|
||||
AddSummons(bossChecklist, "Plantera", new List<int>() { ItemType<Portabulb>() });
|
||||
|
||||
// Golem
|
||||
AddLoot(bossChecklist, "Golem",
|
||||
new List<int>() { ItemType<EssenceofSunlight>(), ItemType<AegisBlade>() },
|
||||
new List<int>() { ItemType<KnowledgeGolem>() }
|
||||
new List<int>() { ItemType<KnowledgeGolem>(), ItemType<ThankYouPainting>() }
|
||||
);
|
||||
AddSummons(bossChecklist, "Golem", new List<int>() { ItemType<OldPowerCell>() });
|
||||
|
||||
// Empress of Light
|
||||
AddLoot(bossChecklist, "HallowBoss",
|
||||
null,
|
||||
new List<int>() { ItemType<ThankYouPainting>() }
|
||||
);
|
||||
|
||||
// Duke Fishron
|
||||
AddLoot(bossChecklist, "DukeFishron",
|
||||
new List<int>() { ItemType<DukesDecapitator>(), ItemType<BrinyBaron>() },
|
||||
new List<int>() { ItemType<KnowledgeDukeFishron>() }
|
||||
new List<int>() { ItemType<KnowledgeDukeFishron>(), ItemType<ThankYouPainting>() }
|
||||
);
|
||||
|
||||
// Betsy
|
||||
@@ -932,14 +940,14 @@ namespace CalamityMod
|
||||
// Lunatic Cultist
|
||||
AddLoot(bossChecklist, "CultistBoss",
|
||||
null,
|
||||
new List<int>() { ItemType<KnowledgeLunaticCultist>(), ItemType<KnowledgeBloodMoon>() }
|
||||
new List<int>() { ItemType<KnowledgeLunaticCultist>(), ItemType<KnowledgeBloodMoon>(), ItemType<ThankYouPainting>() }
|
||||
);
|
||||
AddSummons(bossChecklist, "CultistBoss", new List<int>() { ItemType<EidolonTablet>() });
|
||||
|
||||
// Moon Lord
|
||||
AddLoot(bossChecklist, "MoonLord",
|
||||
new List<int>() { ItemType<UtensilPoker>(), ItemType<CelestialOnion>() },
|
||||
new List<int>() { ItemType<KnowledgeMoonLord>() }
|
||||
new List<int>() { ItemType<KnowledgeMoonLord>(), ItemType<ThankYouPainting>() }
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
using CalamityMod.Buffs.StatDebuffs;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Potions;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
@@ -1394,6 +1395,7 @@ namespace CalamityMod.NPCs.AdultEidolonWyrm
|
||||
npcLoot.Add(ModContent.ItemType<SoulEdge>());
|
||||
npcLoot.Add(ModContent.ItemType<HalibutCannon>());
|
||||
npcLoot.Add(ModContent.ItemType<Voidstone>(), 1, 80, 100);
|
||||
npcLoot.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
var postClone = npcLoot.DefineConditionalDropSet(() => DownedBossSystem.downedCalamitas);
|
||||
postClone.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<Lumenyl>(), 1, 50, 108, 65, 135));
|
||||
|
||||
@@ -5,6 +5,7 @@ using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.LoreItems;
|
||||
using CalamityMod.Items.Placeables;
|
||||
using CalamityMod.Items.Placeables.Furniture.BossRelics;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Items.TreasureBags;
|
||||
using CalamityMod.Items.TreasureBags.MiscGrabBags;
|
||||
@@ -235,6 +236,7 @@ namespace CalamityMod.NPCs.AquaticScourge
|
||||
|
||||
// Vanity
|
||||
normalOnly.Add(ModContent.ItemType<AquaticScourgeMask>(), 7);
|
||||
normalOnly.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Equipment
|
||||
normalOnly.Add(DropHelper.PerPlayer(ModContent.ItemType<AquaticEmblem>()));
|
||||
|
||||
@@ -6,6 +6,7 @@ using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.LoreItems;
|
||||
using CalamityMod.Items.Mounts;
|
||||
using CalamityMod.Items.Placeables.Furniture.BossRelics;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Items.Potions;
|
||||
using CalamityMod.Items.TreasureBags;
|
||||
@@ -348,6 +349,7 @@ namespace CalamityMod.NPCs.AstrumAureus
|
||||
|
||||
// Vanity
|
||||
normalOnly.Add(ModContent.ItemType<AstrumAureusMask>(), 7);
|
||||
normalOnly.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Equipment
|
||||
normalOnly.Add(DropHelper.PerPlayer(ModContent.ItemType<GravistarSabaton>()));
|
||||
|
||||
@@ -8,6 +8,7 @@ using CalamityMod.Items.LoreItems;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Pets;
|
||||
using CalamityMod.Items.Placeables.Furniture.BossRelics;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Items.TreasureBags;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
@@ -308,8 +309,11 @@ namespace CalamityMod.NPCs.AstrumDeus
|
||||
};
|
||||
normalOnly.Add(DropHelper.CalamityStyle(DropHelper.NormalWeaponDropRateFraction, weapons));
|
||||
|
||||
// Equipment
|
||||
// Vanity
|
||||
normalOnly.Add(ModContent.ItemType<AstrumDeusMask>(), 7);
|
||||
normalOnly.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Equipment
|
||||
normalOnly.Add(DropHelper.PerPlayer(ModContent.ItemType<HideofAstrumDeus>()));
|
||||
normalOnly.Add(ModContent.ItemType<ChromaticOrb>(), 5);
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@ using CalamityMod.Items.LoreItems;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Mounts;
|
||||
using CalamityMod.Items.Placeables.Furniture.BossRelics;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Items.Placeables.Pylons;
|
||||
using CalamityMod.Items.TreasureBags;
|
||||
@@ -203,6 +204,7 @@ namespace CalamityMod.NPCs.BrimstoneElemental
|
||||
|
||||
// Vanity
|
||||
normalOnly.Add(ModContent.ItemType<BrimstoneWaifuMask>(), 7);
|
||||
normalOnly.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ using CalamityMod.Items.LoreItems;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Mounts;
|
||||
using CalamityMod.Items.Placeables.Furniture.BossRelics;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Items.Potions;
|
||||
using CalamityMod.Items.TreasureBags;
|
||||
@@ -433,6 +434,7 @@ namespace CalamityMod.NPCs.Bumblebirb
|
||||
|
||||
// Vanity
|
||||
normalOnly.Add(ModContent.ItemType<BumblefuckMask>(), 7);
|
||||
normalOnly.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
}
|
||||
|
||||
npcLoot.Add(ModContent.ItemType<DragonfollyTrophy>(), 10);
|
||||
|
||||
@@ -6,6 +6,7 @@ using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.LoreItems;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables.Furniture.BossRelics;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Items.TreasureBags;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
@@ -209,6 +210,7 @@ namespace CalamityMod.NPCs.Calamitas
|
||||
var calVanity = ItemDropRule.Common(ModContent.ItemType<HoodOfCalamity>(), 10);
|
||||
calVanity.OnSuccess(ItemDropRule.Common(ModContent.ItemType<RobesOfCalamity>()));
|
||||
normalOnly.Add(calVanity);
|
||||
normalOnly.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
}
|
||||
|
||||
npcLoot.Add(ModContent.ItemType<CalamitasTrophy>(), 10);
|
||||
|
||||
@@ -1,29 +1,30 @@
|
||||
using System;
|
||||
using System.Threading;
|
||||
using CalamityMod.Events;
|
||||
using CalamityMod.Events;
|
||||
using CalamityMod.Items;
|
||||
using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.LoreItems;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.PermanentBoosters;
|
||||
using CalamityMod.Items.Pets;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
using CalamityMod.Items.Weapons.Rogue;
|
||||
using CalamityMod.Items.Weapons.Summon;
|
||||
using CalamityMod.NPCs.AcidRain;
|
||||
using CalamityMod.NPCs.NormalNPCs;
|
||||
using CalamityMod.NPCs.TownNPCs;
|
||||
using CalamityMod.Tiles.Ores;
|
||||
using CalamityMod.World;
|
||||
using CalamityMod.World.Planets;
|
||||
using Microsoft.Xna.Framework;
|
||||
using System;
|
||||
using System.Threading;
|
||||
using Terraria;
|
||||
using Terraria.Audio;
|
||||
using Terraria.GameContent.ItemDropRules;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod.NPCs.AcidRain;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
{
|
||||
@@ -801,6 +802,7 @@ namespace CalamityMod.NPCs
|
||||
|
||||
// Would be in the bag otherwise
|
||||
npcLoot.AddNormalOnly(ModContent.ItemType<CrownJewel>(), 10);
|
||||
npcLoot.AddNormalOnly(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Master items drop in Revengeance
|
||||
rev.Add(ItemID.KingSlimeMasterTrophy);
|
||||
@@ -817,6 +819,7 @@ namespace CalamityMod.NPCs
|
||||
// Would be in the bag otherwise
|
||||
npcLoot.AddNormalOnly(ModContent.ItemType<TeardropCleaver>(), 10);
|
||||
npcLoot.AddNormalOnly(ModContent.ItemType<DeathstareRod>(), 4);
|
||||
npcLoot.AddNormalOnly(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Master items drop in Revengeance
|
||||
rev.Add(ItemID.EyeofCthulhuMasterTrophy);
|
||||
@@ -832,6 +835,9 @@ namespace CalamityMod.NPCs
|
||||
EoWKill.Add(DropHelper.PerPlayer(ItemID.WormScarf));
|
||||
npcLoot.AddNormalOnly(EoWKill);
|
||||
|
||||
// Would be in the bag otherwise
|
||||
npcLoot.AddIf((info) => info.npc.boss, ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Master items drop in Revengeance
|
||||
rev.AddIf((info) => info.npc.boss, ItemID.EaterofWorldsMasterTrophy);
|
||||
rev.AddIf((info) => info.npc.boss, ItemID.EaterOfWorldsPetItem, 4);
|
||||
@@ -853,6 +859,9 @@ namespace CalamityMod.NPCs
|
||||
// Expert+ drops are also available on Normal
|
||||
npcLoot.AddNormalOnly(DropHelper.PerPlayer(ItemID.BrainOfConfusion));
|
||||
|
||||
// Would be in the bag otherwise
|
||||
npcLoot.AddNormalOnly(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Master items drop in Revengeance
|
||||
rev.Add(ItemID.BrainofCthulhuMasterTrophy);
|
||||
rev.Add(ItemID.BrainOfCthulhuPetItem, 4);
|
||||
@@ -897,6 +906,9 @@ namespace CalamityMod.NPCs
|
||||
// Expert+ drops are also available on Normal
|
||||
npcLoot.AddNormalOnly(DropHelper.PerPlayer(ItemID.BoneHelm));
|
||||
|
||||
// Would be in the bag otherwise
|
||||
npcLoot.AddNormalOnly(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Master items drop in Revengeance
|
||||
rev.Add(ItemID.DeerclopsMasterTrophy);
|
||||
rev.Add(ItemID.DeerclopsPetItem, 4);
|
||||
@@ -920,6 +932,7 @@ namespace CalamityMod.NPCs
|
||||
|
||||
// Would be in the bag otherwise
|
||||
npcLoot.AddNormalOnly(ModContent.ItemType<HardenedHoneycomb>(), 1, 30, 50);
|
||||
npcLoot.AddNormalOnly(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Queen Bee drops Stingers in Calamity
|
||||
npcLoot.Add(ItemID.Stinger, 1, 8, 12);
|
||||
@@ -948,6 +961,9 @@ namespace CalamityMod.NPCs
|
||||
// Expert+ drops are also available on Normal
|
||||
npcLoot.AddNormalOnly(DropHelper.PerPlayer(ItemID.BoneGlove));
|
||||
|
||||
// Would be in the bag otherwise
|
||||
npcLoot.AddNormalOnly(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Master items drop in Revengeance
|
||||
rev.Add(ItemID.SkeletronMasterTrophy);
|
||||
rev.Add(ItemID.SkeletronPetItem, 4);
|
||||
@@ -1024,6 +1040,9 @@ namespace CalamityMod.NPCs
|
||||
// However, Demon Heart does not work in Normal mode, so it's best to not drop it
|
||||
// npcLoot.AddNormalOnly(DropHelper.PerPlayer(ItemID.DemonHeart));
|
||||
|
||||
// Would be in the bag otherwise
|
||||
npcLoot.AddNormalOnly(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// WoF drops Evil Keys
|
||||
npcLoot.Add(ItemID.CorruptionKey, 3);
|
||||
npcLoot.Add(ItemID.CrimsonKey, 3);
|
||||
@@ -1042,6 +1061,9 @@ namespace CalamityMod.NPCs
|
||||
npcLoot.AddNormalOnly(DropHelper.PerPlayer(ItemID.VolatileGelatin));
|
||||
npcLoot.AddNormalOnly(ItemID.SoulofLight, 1, 15, 20);
|
||||
|
||||
// Would be in the bag otherwise
|
||||
npcLoot.AddNormalOnly(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Queen Slime drops the Hallowed Key
|
||||
npcLoot.Add(ItemID.HallowedKey, 3);
|
||||
|
||||
@@ -1061,6 +1083,9 @@ namespace CalamityMod.NPCs
|
||||
// Expert+ drops are also available on Normal
|
||||
npcLoot.AddNormalOnly(DropHelper.PerPlayer(ItemID.MechanicalWagonPiece));
|
||||
|
||||
// Would be in the bag otherwise
|
||||
npcLoot.AddNormalOnly(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Master items drop in Revengeance
|
||||
rev.Add(ItemID.DestroyerMasterTrophy);
|
||||
rev.Add(ItemID.DestroyerPetItem, 4);
|
||||
@@ -1097,6 +1122,9 @@ namespace CalamityMod.NPCs
|
||||
npcLoot.AddIf((info) => !Main.expertMode && IsLastTwinStanding(info), ItemID.MechanicalWheelPiece);
|
||||
npcLoot.AddIf((info) => !Main.expertMode && IsLastTwinStanding(info), ModContent.ItemType<Arbalest>(), 10);
|
||||
|
||||
// Would be in the bag otherwise
|
||||
npcLoot.AddIf((info) => !Main.expertMode && IsLastTwinStanding(info), ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Master items drop in Revengeance
|
||||
rev.AddIf((info) => IsLastTwinStanding(info), ItemID.TwinsMasterTrophy);
|
||||
rev.AddIf((info) => IsLastTwinStanding(info), ItemID.TwinsPetItem, 4);
|
||||
@@ -1116,6 +1144,9 @@ namespace CalamityMod.NPCs
|
||||
// Expert+ drops are also available on Normal
|
||||
npcLoot.AddNormalOnly(DropHelper.PerPlayer(ItemID.MechanicalBatteryPiece));
|
||||
|
||||
// Would be in the bag otherwise
|
||||
npcLoot.AddNormalOnly(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Master items drop in Revengeance
|
||||
rev.Add(ItemID.SkeletronPrimeMasterTrophy);
|
||||
rev.Add(ItemID.SkeletronPrimePetItem, 4);
|
||||
@@ -1172,6 +1203,7 @@ namespace CalamityMod.NPCs
|
||||
npcLoot.AddNormalOnly(ModContent.ItemType<BloomStone>(), 10);
|
||||
npcLoot.AddNormalOnly(ModContent.ItemType<BlossomFlux>(), 10);
|
||||
npcLoot.AddNormalOnly(DropHelper.PerPlayer(ModContent.ItemType<LivingShard>(), 1, 25, 30));
|
||||
npcLoot.AddNormalOnly(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Plantera drops Jungle Key
|
||||
npcLoot.Add(ItemID.JungleKey, 3);
|
||||
@@ -1224,6 +1256,7 @@ namespace CalamityMod.NPCs
|
||||
// Would be in the bag otherwise
|
||||
normalOnly.Add(ModContent.ItemType<EssenceofSunlight>(), 1, 5, 10);
|
||||
normalOnly.Add(ModContent.ItemType<AegisBlade>(), 10);
|
||||
npcLoot.AddNormalOnly(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// If Golem has never been killed, provide a Picksaw to all players.
|
||||
LeadingConditionRule firstGolemKill = new(DropHelper.If(() => !NPC.downedGolemBoss));
|
||||
@@ -1305,6 +1338,7 @@ namespace CalamityMod.NPCs
|
||||
|
||||
// Would be in the bag otherwise
|
||||
npcLoot.AddNormalOnly(ModContent.ItemType<BrinyBaron>(), 10);
|
||||
npcLoot.AddNormalOnly(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Master items drop in Revengeance
|
||||
rev.Add(ItemID.DukeFishronMasterTrophy);
|
||||
@@ -1352,6 +1386,9 @@ namespace CalamityMod.NPCs
|
||||
// Expert+ drops are also available on Normal
|
||||
npcLoot.AddNormalOnly(DropHelper.PerPlayer(ItemID.EmpressFlightBooster));
|
||||
|
||||
// Would be in the bag otherwise
|
||||
npcLoot.AddNormalOnly(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Master items drop in Revengeance
|
||||
rev.Add(ItemID.FairyQueenMasterTrophy);
|
||||
rev.Add(ItemID.FairyQueenPetItem, 4);
|
||||
@@ -1363,6 +1400,8 @@ namespace CalamityMod.NPCs
|
||||
rev.Add(ItemID.LunaticCultistMasterTrophy);
|
||||
rev.Add(ItemID.LunaticCultistPetItem, 4);
|
||||
|
||||
npcLoot.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Lore
|
||||
npcLoot.AddConditionalPerPlayer(() => !NPC.downedAncientCultist, ModContent.ItemType<KnowledgeLunaticCultist>(), desc: DropHelper.FirstKillText);
|
||||
|
||||
@@ -1407,6 +1446,7 @@ namespace CalamityMod.NPCs
|
||||
|
||||
// Would be in the bag otherwise
|
||||
npcLoot.AddNormalOnly(DropHelper.PerPlayer(ModContent.ItemType<CelestialOnion>()));
|
||||
npcLoot.AddNormalOnly(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Master items drop in Revengeance
|
||||
rev.Add(ItemID.MoonLordMasterTrophy);
|
||||
|
||||
@@ -4,6 +4,7 @@ using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.LoreItems;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables.Furniture.BossRelics;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Items.Potions;
|
||||
using CalamityMod.Items.TreasureBags;
|
||||
@@ -228,6 +229,7 @@ namespace CalamityMod.NPCs.CeaselessVoid
|
||||
godSlayerVanity.OnSuccess(ItemDropRule.Common(ModContent.ItemType<AncientGodSlayerChestplate>()));
|
||||
godSlayerVanity.OnSuccess(ItemDropRule.Common(ModContent.ItemType<AncientGodSlayerLeggings>()));
|
||||
normalOnly.Add(godSlayerVanity);
|
||||
normalOnly.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
}
|
||||
|
||||
npcLoot.Add(ModContent.ItemType<CeaselessVoidTrophy>(), 10);
|
||||
|
||||
@@ -4,6 +4,7 @@ using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.LoreItems;
|
||||
using CalamityMod.Items.Placeables.Furniture.BossRelics;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Items.TreasureBags;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
@@ -830,6 +831,7 @@ namespace CalamityMod.NPCs.Crabulon
|
||||
|
||||
// Vanity
|
||||
normalOnly.Add(ModContent.ItemType<CrabulonMask>(), 7);
|
||||
normalOnly.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
}
|
||||
|
||||
npcLoot.Add(ModContent.ItemType<CrabulonTrophy>(), 10);
|
||||
|
||||
@@ -5,6 +5,7 @@ using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.LoreItems;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables.Furniture.BossRelics;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Items.TreasureBags;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
@@ -1168,6 +1169,7 @@ namespace CalamityMod.NPCs.Cryogen
|
||||
|
||||
// Vanity
|
||||
normalOnly.Add(ModContent.ItemType<CryogenMask>(), 7);
|
||||
normalOnly.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Materials
|
||||
normalOnly.Add(ModContent.ItemType<EssenceofEleum>(), 1, 4, 8);
|
||||
|
||||
@@ -4,6 +4,7 @@ using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.LoreItems;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables.Furniture.BossRelics;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Items.TreasureBags;
|
||||
using CalamityMod.Items.TreasureBags.MiscGrabBags;
|
||||
@@ -707,6 +708,7 @@ namespace CalamityMod.NPCs.DesertScourge
|
||||
|
||||
// Vanity
|
||||
normalOnly.Add(ModContent.ItemType<DesertScourgeMask>(), 7);
|
||||
normalOnly.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Materials
|
||||
normalOnly.Add(ItemID.Coral, 1, 25, 30);
|
||||
|
||||
@@ -8,6 +8,7 @@ using CalamityMod.Items.LoreItems;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Mounts;
|
||||
using CalamityMod.Items.Placeables.Furniture.BossRelics;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Items.Placeables.FurnitureCosmilite;
|
||||
using CalamityMod.Items.Potions;
|
||||
@@ -2389,6 +2390,7 @@ namespace CalamityMod.NPCs.DevourerofGods
|
||||
|
||||
// Vanity
|
||||
normalOnly.Add(ModContent.ItemType<DevourerofGodsMask>(), 7);
|
||||
normalOnly.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Materials
|
||||
normalOnly.Add(DropHelper.PerPlayer(ModContent.ItemType<CosmiliteBar>(), 1, 25, 35));
|
||||
|
||||
@@ -5,6 +5,7 @@ using CalamityMod.Items.LoreItems;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Mounts;
|
||||
using CalamityMod.Items.Placeables.Furniture.BossRelics;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Items.Potions;
|
||||
using CalamityMod.Items.TreasureBags;
|
||||
@@ -1387,6 +1388,7 @@ namespace CalamityMod.NPCs.ExoMechs.Ares
|
||||
normalOnly.Add(ItemDropRule.ByCondition(DropHelper.If(AresLoot), ModContent.ItemType<AresMask>(), 7, chanceNumerator: 2));
|
||||
normalOnly.Add(ItemDropRule.ByCondition(DropHelper.If(ApolloLoot), ModContent.ItemType<ArtemisMask>(), 7, chanceNumerator: 2));
|
||||
normalOnly.Add(ItemDropRule.ByCondition(DropHelper.If(ApolloLoot), ModContent.ItemType<ApolloMask>(), 7, chanceNumerator: 2));
|
||||
normalOnly.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ using CalamityMod.Items.LoreItems;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Pets;
|
||||
using CalamityMod.Items.Placeables.Furniture.BossRelics;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Items.TreasureBags;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
@@ -1161,6 +1162,7 @@ namespace CalamityMod.NPCs.HiveMind
|
||||
// Vanity
|
||||
normalOnly.Add(ModContent.ItemType<HiveMindMask>(), 7);
|
||||
normalOnly.Add(ModContent.ItemType<RottingEyeball>(), 10);
|
||||
normalOnly.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
}
|
||||
|
||||
npcLoot.Add(ModContent.ItemType<HiveMindTrophy>(), 10);
|
||||
|
||||
@@ -5,6 +5,7 @@ using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.LoreItems;
|
||||
using CalamityMod.Items.Placeables.Furniture.BossRelics;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Items.TreasureBags;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
@@ -788,6 +789,7 @@ namespace CalamityMod.NPCs.Leviathan
|
||||
// Vanity
|
||||
normalOnly.Add(ModContent.ItemType<LeviathanMask>(), 7);
|
||||
normalOnly.Add(ModContent.ItemType<AnahitaMask>(), 7);
|
||||
normalOnly.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Equipment
|
||||
normalOnly.Add(DropHelper.PerPlayer(ModContent.ItemType<LeviathanAmbergris>()));
|
||||
|
||||
@@ -4,6 +4,7 @@ using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.LoreItems;
|
||||
using CalamityMod.Items.Placeables.Furniture.BossRelics;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Items.Potions;
|
||||
using CalamityMod.Items.TreasureBags;
|
||||
@@ -442,6 +443,7 @@ namespace CalamityMod.NPCs.OldDuke
|
||||
|
||||
// Vanity
|
||||
normalOnly.Add(ModContent.ItemType<OldDukeMask>(), 7);
|
||||
normalOnly.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
}
|
||||
|
||||
npcLoot.Add(ModContent.ItemType<OldDukeTrophy>(), 10);
|
||||
|
||||
@@ -6,6 +6,7 @@ using CalamityMod.Items.LoreItems;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Pets;
|
||||
using CalamityMod.Items.Placeables.Furniture.BossRelics;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Items.TreasureBags;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
@@ -536,6 +537,7 @@ namespace CalamityMod.NPCs.Perforator
|
||||
// Vanity
|
||||
normalOnly.Add(ModContent.ItemType<PerforatorMask>(), 7);
|
||||
normalOnly.Add(ModContent.ItemType<BloodyVein>(), 10);
|
||||
normalOnly.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
}
|
||||
|
||||
npcLoot.Add(ModContent.ItemType<PerforatorTrophy>(), 10);
|
||||
|
||||
@@ -8,6 +8,7 @@ using CalamityMod.Items.LoreItems;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Pets;
|
||||
using CalamityMod.Items.Placeables.Furniture.BossRelics;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Items.TreasureBags;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
@@ -1274,6 +1275,7 @@ namespace CalamityMod.NPCs.PlaguebringerGoliath
|
||||
// Vanity
|
||||
normalOnly.Add(ModContent.ItemType<PlaguebringerGoliathMask>(), 7);
|
||||
normalOnly.Add(ModContent.ItemType<PlagueCaller>(), 10);
|
||||
normalOnly.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
}
|
||||
|
||||
npcLoot.Add(ModContent.ItemType<PlaguebringerGoliathTrophy>(), 10);
|
||||
|
||||
@@ -5,6 +5,7 @@ using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.LoreItems;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables.Furniture.BossRelics;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Items.Potions;
|
||||
using CalamityMod.Items.TreasureBags;
|
||||
@@ -1049,6 +1050,7 @@ namespace CalamityMod.NPCs.Polterghast
|
||||
|
||||
// Vanity
|
||||
normalOnly.Add(ModContent.ItemType<PolterghastMask>(), 7);
|
||||
normalOnly.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
}
|
||||
|
||||
npcLoot.Add(ModContent.ItemType<PolterghastTrophy>(), 10);
|
||||
|
||||
@@ -17,6 +17,7 @@ using Terraria.GameContent.Bestiary;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod.Items.Placeables.Furniture.BossRelics;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Events;
|
||||
using Terraria.Audio;
|
||||
@@ -511,6 +512,9 @@ namespace CalamityMod.NPCs.ProfanedGuardians
|
||||
npcLoot.Add(ModContent.ItemType<ProfanedGuardianTrophy>(), 10);
|
||||
npcLoot.Add(ModContent.ItemType<ProfanedCore>());
|
||||
|
||||
// Furniture
|
||||
npcLoot.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Relic
|
||||
npcLoot.DefineConditionalDropSet(DropHelper.RevAndMaster).Add(ModContent.ItemType<ProfanedGuardiansRelic>());
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@ using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.Dyes;
|
||||
using CalamityMod.Items.LoreItems;
|
||||
using CalamityMod.Items.Placeables.Furniture.BossRelics;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Items.Potions;
|
||||
using CalamityMod.Items.SummonItems;
|
||||
@@ -1598,6 +1599,7 @@ namespace CalamityMod.NPCs.Providence
|
||||
|
||||
// Vanity
|
||||
normalOnly.Add(ModContent.ItemType<ProvidenceMask>(), 7);
|
||||
normalOnly.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
}
|
||||
|
||||
npcLoot.Add(ModContent.ItemType<ProvidenceTrophy>(), 10);
|
||||
|
||||
@@ -4,6 +4,7 @@ using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.LoreItems;
|
||||
using CalamityMod.Items.Placeables.Furniture.BossRelics;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Items.TreasureBags;
|
||||
using CalamityMod.Items.TreasureBags.MiscGrabBags;
|
||||
@@ -900,6 +901,7 @@ namespace CalamityMod.NPCs.Ravager
|
||||
|
||||
// Vanity
|
||||
normalOnly.Add(ModContent.ItemType<RavagerMask>(), 7);
|
||||
normalOnly.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
}
|
||||
|
||||
npcLoot.Add(ModContent.ItemType<RavagerTrophy>(), 10);
|
||||
|
||||
@@ -6,6 +6,7 @@ using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.LoreItems;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables.Furniture.BossRelics;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Items.Potions;
|
||||
using CalamityMod.Items.TreasureBags;
|
||||
@@ -801,6 +802,7 @@ namespace CalamityMod.NPCs.Signus
|
||||
godSlayerVanity.OnSuccess(ItemDropRule.Common(ModContent.ItemType<AncientGodSlayerChestplate>()));
|
||||
godSlayerVanity.OnSuccess(ItemDropRule.Common(ModContent.ItemType<AncientGodSlayerLeggings>()));
|
||||
normalOnly.Add(godSlayerVanity);
|
||||
normalOnly.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
}
|
||||
|
||||
npcLoot.Add(ModContent.ItemType<SignusTrophy>(), 10);
|
||||
|
||||
@@ -5,6 +5,7 @@ using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.LoreItems;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables.Furniture.BossRelics;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Items.Potions;
|
||||
using CalamityMod.Items.TreasureBags;
|
||||
@@ -612,6 +613,7 @@ namespace CalamityMod.NPCs.SlimeGod
|
||||
// Vanity
|
||||
normalOnly.Add(ModContent.ItemType<SlimeGodMask>(), 7);
|
||||
normalOnly.Add(ModContent.ItemType<SlimeGodMask2>(), 7);
|
||||
normalOnly.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Equipment
|
||||
normalOnly.Add(ModContent.ItemType<ManaPolarizer>());
|
||||
|
||||
@@ -5,6 +5,7 @@ using CalamityMod.Items.LoreItems;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Pets;
|
||||
using CalamityMod.Items.Placeables.Furniture.BossRelics;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Items.Potions;
|
||||
using CalamityMod.Items.TreasureBags;
|
||||
@@ -968,6 +969,7 @@ namespace CalamityMod.NPCs.StormWeaver
|
||||
godSlayerVanity.OnSuccess(ItemDropRule.Common(ModContent.ItemType<AncientGodSlayerChestplate>()));
|
||||
godSlayerVanity.OnSuccess(ItemDropRule.Common(ModContent.ItemType<AncientGodSlayerLeggings>()));
|
||||
normalOnly.Add(godSlayerVanity);
|
||||
normalOnly.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
}
|
||||
|
||||
npcLoot.Add(ModContent.ItemType<WeaverTrophy>(), 10);
|
||||
|
||||
@@ -7,6 +7,7 @@ using CalamityMod.Items.LoreItems;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Pets;
|
||||
using CalamityMod.Items.Placeables.Furniture.BossRelics;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Items.Potions;
|
||||
using CalamityMod.Items.TreasureBags;
|
||||
@@ -2592,6 +2593,9 @@ namespace CalamityMod.NPCs.SupremeCalamitas
|
||||
scalVanitySet.OnSuccess(ItemDropRule.Common(ModContent.ItemType<SCalRobes>()));
|
||||
scalVanitySet.OnSuccess(ItemDropRule.Common(ModContent.ItemType<SCalBoots>()));
|
||||
normalOnly.Add(scalVanitySet);
|
||||
|
||||
// Furniture
|
||||
normalOnly.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
}
|
||||
|
||||
// One of the only Death-exclusive drops in the mod, as requested by Leviathan: Levi pet and Gael's Greatsword
|
||||
|
||||
@@ -7,6 +7,7 @@ using CalamityMod.Items.LoreItems;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Pets;
|
||||
using CalamityMod.Items.Placeables.Furniture.BossRelics;
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Items.Potions;
|
||||
using CalamityMod.Items.TreasureBags;
|
||||
@@ -2828,6 +2829,7 @@ namespace CalamityMod.NPCs.Yharon
|
||||
normalOnly.Add(ModContent.ItemType<YharonMask>(), 7);
|
||||
normalOnly.Add(ModContent.ItemType<ForgottenDragonEgg>(), 10);
|
||||
normalOnly.Add(ModContent.ItemType<McNuggets>(), 10);
|
||||
normalOnly.Add(ModContent.ItemType<ThankYouPainting>(), ThankYouPainting.DropInt);
|
||||
|
||||
// Materials
|
||||
normalOnly.Add(DropHelper.PerPlayer(ModContent.ItemType<YharonSoulFragment>(), 1, 25, 30));
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
using CalamityMod.Items.Placeables.Furniture.DevPaintings;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ObjectData;
|
||||
|
||||
namespace CalamityMod.Tiles.Furniture.DevPaintings
|
||||
{
|
||||
public class ThankYouPaintingTile : ModTile
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileLavaDeath[Type] = true;
|
||||
Main.tileWaterDeath[Type] = false;
|
||||
TileObjectData.newTile.CopyFrom(TileObjectData.Style3x3Wall);
|
||||
TileObjectData.newTile.Width = 6;
|
||||
TileObjectData.newTile.Height = 4;
|
||||
TileObjectData.newTile.Origin = new Point16(2, 2);
|
||||
TileObjectData.newTile.CoordinateHeights = new int[] { 16, 16, 16, 16 };
|
||||
TileObjectData.newTile.LavaDeath = true;
|
||||
TileObjectData.addTile(Type);
|
||||
|
||||
TileID.Sets.DisableSmartCursor[Type] = true;
|
||||
TileID.Sets.FramesOnKillWall[Type] = true;
|
||||
TileID.Sets.DisableSmartCursor[Type] = true;
|
||||
DustType = 7;
|
||||
ModTranslation name = CreateMapEntryName();
|
||||
name.SetDefault("Thank You Painting");
|
||||
AddMapEntry(new Color(120, 85, 60), name);
|
||||
}
|
||||
|
||||
public override void KillMultiTile(int i, int j, int frameX, int frameY)
|
||||
{
|
||||
Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 96, 96, ModContent.ItemType<ThankYouPainting>());
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 3.8 KiB |
@@ -1354,5 +1354,24 @@ namespace CalamityMod
|
||||
TileID.Sets.DisableSmartCursor[mt.Type] = true;
|
||||
TileID.Sets.FramesOnKillWall[mt.Type] = true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Extension which initializes a ModTile to be a 6x6 Painting.
|
||||
/// </summary>
|
||||
/// <param name="mt">The ModTile which is being initialized.</param>
|
||||
/// <param name="lavaImmune">Whether this tile is supposed to be immune to lava. Defaults to false.</param>
|
||||
internal static void SetUp6x6Painting(this ModTile mt, bool lavaImmune = false)
|
||||
{
|
||||
Main.tileFrameImportant[mt.Type] = true;
|
||||
Main.tileLavaDeath[mt.Type] = !lavaImmune;
|
||||
Main.tileWaterDeath[mt.Type] = false;
|
||||
TileObjectData.newTile.CopyFrom(TileObjectData.Style3x3Wall);
|
||||
TileObjectData.newTile.Width = 6;
|
||||
TileObjectData.newTile.Height = 6;
|
||||
TileObjectData.newTile.Origin = new Point16(2, 2);
|
||||
TileObjectData.newTile.CoordinateHeights = new int[] { 16, 16, 16, 16, 16, 16 };
|
||||
TileObjectData.newTile.LavaDeath = !lavaImmune;
|
||||
TileObjectData.addTile(mt.Type);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user