This commit is contained in:
Andrew Marheine committed 2020-04-08 00:18:47 -05:00
commit 519c7170fa
77 files changed
+856 -62

No files matched your search

+2
View File
@@ -433,6 +433,7 @@ namespace CalamityMod.CalPlayer
public bool celestialJewel = false;
public bool astralArcanum = false;
public bool harpyRing = false;
public bool harpyWingBoost = false; //harpy wings + harpy ring
public bool ironBoots = false;
public bool depthCharm = false;
public bool anechoicPlating = false;
@@ -1428,6 +1429,7 @@ namespace CalamityMod.CalPlayer
celestialJewel = false;
astralArcanum = false;
harpyRing = false;
harpyWingBoost = false; //harpy wings + harpy ring
darkSunRing = false;
calamityRing = false;
eArtifact = false;
+7 -5
View File
@@ -150,10 +150,12 @@ namespace CalamityMod.CalPlayer
player.lifeRegen = 0;
player.lifeRegenTime = 0;
lifeRegenLost += (modPlayer.pissWaterBoost / 250);
if (lifeRegenLost < -8)
lifeRegenLost = -8;
int waterDivisor = modPlayer.sulfurSet ? 400 : 250;
int sulphurWater = modPlayer.pissWaterBoost / waterDivisor;
int minimumRegenLost = modPlayer.sulfurSet ? 4 : 8;
if (sulphurWater < minimumRegenLost)
sulphurWater = minimumRegenLost;
lifeRegenLost += sulphurWater;
}
else
modPlayer.pissWaterBoost = 0;
@@ -164,7 +166,7 @@ namespace CalamityMod.CalPlayer
player.lifeRegen = 0;
player.lifeRegenTime = 0;
lifeRegenLost += 6;
lifeRegenLost += modPlayer.sulfurSet ? 4 : 6;
}
if (modPlayer.hFlames)
Binary file not shown.

Before

Width:  |  Height:  |  Size: 537 B

After

Width:  |  Height:  |  Size: 606 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

+1
View File
@@ -4,6 +4,7 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Accessories
{
[AutoloadEquip(EquipType.Shoes)]
public class IronBoots : ModItem
{
public override void SetStaticDefaults()
Binary file not shown.

Before

Width:  |  Height:  |  Size: 561 B

After

Width:  |  Height:  |  Size: 620 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 951 B

After

Width:  |  Height:  |  Size: 568 B

+4
View File
@@ -80,6 +80,10 @@ namespace CalamityMod.Items.Accessories
line.text = "";
}
}
else if (line.mod == "Terraria" && line.text.Contains("Sell price"))
{
line.text = "";
}
}
+10 -1
View File
@@ -1,3 +1,4 @@
using CalamityMod.Items.Armor;
using CalamityMod.Items.Materials;
using Terraria;
using Terraria.ID;
@@ -14,7 +15,8 @@ namespace CalamityMod.Items.Accessories.Wings
Tooltip.SetDefault("Horizontal speed: 6.25\n" +
"Acceleration multiplier: 1\n" +
"Average vertical speed\n" +
"Flight time: 60");
"Flight time: 60\n" +
"25% increased jump speed while wearing the Aerospec armor");
}
public override void SetDefaults()
@@ -28,6 +30,13 @@ namespace CalamityMod.Items.Accessories.Wings
public override void UpdateAccessory(Player player, bool hideVisual)
{
if ((player.armor[0].type == ModContent.ItemType<AerospecHat>() || player.armor[0].type == ModContent.ItemType<AerospecHeadgear>() ||
player.armor[0].type == ModContent.ItemType<AerospecHelm>() || player.armor[0].type == ModContent.ItemType<AerospecHood>() ||
player.armor[0].type == ModContent.ItemType<AerospecHelmet>()) &&
player.armor[1].type == ModContent.ItemType<AerospecBreastplate>() && player.armor[2].type == ModContent.ItemType<AerospecLeggings>())
{
player.jumpSpeedBoost += 0.25f;
}
player.wingTimeMax = 60;
player.noFallDmg = true;
}
+1
View File
@@ -38,6 +38,7 @@ namespace CalamityMod.Items.Armor
player.setBonus = "Attacking and being attacked by enemies inflicts poison\n" +
"Grants an additional jump\n" +
"Jumping off the ground leaves behind a sulphurous bubble that applies venom on hit\n" +
"Reduces the severity of the sulphuric waters\n" +
"Slightly reduces breath loss in the abyss\n" +
"Rogue stealth builds while not attacking and slower while moving, up to a max of 100\n" +
"Once you have built max stealth, you will be able to perform a Stealth Strike\n" +
+53 -31
View File
@@ -182,6 +182,8 @@ namespace CalamityMod.Items
item.damage *= 4;
item.rare = 4;
}
if (item.type == ItemID.StarCannon)
item.UseSound = null;
switch (item.type)
{
@@ -199,6 +201,7 @@ namespace CalamityMod.Items
case ItemID.Gungnir:
case ItemID.ObsidianSwordfish:
case ItemID.MonkStaffT3:
case ItemID.MonkStaffT2:
case ItemID.MonkStaffT1:
trueMelee = true;
break;
@@ -211,11 +214,12 @@ namespace CalamityMod.Items
#region Shoot
public override bool Shoot(Item item, Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
{
CalamityPlayer modPlayer = player.Calamity();
if (rogue)
{
speedX *= player.Calamity().throwingVelocity;
speedY *= player.Calamity().throwingVelocity;
if (player.Calamity().gloveOfRecklessness)
speedX *= modPlayer.throwingVelocity;
speedY *= modPlayer.throwingVelocity;
if (modPlayer.gloveOfRecklessness)
{
Vector2 rotated = new Vector2(speedX, speedY);
rotated = rotated.RotatedByRandom(MathHelper.ToRadians(10f));
@@ -223,7 +227,7 @@ namespace CalamityMod.Items
speedY = rotated.Y;
}
}
if (player.Calamity().luxorsGift)
if (modPlayer.luxorsGift)
{
// useTime 9 = 0.9 useTime 2 = 0.2
double damageMult = 1.0;
@@ -250,36 +254,36 @@ namespace CalamityMod.Items
Projectile.NewProjectile(position.X, position.Y, 0f, 0f, ModContent.ProjectileType<LuxorsGiftSummon>(), damage, 0f, player.whoAmI, 0f, 0f);
}
}
if (player.Calamity().eArtifact && item.ranged && !rogue)
if (modPlayer.eArtifact && item.ranged && !rogue)
{
speedX *= 1.25f;
speedY *= 1.25f;
}
if (player.Calamity().bloodflareMage) //0 - 99
if (modPlayer.bloodflareMage) //0 - 99
{
if (item.magic && Main.rand.Next(0, 100) >= 95)
{
if (player.whoAmI == Main.myPlayer)
{
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<GhostlyBolt>(), (int)((double)damage * (player.Calamity().auricSet ? 4.2 : 2.6)), 1f, player.whoAmI, 0f, 0f);
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<GhostlyBolt>(), (int)(damage * (modPlayer.auricSet ? 4.2 : 2.6)), 1f, player.whoAmI, 0f, 0f);
}
}
}
if (player.Calamity().bloodflareRanged) //0 - 99
if (modPlayer.bloodflareRanged) //0 - 99
{
if (item.ranged && !rogue && Main.rand.Next(0, 100) >= 98)
{
if (player.whoAmI == Main.myPlayer)
{
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<BloodBomb>(), (int)((double)damage * (player.Calamity().auricSet ? 2.2 : 1.6)), 2f, player.whoAmI, 0f, 0f);
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<BloodBomb>(), (int)(damage * (modPlayer.auricSet ? 2.2 : 1.6)), 2f, player.whoAmI, 0f, 0f);
}
}
}
if (player.Calamity().tarraMage)
if (modPlayer.tarraMage)
{
if (player.Calamity().tarraCrits >= 5 && player.whoAmI == Main.myPlayer)
if (modPlayer.tarraCrits >= 5 && player.whoAmI == Main.myPlayer)
{
player.Calamity().tarraCrits = 0;
modPlayer.tarraCrits = 0;
int num106 = 9 + Main.rand.Next(3);
for (int num107 = 0; num107 < num106; num107++)
{
@@ -290,31 +294,31 @@ namespace CalamityMod.Items
num84 = item.shootSpeed / num84;
hardar *= num84;
hordor *= num84;
Projectile.NewProjectile(position.X, position.Y, hardar, hordor, 206, (int)((double)damage * 0.2), knockBack, player.whoAmI, 0.0f, 0.0f);
Projectile.NewProjectile(position.X, position.Y, hardar, hordor, ProjectileID.Leaf, (int)(damage * 0.2), knockBack, player.whoAmI, 0f, 0f);
}
}
}
if (player.Calamity().ataxiaBolt)
if (modPlayer.ataxiaBolt)
{
if (item.ranged && !rogue && Main.rand.NextBool(2))
{
if (player.whoAmI == Main.myPlayer)
{
Projectile.NewProjectile(position.X, position.Y, speedX * 1.25f, speedY * 1.25f, ModContent.ProjectileType<ChaosFlare>(), (int)((double)damage * 0.25), 2f, player.whoAmI, 0f, 0f);
Projectile.NewProjectile(position.X, position.Y, speedX * 1.25f, speedY * 1.25f, ModContent.ProjectileType<ChaosFlare>(), (int)(damage * 0.25), 2f, player.whoAmI, 0f, 0f);
}
}
}
if (player.Calamity().godSlayerRanged) //0 - 99
if (modPlayer.godSlayerRanged) //0 - 99
{
if (item.ranged && !rogue && Main.rand.Next(0, 100) >= 95)
{
if (player.whoAmI == Main.myPlayer)
{
Projectile.NewProjectile(position.X, position.Y, speedX * 1.25f, speedY * 1.25f, ModContent.ProjectileType<GodSlayerShrapnelRound>(), (int)((double)damage * (player.Calamity().auricSet ? 3.2 : 2.1)), 2f, player.whoAmI, 0f, 0f);
Projectile.NewProjectile(position.X, position.Y, speedX * 1.25f, speedY * 1.25f, ModContent.ProjectileType<GodSlayerShrapnelRound>(), (int)(damage * (modPlayer.auricSet ? 3.2 : 2.1)), 2f, player.whoAmI, 0f, 0f);
}
}
}
if (player.Calamity().ataxiaVolley)
if (modPlayer.ataxiaVolley)
{
if (rogue && Main.rand.NextBool(10))
{
@@ -330,23 +334,23 @@ namespace CalamityMod.Items
{
Vector2 vector2 = new Vector2(player.Center.X, player.Center.Y);
offsetAngle = startAngle + deltaAngle * (i + i * i) / 2f + 32f * i;
Projectile.NewProjectile(vector2.X, vector2.Y, (float)(Math.Sin(offsetAngle) * 5f), (float)(Math.Cos(offsetAngle) * 5f), ModContent.ProjectileType<ChaosFlare2>(), (int)((double)damage * 0.5), 1.25f, player.whoAmI, 0f, 0f);
Projectile.NewProjectile(vector2.X, vector2.Y, (float)(-Math.Sin(offsetAngle) * 5f), (float)(-Math.Cos(offsetAngle) * 5f), ModContent.ProjectileType<ChaosFlare2>(), (int)((double)damage * 0.5), 1.25f, player.whoAmI, 0f, 0f);
Projectile.NewProjectile(vector2.X, vector2.Y, (float)(Math.Sin(offsetAngle) * 5f), (float)(Math.Cos(offsetAngle) * 5f), ModContent.ProjectileType<ChaosFlare2>(), (int)(damage * 0.5), 1.25f, player.whoAmI, 0f, 0f);
Projectile.NewProjectile(vector2.X, vector2.Y, (float)(-Math.Sin(offsetAngle) * 5f), (float)(-Math.Cos(offsetAngle) * 5f), ModContent.ProjectileType<ChaosFlare2>(), (int)(damage * 0.5), 1.25f, player.whoAmI, 0f, 0f);
}
}
}
}
if (player.Calamity().reaverDoubleTap) //0 - 99
if (modPlayer.reaverDoubleTap) //0 - 99
{
if (item.ranged && !rogue && Main.rand.Next(0, 100) >= 90)
{
if (player.whoAmI == Main.myPlayer)
{
Projectile.NewProjectile(position.X, position.Y, speedX * 1.25f, speedY * 1.25f, ModContent.ProjectileType<MiniRocket>(), (int)((double)damage * 1.3), 2f, player.whoAmI, 0f, 0f);
Projectile.NewProjectile(position.X, position.Y, speedX * 1.25f, speedY * 1.25f, ModContent.ProjectileType<MiniRocket>(), (int)(damage * 1.3), 2f, player.whoAmI, 0f, 0f);
}
}
}
if (player.Calamity().victideSet)
if (modPlayer.victideSet)
{
if ((item.ranged || item.melee || item.magic ||
rogue || item.summon) && item.rare < 8 && Main.rand.NextBool(10))
@@ -357,20 +361,35 @@ namespace CalamityMod.Items
}
}
}
if (player.Calamity().dynamoStemCells)
if (modPlayer.dynamoStemCells)
{
if (item.ranged && !rogue && Main.rand.Next(0, 100) >= 80)
{
double damageMult = 1.0;
damageMult = (double)(item.useTime) / 30.0;
damageMult = (double)(item.useTime) / 30;
if (damageMult < 0.35)
damageMult = 0.35;
double newDamage = (double)damage * 2 * damageMult;
int newDamage = (int)(damage * 2 * damageMult);
if (player.whoAmI == Main.myPlayer)
{
Projectile.NewProjectile(position.X, position.Y, speedX * 1.25f, speedY * 1.25f, ModContent.ProjectileType<Minibirb>(), (int)newDamage, 2f, player.whoAmI, 0f, 0f);
Projectile.NewProjectile(position.X, position.Y, speedX * 1.25f, speedY * 1.25f, ModContent.ProjectileType<Minibirb>(), newDamage, 2f, player.whoAmI, 0f, 0f);
}
}
}
if (modPlayer.harpyWingBoost)
{
if (Main.rand.NextBool(5))
{
if (player.whoAmI == Main.myPlayer)
{
float spreadX = speedX + (float)Main.rand.Next(-15, 16) * 0.05f;
float spreadY = speedY + (float)Main.rand.Next(-15, 16) * 0.05f;
int feather = Projectile.NewProjectile(position.X, position.Y, spreadX * 1.25f, spreadY * 1.25f, ModContent.ProjectileType<TradewindsProjectile>(), damage / 2, 2f, player.whoAmI, 0f, 0f);
Main.projectile[feather].usesLocalNPCImmunity = true;
Main.projectile[feather].localNPCHitCooldown = 10;
Main.projectile[feather].Calamity().forceTypeless = true;
}
}
}
@@ -382,7 +401,7 @@ namespace CalamityMod.Items
position += muzzleOffset;
}
Projectile.NewProjectile(position, new Vector2(speedX, speedY), ModContent.ProjectileType<FallenStarProj>(), damage, knockBack, player.whoAmI);
Main.PlaySound(SoundID.Item11.WithPitchVariance(0.05f), position); // <--- This is optional; if using, add "item.UseSound = null" to GlobalItem.SetDefaults when checking for the Star Cannon's ID
Main.PlaySound(SoundID.Item11.WithPitchVariance(0.05f), position);
return false;
}
if (item.type == ItemID.PearlwoodBow)
@@ -515,7 +534,7 @@ namespace CalamityMod.Items
Vector2 correctedVelocity = Main.MouseWorld - player.Center;
correctedVelocity.Normalize();
bool shouldNerf = player.Calamity().endoCooper || player.Calamity().magicHat; //No bonkers damage memes thank you very much.
bool enrage = player.statLife <= (int)((double)player.statLifeMax2 * 0.5);
bool enrage = player.statLife <= (int)(player.statLifeMax2 * 0.5);
if (item.melee)
{
if (player.Calamity().profanedSoulWeaponUsage % (enrage ? 4 : 6) == 0)
@@ -580,7 +599,7 @@ namespace CalamityMod.Items
{
player.Calamity().profanedSoulWeaponUsage = 0;
}
int manaCost = (int)((float)100 * player.manaCost);
int manaCost = (int)(100 * player.manaCost);
if (player.statMana < manaCost && player.Calamity().profanedSoulWeaponUsage == 0)
{
if (player.manaFlower)
@@ -1740,7 +1759,8 @@ Provides heat and cold protection in Death Mode";
"Acceleration multiplier: 1\n" +
"Average vertical speed\n" +
"Flight time: 140\n" +
"30% increased movement speed";
"30% increased movement speed\n" +
"Most attacks have a chance to fire a feather on swing if Harpy Ring or Angel Treads are equipped";
}
}
}
@@ -2866,6 +2886,8 @@ Provides heat and cold protection in Death Mode";
}
else if (item.type == ItemID.HarpyWings)
{
if (modPlayer.harpyRing)
modPlayer.harpyWingBoost = true;
player.moveSpeed += 0.3f;
player.noFallDmg = true;
}
+15 -1
View File
@@ -1,5 +1,9 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
@@ -11,7 +15,7 @@ namespace CalamityMod.Items.LoreItems
Tooltip.SetDefault("A horror born of pollution and insatiable hunger; based on size alone this was merely a juvenile.\n" +
"These scourge creatures are the largest aquatic predators and very rarely do they frequent such shallow waters.\n" +
"Place in your inventory to gain immunity to the sulphurous waters and increase the stat gains from the Well Fed buff.\n" +
"However, without the Well Fed buff your stats will decrease due to your insatiable hunger.");
"However, without the Well Fed buff your stats will decrease due to your insatiable hunger.");
}
public override void SetDefaults()
@@ -32,5 +36,15 @@ namespace CalamityMod.Items.LoreItems
CalamityPlayer modPlayer = player.Calamity();
modPlayer.aquaticScourgeLore = true;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ModContent.ItemType<AquaticScourgeTrophy>());
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+14 -1
View File
@@ -1,4 +1,7 @@
using Terraria;
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -24,5 +27,15 @@ namespace CalamityMod.Items.LoreItems
{
return false;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ModContent.ItemType<AstrumDeusTrophy>());
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+13
View File
@@ -1,5 +1,8 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -32,5 +35,15 @@ namespace CalamityMod.Items.LoreItems
CalamityPlayer modPlayer = player.Calamity();
modPlayer.astrumAureusLore = true;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ModContent.ItemType<AstrageldonTrophy>());
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+13
View File
@@ -1,5 +1,8 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -32,5 +35,15 @@ namespace CalamityMod.Items.LoreItems
CalamityPlayer modPlayer = player.Calamity();
modPlayer.astrumDeusLore = true;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ModContent.ItemType<AstrumDeusTrophy>());
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+13 -1
View File
@@ -1,4 +1,6 @@
using Terraria;
using CalamityMod.Items.Materials;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -24,5 +26,15 @@ namespace CalamityMod.Items.LoreItems
{
return false;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ItemID.AncientCultistTrophy);
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+12 -2
View File
@@ -1,6 +1,6 @@
using Microsoft.Xna.Framework;
using CalamityMod.Items.Materials;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.DataStructures;
using Terraria.ID;
using Terraria.ModLoader;
@@ -70,5 +70,15 @@ namespace CalamityMod.Items.LoreItems
}
return true;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ItemID.BrainofCthulhuTrophy);
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+14 -1
View File
@@ -1,4 +1,7 @@
using Terraria;
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -24,5 +27,15 @@ namespace CalamityMod.Items.LoreItems
{
return false;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ModContent.ItemType<BrimstoneElementalTrophy>());
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
@@ -1,5 +1,8 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -32,5 +35,15 @@ namespace CalamityMod.Items.LoreItems
CalamityPlayer modPlayer = player.Calamity();
modPlayer.brimstoneElementalLore = true;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ModContent.ItemType<BrimstoneElementalTrophy>());
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+14 -1
View File
@@ -1,4 +1,7 @@
using Terraria;
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -25,5 +28,15 @@ namespace CalamityMod.Items.LoreItems
{
return false;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ModContent.ItemType<BumblebirbTrophy>());
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+13
View File
@@ -1,5 +1,8 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -34,5 +37,15 @@ namespace CalamityMod.Items.LoreItems
CalamityPlayer modPlayer = player.Calamity();
modPlayer.SCalLore = true;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ModContent.ItemType<SupremeCalamitasTrophy>());
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
@@ -1,5 +1,8 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -32,5 +35,15 @@ namespace CalamityMod.Items.LoreItems
CalamityPlayer modPlayer = player.Calamity();
modPlayer.calamitasLore = true;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ModContent.ItemType<CalamitasTrophy>());
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+12
View File
@@ -1,5 +1,7 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.Materials;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -32,5 +34,15 @@ namespace CalamityMod.Items.LoreItems
CalamityPlayer modPlayer = player.Calamity();
modPlayer.corruptionLore = true;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ItemID.EaterofWorldsTrophy);
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+14 -2
View File
@@ -1,6 +1,8 @@
using CalamityMod.Buffs.StatBuffs;
using CalamityMod.CalPlayer;
using CalamityMod.CalPlayer;
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
@@ -33,5 +35,15 @@ namespace CalamityMod.Items.LoreItems
CalamityPlayer modPlayer = player.Calamity();
modPlayer.crabulonLore = true;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ModContent.ItemType<CrabulonTrophy>());
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+12
View File
@@ -1,5 +1,7 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.Materials;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -32,5 +34,15 @@ namespace CalamityMod.Items.LoreItems
CalamityPlayer modPlayer = player.Calamity();
modPlayer.crimsonLore = true;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ItemID.BrainofCthulhuTrophy);
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+13
View File
@@ -1,5 +1,8 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -33,5 +36,15 @@ namespace CalamityMod.Items.LoreItems
modPlayer.dashMod = 6;
player.statDefense -= 10;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ModContent.ItemType<CryogenTrophy>());
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+14 -1
View File
@@ -1,4 +1,7 @@
using Terraria;
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -32,5 +35,15 @@ namespace CalamityMod.Items.LoreItems
{
player.Calamity().desertScourgeLore = true;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ModContent.ItemType<DesertScourgeTrophy>());
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+12
View File
@@ -1,5 +1,7 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.Materials;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -33,5 +35,15 @@ namespace CalamityMod.Items.LoreItems
CalamityPlayer modPlayer = player.Calamity();
modPlayer.destroyerLore = true;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ItemID.DestroyerTrophy);
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
@@ -1,5 +1,8 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -34,5 +37,15 @@ namespace CalamityMod.Items.LoreItems
CalamityPlayer modPlayer = player.Calamity();
modPlayer.DoGLore = true;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ModContent.ItemType<DevourerofGodsTrophy>());
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+12
View File
@@ -1,5 +1,7 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.Materials;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -33,5 +35,15 @@ namespace CalamityMod.Items.LoreItems
CalamityPlayer modPlayer = player.Calamity();
modPlayer.dukeFishronLore = true;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ItemID.DukeFishronTrophy);
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+12
View File
@@ -1,5 +1,7 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.Materials;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -33,5 +35,15 @@ namespace CalamityMod.Items.LoreItems
CalamityPlayer modPlayer = player.Calamity();
modPlayer.eaterOfWorldsLore = true;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ItemID.EaterofWorldsTrophy);
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+13 -1
View File
@@ -1,4 +1,6 @@
using Terraria;
using CalamityMod.Items.Materials;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -34,5 +36,15 @@ namespace CalamityMod.Items.LoreItems
else
player.blind = true;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ItemID.EyeofCthulhuTrophy);
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+12
View File
@@ -1,5 +1,7 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.Materials;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -32,5 +34,15 @@ namespace CalamityMod.Items.LoreItems
CalamityPlayer modPlayer = player.Calamity();
modPlayer.golemLore = true;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ItemID.GolemTrophy);
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+13
View File
@@ -1,5 +1,8 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -36,5 +39,15 @@ namespace CalamityMod.Items.LoreItems
modPlayer.hiveMindLore = true;
}
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ModContent.ItemType<HiveMindTrophy>());
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+13 -1
View File
@@ -1,4 +1,6 @@
using Terraria;
using CalamityMod.Items.Materials;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -31,5 +33,15 @@ namespace CalamityMod.Items.LoreItems
{
player.Calamity().kingSlimeLore = true;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ItemID.KingSlimeTrophy);
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
@@ -1,5 +1,8 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -34,5 +37,15 @@ namespace CalamityMod.Items.LoreItems
CalamityPlayer modPlayer = player.Calamity();
modPlayer.leviathanAndSirenLore = true;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ModContent.ItemType<LeviathanTrophy>());
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
@@ -1,5 +1,7 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.Materials;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -37,5 +39,15 @@ namespace CalamityMod.Items.LoreItems
modPlayer.lunaticCultistLore = true;
}
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ItemID.AncientCultistTrophy);
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+34 -1
View File
@@ -1,4 +1,6 @@
using Terraria;
using CalamityMod.Items.Materials;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -24,5 +26,36 @@ namespace CalamityMod.Items.LoreItems
{
return false;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ItemID.RetinazerTrophy);
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ItemID.SpazmatismTrophy);
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ItemID.DestroyerTrophy);
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ItemID.SkeletronPrimeTrophy);
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+12
View File
@@ -1,5 +1,7 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.Materials;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -34,5 +36,15 @@ namespace CalamityMod.Items.LoreItems
CalamityPlayer modPlayer = player.Calamity();
modPlayer.moonLordLore = true;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ItemID.MoonLordTrophy);
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+13
View File
@@ -1,5 +1,8 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -32,5 +35,15 @@ namespace CalamityMod.Items.LoreItems
CalamityPlayer modPlayer = player.Calamity();
modPlayer.oceanLore = true;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ModContent.ItemType<LeviathanTrophy>());
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+13
View File
@@ -1,5 +1,8 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -33,5 +36,15 @@ namespace CalamityMod.Items.LoreItems
CalamityPlayer modPlayer = player.Calamity();
modPlayer.boomerDukeLore = true;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ModContent.ItemType<OldDukeTrophy>());
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+13
View File
@@ -1,5 +1,8 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -35,5 +38,15 @@ namespace CalamityMod.Items.LoreItems
modPlayer.perforatorLore = true;
}
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ModContent.ItemType<PerforatorTrophy>());
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
@@ -1,5 +1,8 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -32,5 +35,15 @@ namespace CalamityMod.Items.LoreItems
CalamityPlayer modPlayer = player.Calamity();
modPlayer.plaguebringerGoliathLore = true;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ModContent.ItemType<PlaguebringerGoliathTrophy>());
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+12
View File
@@ -1,5 +1,7 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.Materials;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -33,5 +35,15 @@ namespace CalamityMod.Items.LoreItems
CalamityPlayer modPlayer = player.Calamity();
modPlayer.planteraLore = true;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ItemID.PlanteraTrophy);
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+13
View File
@@ -1,5 +1,8 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -33,5 +36,15 @@ namespace CalamityMod.Items.LoreItems
CalamityPlayer modPlayer = player.Calamity();
modPlayer.polterghastLore = true;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ModContent.ItemType<PolterghastTrophy>());
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+14 -1
View File
@@ -1,4 +1,7 @@
using Terraria;
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -26,5 +29,15 @@ namespace CalamityMod.Items.LoreItems
{
return false;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ModContent.ItemType<ProfanedGuardianTrophy>());
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+13
View File
@@ -1,5 +1,8 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -34,5 +37,15 @@ namespace CalamityMod.Items.LoreItems
CalamityPlayer modPlayer = player.Calamity();
modPlayer.providenceLore = true;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ModContent.ItemType<ProvidenceTrophy>());
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+12
View File
@@ -1,5 +1,7 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.Materials;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -31,5 +33,15 @@ namespace CalamityMod.Items.LoreItems
CalamityPlayer modPlayer = player.Calamity();
modPlayer.queenBeeLore = true;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ItemID.QueenBeeTrophy);
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+13
View File
@@ -1,5 +1,8 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -32,5 +35,15 @@ namespace CalamityMod.Items.LoreItems
CalamityPlayer modPlayer = player.Calamity();
modPlayer.ravagerLore = true;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ModContent.ItemType<RavagerTrophy>());
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+28 -1
View File
@@ -1,4 +1,7 @@
using Terraria;
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -26,5 +29,29 @@ namespace CalamityMod.Items.LoreItems
{
return false;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ModContent.ItemType<CeaselessVoidTrophy>());
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ModContent.ItemType<WeaverTrophy>());
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ModContent.ItemType<SignusTrophy>());
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+12
View File
@@ -1,5 +1,7 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.Materials;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -36,5 +38,15 @@ namespace CalamityMod.Items.LoreItems
modPlayer.skeletronLore = true;
}
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ItemID.SkeletronTrophy);
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
@@ -1,5 +1,7 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.Materials;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -33,5 +35,15 @@ namespace CalamityMod.Items.LoreItems
CalamityPlayer modPlayer = player.Calamity();
modPlayer.skeletronPrimeLore = true;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ItemID.SkeletronPrimeTrophy);
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+13 -1
View File
@@ -1,4 +1,6 @@
using Terraria;
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
@@ -43,5 +45,15 @@ namespace CalamityMod.Items.LoreItems
player.statDefense -= 10;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ModContent.ItemType<SlimeGodTrophy>());
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+14 -1
View File
@@ -1,4 +1,7 @@
using Terraria;
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -24,5 +27,15 @@ namespace CalamityMod.Items.LoreItems
{
return false;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ModContent.ItemType<AquaticScourgeTrophy>());
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+19
View File
@@ -1,5 +1,7 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.Materials;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -34,5 +36,22 @@ namespace CalamityMod.Items.LoreItems
CalamityPlayer modPlayer = player.Calamity();
modPlayer.twinsLore = true;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ItemID.RetinazerTrophy);
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ItemID.SpazmatismTrophy);
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+12
View File
@@ -1,5 +1,7 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.Materials;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -32,5 +34,15 @@ namespace CalamityMod.Items.LoreItems
CalamityPlayer modPlayer = player.Calamity();
modPlayer.underworldLore = true;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ItemID.WallofFleshTrophy);
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+12
View File
@@ -1,5 +1,7 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.Materials;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -33,5 +35,15 @@ namespace CalamityMod.Items.LoreItems
CalamityPlayer modPlayer = player.Calamity();
modPlayer.wallOfFleshLore = true;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ItemID.WallofFleshTrophy);
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
+13
View File
@@ -1,5 +1,8 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
@@ -33,5 +36,15 @@ namespace CalamityMod.Items.LoreItems
CalamityPlayer modPlayer = player.Calamity();
modPlayer.yharonLore = true;
}
public override void AddRecipes()
{
ModRecipe r = new ModRecipe(mod);
r.SetResult(this);
r.AddTile(TileID.Bookcases);
r.AddIngredient(ModContent.ItemType<YharonTrophy>());
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
r.AddRecipe();
}
}
}
@@ -0,0 +1,29 @@
using CalamityMod.Tiles.Furniture;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.Furniture.Trophies
{
public class ProfanedGuardianTrophy : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Profaned Guardian Trophy");
}
public override void SetDefaults()
{
item.width = 30;
item.height = 30;
item.maxStack = 99;
item.useTurn = true;
item.autoReuse = true;
item.useAnimation = 15;
item.useTime = 10;
item.useStyle = 1;
item.consumable = true;
item.value = 50000;
item.rare = 1;
item.createTile = ModContent.TileType<BossTrophy>();
item.placeStyle = 25;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 752 B

@@ -0,0 +1,29 @@
using CalamityMod.Tiles.Furniture;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.Furniture.Trophies
{
public class SupremeCalamitasTrophy : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Supreme Calamitas Trophy");
}
public override void SetDefaults()
{
item.width = 30;
item.height = 30;
item.maxStack = 99;
item.useTurn = true;
item.autoReuse = true;
item.useAnimation = 15;
item.useTime = 10;
item.useStyle = 1;
item.consumable = true;
item.value = 50000;
item.rare = 1;
item.createTile = ModContent.TileType<BossTrophy>();
item.placeStyle = 26;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 723 B

+1 -1
View File
@@ -97,7 +97,7 @@ namespace CalamityMod.Items.Weapons.Ranged
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ItemID.SDMG);
recipe.AddIngredient(ModContent.ItemType<SDFMG>());
recipe.AddIngredient(ModContent.ItemType<ShadowspecBar>(), 5);
recipe.AddIngredient(ItemID.SoulofMight, 10);
recipe.AddIngredient(ItemID.SoulofSight, 10);
+2 -2
View File
@@ -408,7 +408,7 @@ namespace CalamityMod
int type = NPCType<ProfanedGuardianBoss>();
int summon = ItemType<ProfanedShard>();
List<int> loot = new List<int>() { ItemType<ProfanedCore>(), ItemID.GreaterHealingPotion };
List<int> collection = new List<int>() { ItemType<ProfanedGuardianMask>(), ItemType<KnowledgeProfanedGuardians>() };
List<int> collection = new List<int>() { ItemType<ProfanedGuardianTrophy>(), ItemType<ProfanedGuardianMask>(), ItemType<KnowledgeProfanedGuardians>() };
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/ProfanedGuardians_BossChecklist";
@@ -535,7 +535,7 @@ namespace CalamityMod
int type = NPCType<SupremeCalamitas>();
int summon = ItemType<EyeofExtinction>();
List<int> loot = new List<int>() { ItemType<CalamitousEssence>(), ItemType<Animus>(), ItemType<Azathoth>(), ItemType<Contagion>(), ItemType<CrystylCrusher>(), ItemType<DraconicDestruction>(), ItemType<Earth>(), ItemType<Fabstaff>(), ItemType<RoyalKnivesMelee>(), ItemType<RoyalKnives>(), ItemType<NanoblackReaperMelee>(), ItemType<NanoblackReaperRogue>(), ItemType<RedSun>(), ItemType<ScarletDevil>(), ItemType<SomaPrime>(), ItemType<BlushieStaff>(), ItemType<Svantechnical>(), ItemType<Judgement>(), ItemType<TriactisTruePaladinianMageHammerofMightMelee>(), ItemType<TriactisTruePaladinianMageHammerofMight>(), ItemType<Megafleet>(), ItemType<Endogenesis>(), ItemType<Vehemenc>(), ItemType<OmegaHealingPotion>() };
List<int> collection = new List<int>() { ItemType<KnowledgeCalamitas>(), ItemType<BrimstoneJewel>(), ItemType<Levi>() };
List<int> collection = new List<int>() { ItemType<SupremeCalamitasTrophy>(), ItemType<KnowledgeCalamitas>(), ItemType<BrimstoneJewel>(), ItemType<Levi>() };
string instructions = $"Use an [i:{summon}]";
string despawn = CalamityUtils.ColorMessage("Please don't waste my time.", new Color(0xFF, 0xA5, 0x00));
AddBoss(bossChecklist, calamity, "Supreme Calamitas", order, type, DownedSCal, summon, loot, collection, instructions, despawn);
+1 -1
View File
@@ -4470,7 +4470,7 @@ namespace CalamityMod.NPCs
else if (phase2)
{
damage += 2;
projectileType = ProjectileID.FrostBeam;
projectileType = ModContent.ProjectileType<DestroyerFrostLaser>();
}
}
else
@@ -14,6 +14,8 @@ using Terraria.ID;
using Terraria.ModLoader;
using Terraria.ModLoader.Config;
using CalamityMod;
using CalamityMod.Items.Placeables.Furniture.Trophies;
namespace CalamityMod.NPCs.ProfanedGuardians
{
[AutoloadBossHead]
@@ -430,6 +432,7 @@ namespace CalamityMod.NPCs.ProfanedGuardians
{
// Profaned Guardians have no actual drops and no treasure bag
DropHelper.DropItemChance(npc, ModContent.ItemType<ProfanedGuardianMask>(), 7);
DropHelper.DropItemChance(npc, ModContent.ItemType<ProfanedGuardianTrophy>(), 10);
DropHelper.DropItem(npc, ModContent.ItemType<ProfanedCore>());
DropHelper.DropItemCondition(npc, ModContent.ItemType<KnowledgeProfanedGuardians>(), true, !CalamityWorld.downedGuardians);
DropHelper.DropResidentEvilAmmo(npc, CalamityWorld.downedGuardians, 5, 2, 1);
@@ -25,6 +25,8 @@ using Terraria.Localization;
using Terraria.ModLoader;
using Terraria.ModLoader.Config;
using CalamityMod;
using CalamityMod.Items.Placeables.Furniture.Trophies;
namespace CalamityMod.NPCs.SupremeCalamitas
{
[AutoloadBossHead]
@@ -2178,6 +2180,7 @@ namespace CalamityMod.NPCs.SupremeCalamitas
DropHelper.DropItemCondition(npc, ModContent.ItemType<Levi>(), CalamityWorld.death);
// Other
DropHelper.DropItemChance(npc, ModContent.ItemType<SupremeCalamitasTrophy>(), 10);
DropHelper.DropItemCondition(npc, ModContent.ItemType<KnowledgeCalamitas>(), true, !CalamityWorld.downedSCal);
DropHelper.DropResidentEvilAmmo(npc, CalamityWorld.downedSCal, 6, 3, 2);
+52
View File
@@ -0,0 +1,52 @@
using Microsoft.Xna.Framework;
using System;
using System.IO;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
using CalamityMod.Buffs.StatDebuffs;
namespace CalamityMod.Projectiles.Boss
{
public class DestroyerFrostLaser : ModProjectile
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Frost Laser");
}
public override void SetDefaults()
{
projectile.ignoreWater = true;
projectile.width = 4;
projectile.height = 4;
projectile.aiStyle = 1;
aiType = ProjectileID.FrostBeam;
projectile.hostile = true;
projectile.penetrate = -1;
projectile.light = 0.75f;
projectile.alpha = 255;
projectile.scale = 1.2f;
projectile.timeLeft = 600;
projectile.magic = true;
projectile.coldDamage = true;
projectile.extraUpdates = 1;
}
public override Color? GetAlpha(Color lightColor)
{
if (projectile.alpha < 200)
{
return new Color(255 - projectile.alpha, 255 - projectile.alpha, 255 - projectile.alpha, 0);
}
return Color.Transparent;
}
public override void OnHitPlayer(Player target, int damage, bool crit)
{
if (Main.rand.NextBool(5) && !target.Calamity().gState && !target.frozen && target.chilled)
target.AddBuff(ModContent.BuffType<GlacialState>(), 20);
target.AddBuff(BuffID.Frostburn, 240);
target.AddBuff(BuffID.Chilled, 120);
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 138 B

+1
View File
@@ -87,6 +87,7 @@ namespace CalamityMod.Projectiles
case ProjectileID.Gungnir:
case ProjectileID.ObsidianSwordfish:
case ProjectileID.MonkStaffT3:
case ProjectileID.MonkStaffT2:
case ProjectileID.MonkStaffT1:
trueMelee = true;
break;
+2 -2
View File
@@ -17,8 +17,8 @@ namespace CalamityMod.Projectiles.Ranged
public override void SetDefaults()
{
projectile.ranged = true;
projectile.usesLocalNPCImmunity = true;
projectile.localNPCHitCooldown = 10;
projectile.usesIDStaticNPCImmunity = true;
projectile.idStaticNPCHitCooldown = 10;
projectile.width = 200;
projectile.height = 200;
projectile.friendly = true;
+1 -1
View File
@@ -58,7 +58,7 @@ namespace CalamityMod.Projectiles.Ranged
}
if (projectile.owner == Main.myPlayer && !spawnedAura)
{
Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, 0f, 0f, ModContent.ProjectileType<MagnomalyAura>(), (int)((double)projectile.damage * 0.5f), (int)((double)projectile.knockBack * 0.5f), projectile.owner, projectile.identity, 0f);
Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, 0f, 0f, ModContent.ProjectileType<MagnomalyAura>(), (int)(projectile.damage * 0.5f), projectile.knockBack * 0.5f, projectile.owner, projectile.identity, 0f);
spawnedAura = true;
}
float num247 = projectile.velocity.X * 0.5f;
+1 -1
View File
@@ -22,7 +22,7 @@ namespace CalamityMod.Projectiles.Summon
projectile.ignoreWater = true;
projectile.minion = true;
projectile.minionSlots = 0f;
projectile.penetrate = -1;
projectile.penetrate = 2;
projectile.extraUpdates = 3;
projectile.timeLeft = 50;
}
+6
View File
@@ -105,6 +105,12 @@ namespace CalamityMod.Tiles.Furniture
case 24:
item = ModContent.ItemType<OldDukeTrophy>();
break;
case 25:
item = ModContent.ItemType<ProfanedGuardianTrophy>();
break;
case 26:
item = ModContent.ItemType<SupremeCalamitasTrophy>();
break;
}
if (item > 0)
{
Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 31 KiB