npc's basically finished I thinkk
This commit is contained in:
1 parent
4ab1dacf6f
commit
175b2567b8
14 files changed
+89
-18
No files matched your search
@@ -5,6 +5,9 @@ using System.IO;
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
using CalamityMod.Buffs.StatDebuffs;
|
||||
using CalamityMod.Projectiles.Boss;
|
||||
namespace CalamityMod.NPCs
|
||||
{
|
||||
public class DevourerofGodsBody : ModNPC
|
||||
|
||||
@@ -3,6 +3,7 @@ using System.IO;
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
namespace CalamityMod.NPCs
|
||||
{
|
||||
public class DevourerofGodsBody2 : ModNPC
|
||||
|
||||
@@ -4,6 +4,9 @@ using System.IO;
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
using CalamityMod.Buffs.StatDebuffs;
|
||||
using CalamityMod.Projectiles.Boss;
|
||||
namespace CalamityMod.NPCs
|
||||
{
|
||||
[AutoloadBossHead]
|
||||
|
||||
@@ -7,6 +7,8 @@ using Terraria.ModLoader;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
using CalamityMod.Buffs.StatDebuffs;
|
||||
namespace CalamityMod.NPCs
|
||||
{
|
||||
[AutoloadBossHead]
|
||||
|
||||
@@ -4,6 +4,7 @@ using System.IO;
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
namespace CalamityMod.NPCs
|
||||
{
|
||||
public class DevourerofGodsHead2 : ModNPC
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
|
||||
using CalamityMod.World;
|
||||
using CalamityMod.World;
|
||||
using Microsoft.Xna.Framework;
|
||||
using System;
|
||||
using System.IO;
|
||||
@@ -8,6 +7,22 @@ using Terraria.ModLoader;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
using CalamityMod.Buffs.StatDebuffs;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
using CalamityMod.Items.Weapons.Summon;
|
||||
using CalamityMod.Items.Weapons.Rogue;
|
||||
using CalamityMod.Items.LoreItems;
|
||||
using CalamityMod.Items.TreasureBags;
|
||||
using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.Potions;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Items.Placeables.FurnitureCosmilite;
|
||||
using CalamityMod.Projectiles.Boss;
|
||||
namespace CalamityMod.NPCs
|
||||
{
|
||||
[AutoloadBossHead]
|
||||
@@ -857,10 +872,10 @@ namespace CalamityMod.NPCs
|
||||
// Weapons
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<Excelsus>(), 4);
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<EradicatorMelee>(), 4);
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<Items.TheObliterator>(), 4);
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<TheObliterator>(), 4);
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<Deathwind>(), 4);
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<Skullmasher>(), DropHelper.RareVariantDropRateInt);
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<Items.Norfleet>(), DropHelper.RareVariantDropRateInt);
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<Norfleet>(), DropHelper.RareVariantDropRateInt);
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<DeathhailStaff>(), 4);
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<StaffoftheMechworm>(), 4);
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<Eradicator>(), 4);
|
||||
|
||||
@@ -4,6 +4,8 @@ using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
using CalamityMod.Buffs.StatDebuffs;
|
||||
namespace CalamityMod.NPCs
|
||||
{
|
||||
[AutoloadBossHead]
|
||||
|
||||
@@ -3,6 +3,7 @@ using System.IO;
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
namespace CalamityMod.NPCs
|
||||
{
|
||||
public class DevourerofGodsTail2 : ModNPC
|
||||
|
||||
@@ -4,6 +4,8 @@ using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
using CalamityMod.Buffs.StatDebuffs;
|
||||
namespace CalamityMod.NPCs
|
||||
{
|
||||
[AutoloadBossHead]
|
||||
|
||||
@@ -4,6 +4,9 @@ using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using CalamityMod.Items.Weapons.Rogue;
|
||||
using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Projectiles.Rogue;
|
||||
namespace CalamityMod.NPCs
|
||||
{
|
||||
[AutoloadHead]
|
||||
@@ -122,7 +125,7 @@ namespace CalamityMod.NPCs
|
||||
PossibleDialogs.Add("Providence HATES it when you take her stuff. I learned that the hard way.");
|
||||
PossibleDialogs.Add("You think I can get away with looting from ghosts? It ain't like they can pick things up.");
|
||||
}
|
||||
if (Main.LocalPlayer.InventoryHas(ModContent.ItemType<Items.Valediction>()) ||
|
||||
if (Main.LocalPlayer.InventoryHas(ModContent.ItemType<Valediction>()) ||
|
||||
Main.LocalPlayer.InventoryHas(ModContent.ItemType<TheReaper>()))
|
||||
{
|
||||
PossibleDialogs.Add("Oh man, did you rip that off a shark!? Now that's a weapon!");
|
||||
|
||||
+18
-6
@@ -5,6 +5,18 @@ using Terraria.ModLoader;
|
||||
using Terraria.GameContent.Events;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
using CalamityMod.Items.Weapons.Summon;
|
||||
using CalamityMod.Items.Weapons.Rogue;
|
||||
using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Accessories.Vanity;
|
||||
using CalamityMod.Items.Pets;
|
||||
using CalamityMod.Items.SummonItems;
|
||||
using CalamityMod.Items.Ammo;
|
||||
using CalamityMod.Items.Potions;
|
||||
using CalamityMod.Projectiles.Typeless;
|
||||
namespace CalamityMod.NPCs
|
||||
{
|
||||
[AutoloadHead]
|
||||
@@ -135,21 +147,21 @@ namespace CalamityMod.NPCs
|
||||
nextSlot++;
|
||||
shop.item[nextSlot].SetDefaults(ModContent.ItemType<EternalBlizzard>());
|
||||
nextSlot++;
|
||||
shop.item[nextSlot].SetDefaults(ModContent.ItemType<Items.WintersFury>());
|
||||
shop.item[nextSlot].SetDefaults(ModContent.ItemType<WintersFury>());
|
||||
nextSlot++;
|
||||
shop.item[nextSlot].SetDefaults(ModContent.ItemType<Items.ArcticBearPaw>());
|
||||
shop.item[nextSlot].SetDefaults(ModContent.ItemType<ArcticBearPaw>());
|
||||
nextSlot++;
|
||||
shop.item[nextSlot].SetDefaults(ModContent.ItemType<IcicleTrident>());
|
||||
nextSlot++;
|
||||
shop.item[nextSlot].SetDefaults(ModContent.ItemType<Items.FrostyFlare>());
|
||||
shop.item[nextSlot].SetDefaults(ModContent.ItemType<FrostyFlare>());
|
||||
nextSlot++;
|
||||
shop.item[nextSlot].SetDefaults(ModContent.ItemType<CryogenicStaff>());
|
||||
nextSlot++;
|
||||
shop.item[nextSlot].SetDefaults(ModContent.ItemType<PermafrostsConcoction>());
|
||||
nextSlot++;
|
||||
shop.item[nextSlot].SetDefaults(ModContent.ItemType<Items.IcyBullet>());
|
||||
shop.item[nextSlot].SetDefaults(ModContent.ItemType<IcyBullet>());
|
||||
nextSlot++;
|
||||
shop.item[nextSlot].SetDefaults(ModContent.ItemType<Items.IcicleArrow>());
|
||||
shop.item[nextSlot].SetDefaults(ModContent.ItemType<IcicleArrow>());
|
||||
nextSlot++;
|
||||
shop.item[nextSlot].SetDefaults(ItemID.SuperManaPotion);
|
||||
nextSlot++;
|
||||
@@ -161,7 +173,7 @@ namespace CalamityMod.NPCs
|
||||
nextSlot++;
|
||||
shop.item[nextSlot].SetDefaults(ModContent.ItemType<Popo>());
|
||||
nextSlot++;
|
||||
shop.item[nextSlot].SetDefaults(mod.ItemType("CryoKey"));
|
||||
shop.item[nextSlot].SetDefaults(ModContent.ItemType<CryoKey>());
|
||||
shop.item[nextSlot].shopCustomPrice = Item.buyPrice(0, 15, 0, 0);
|
||||
nextSlot++;
|
||||
}
|
||||
|
||||
@@ -6,6 +6,9 @@ using Terraria.DataStructures;
|
||||
using Terraria.GameContent.Events;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using CalamityMod.Items.Potions.Alcohol;
|
||||
using CalamityMod.Items.Placeables.Furniture;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
namespace CalamityMod.NPCs
|
||||
{
|
||||
[AutoloadHead]
|
||||
|
||||
+10
-2
@@ -4,6 +4,14 @@ using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using CalamityMod.Buffs.StatBuffs;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
using CalamityMod.Items.Weapons.Summon;
|
||||
using CalamityMod.Items.Weapons.Rogue;
|
||||
using CalamityMod.Items.SummonItems;
|
||||
using CalamityMod.Projectiles.Rogue;
|
||||
namespace CalamityMod.NPCs
|
||||
{
|
||||
[AutoloadHead]
|
||||
@@ -260,13 +268,13 @@ namespace CalamityMod.NPCs
|
||||
nextSlot++;
|
||||
if (CalamityWorld.downedDesertScourge)
|
||||
{
|
||||
shop.item[nextSlot].SetDefaults(mod.ItemType("DriedSeafood"));
|
||||
shop.item[nextSlot].SetDefaults(ModContent.ItemType<DriedSeafood>());
|
||||
shop.item[nextSlot].shopCustomPrice = Item.buyPrice(0, 2, 0, 0);
|
||||
nextSlot++;
|
||||
}
|
||||
if (CalamityWorld.downedAquaticScourge)
|
||||
{
|
||||
shop.item[nextSlot].SetDefaults(mod.ItemType("Seafood"));
|
||||
shop.item[nextSlot].SetDefaults(ModContent.ItemType<Seafood>());
|
||||
shop.item[nextSlot].shopCustomPrice = Item.buyPrice(0, 20, 0, 0);
|
||||
nextSlot++;
|
||||
}
|
||||
|
||||
+20
-5
@@ -1,5 +1,4 @@
|
||||
|
||||
using CalamityMod.World;
|
||||
using CalamityMod.World;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using System;
|
||||
@@ -10,6 +9,22 @@ using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using Terraria.Utilities;
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
using CalamityMod.Buffs.StatDebuffs;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
using CalamityMod.Items.Weapons.Summon;
|
||||
using CalamityMod.Items.Weapons.Rogue;
|
||||
using CalamityMod.Items.LoreItems;
|
||||
using CalamityMod.Items.TreasureBags;
|
||||
using CalamityMod.Items.Armor.Vanity;
|
||||
using CalamityMod.Items.Pets;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Tiles.Ores;
|
||||
using CalamityMod.Projectiles.Boss;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
{
|
||||
@@ -2768,7 +2783,7 @@ namespace CalamityMod.NPCs
|
||||
if (!Main.expertMode)
|
||||
{
|
||||
// Weapons
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<Items.DragonRage>(), 4);
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<DragonRage>(), 4);
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<TheBurningSky>(), 4);
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<DragonsBreath>(), 4);
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<ChickenCannon>(), 4);
|
||||
@@ -2794,7 +2809,7 @@ namespace CalamityMod.NPCs
|
||||
|
||||
// Weapons
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<VoidVortex>(), DropHelper.RareVariantDropRateInt);
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<Items.YharimsCrystal>(), DropHelper.LegendaryDropRateInt);
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<YharimsCrystal>(), DropHelper.LegendaryDropRateInt);
|
||||
|
||||
// Vanity
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<YharonTrophy>(), 10);
|
||||
@@ -2807,7 +2822,7 @@ namespace CalamityMod.NPCs
|
||||
// If Yharon has not been killed yet, notify players of Auric Ore
|
||||
if (!CalamityWorld.downedYharon)
|
||||
{
|
||||
WorldGenerationMethods.SpawnOre(ModContent.TileType<Tiles.AuricOre>(), 2E-05, .6f, .8f);
|
||||
WorldGenerationMethods.SpawnOre(ModContent.TileType<AuricOre>(), 2E-05, .6f, .8f);
|
||||
|
||||
string key = "Mods.CalamityMod.AuricOreText";
|
||||
Color messageColor = Color.Gold;
|
||||
|
||||
Reference in new issue
Block a user