1.4.2.001 source update from zip
No files matched your search
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod;
|
||||
using CalamityMod.NPCs;
|
||||
|
||||
namespace CalamityMod.Buffs.Amidias
|
||||
{
|
||||
public class AmidiasBlessing : ModBuff
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Amidias' Blessing");
|
||||
Description.SetDefault("You are blessed by Amidias\n"
|
||||
+"Lets you breath underwater, even in the Abyss!\n"
|
||||
+"Just don't get hit...");
|
||||
Main.debuff[Type] = false;
|
||||
Main.buffNoSave[Type] = false;
|
||||
}
|
||||
|
||||
public override void Update(Player player, ref int buffIndex)
|
||||
{
|
||||
player.GetModPlayer<CalamityPlayer>(mod).amidiasBlessing = true;
|
||||
player.breath = player.breathMax + 91;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 752 B |
@@ -0,0 +1,34 @@
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Buffs.Amidias
|
||||
{
|
||||
public class HermitCrab : ModBuff
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Hermit Crab");
|
||||
Description.SetDefault("The hermit crab will protect you");
|
||||
Main.buffNoTimeDisplay[Type] = true;
|
||||
Main.buffNoSave[Type] = true;
|
||||
}
|
||||
|
||||
public override void Update(Player player, ref int buffIndex)
|
||||
{
|
||||
CalamityPlayer modPlayer = player.GetModPlayer<CalamityPlayer>(mod);
|
||||
if (player.ownedProjectileCounts[mod.ProjectileType("HermitCrab")] > 0)
|
||||
{
|
||||
modPlayer.hCrab = true;
|
||||
}
|
||||
if (!modPlayer.hCrab)
|
||||
{
|
||||
player.DelBuff(buffIndex);
|
||||
buffIndex--;
|
||||
}
|
||||
else
|
||||
{
|
||||
player.buffTime[buffIndex] = 18000;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 618 B |
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod;
|
||||
using CalamityMod.NPCs;
|
||||
|
||||
namespace CalamityMod.Buffs.Amidias
|
||||
{
|
||||
public class SnapClamDebuff : ModBuff
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Clammed");
|
||||
Description.SetDefault("Clam clap");
|
||||
Main.debuff[Type] = true;
|
||||
Main.pvpBuff[Type] = true;
|
||||
Main.buffNoSave[Type] = true;
|
||||
}
|
||||
|
||||
public override void Update(NPC npc, ref int buffIndex)
|
||||
{
|
||||
npc.GetGlobalNPC<CalamityGlobalNPC>(mod).clamDebuff = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 501 B |
@@ -1,30 +1,30 @@
|
||||
using System;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod;
|
||||
|
||||
namespace CalamityMod.Buffs
|
||||
{
|
||||
public class BearBuff : ModBuff
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Bear");
|
||||
Description.SetDefault("A guardian angel is following you.");
|
||||
Main.buffNoTimeDisplay[Type] = true;
|
||||
Main.vanityPet[Type] = true;
|
||||
}
|
||||
|
||||
public override void Update(Player player, ref int buffIndex)
|
||||
{
|
||||
player.buffTime[buffIndex] = 18000;
|
||||
player.GetModPlayer<CalamityPlayer>(mod).bearPet = true;
|
||||
bool petProjectileNotSpawned = player.ownedProjectileCounts[mod.ProjectileType("Bear")] <= 0;
|
||||
if (petProjectileNotSpawned && player.whoAmI == Main.myPlayer)
|
||||
{
|
||||
Projectile.NewProjectile(player.position.X + (float)(player.width / 2), player.position.Y + (float)(player.height / 2), 0f, 0f, mod.ProjectileType("Bear"), 0, 0f, player.whoAmI, 0f, 0f);
|
||||
}
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod;
|
||||
|
||||
namespace CalamityMod.Buffs
|
||||
{
|
||||
public class BearBuff : ModBuff
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Bear");
|
||||
Description.SetDefault("A guardian angel is following you.");
|
||||
Main.buffNoTimeDisplay[Type] = true;
|
||||
Main.vanityPet[Type] = true;
|
||||
}
|
||||
|
||||
public override void Update(Player player, ref int buffIndex)
|
||||
{
|
||||
player.buffTime[buffIndex] = 18000;
|
||||
player.GetModPlayer<CalamityPlayer>(mod).bearPet = true;
|
||||
bool petProjectileNotSpawned = player.ownedProjectileCounts[mod.ProjectileType("Bear")] <= 0;
|
||||
if (petProjectileNotSpawned && player.whoAmI == Main.myPlayer)
|
||||
{
|
||||
Projectile.NewProjectile(player.position.X + (float)(player.width / 2), player.position.Y + (float)(player.height / 2), 0f, 0f, mod.ProjectileType("Bear"), 0, 0f, player.whoAmI, 0f, 0f);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -7,7 +7,7 @@ namespace CalamityMod.Buffs
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Brimstone Waifu");
|
||||
DisplayName.SetDefault("Miss Brimmy");
|
||||
Description.SetDefault("The brimstone elemental will protect you");
|
||||
Main.buffNoTimeDisplay[Type] = true;
|
||||
Main.buffNoSave[Type] = true;
|
||||
|
||||
@@ -1,28 +1,28 @@
|
||||
using System;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod;
|
||||
using CalamityMod.NPCs;
|
||||
|
||||
namespace CalamityMod.Buffs
|
||||
{
|
||||
public class BurntOut : ModBuff
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Burnt Out");
|
||||
Description.SetDefault("You've been burnt out and your guardians are less effective");
|
||||
Main.debuff[Type] = true;
|
||||
Main.pvpBuff[Type] = true;
|
||||
Main.buffNoSave[Type] = true;
|
||||
longerExpertDebuff = false;
|
||||
canBeCleared = false;
|
||||
}
|
||||
|
||||
public override void Update(Player player, ref int buffIndex)
|
||||
{
|
||||
player.GetModPlayer<CalamityPlayer>(mod).bOut = true;
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod;
|
||||
using CalamityMod.NPCs;
|
||||
|
||||
namespace CalamityMod.Buffs
|
||||
{
|
||||
public class BurntOut : ModBuff
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Burnt Out");
|
||||
Description.SetDefault("You've been burnt out and your guardians are less effective");
|
||||
Main.debuff[Type] = true;
|
||||
Main.pvpBuff[Type] = true;
|
||||
Main.buffNoSave[Type] = true;
|
||||
longerExpertDebuff = false;
|
||||
canBeCleared = false;
|
||||
}
|
||||
|
||||
public override void Update(Player player, ref int buffIndex)
|
||||
{
|
||||
player.GetModPlayer<CalamityPlayer>(mod).bOut = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -21,34 +21,71 @@ namespace CalamityMod.Buffs
|
||||
{
|
||||
player.GetModPlayer<CalamityPlayer>(mod).shine = true;
|
||||
}
|
||||
if (type == BuffID.IceBarrier)
|
||||
else if (type == BuffID.IceBarrier)
|
||||
{
|
||||
player.endurance -= 0.1f;
|
||||
}
|
||||
if (type == BuffID.Rage)
|
||||
else if (type == BuffID.ObsidianSkin)
|
||||
{
|
||||
player.lavaMax += 420;
|
||||
}
|
||||
else if (type == BuffID.Rage)
|
||||
{
|
||||
CalamityCustomThrowingDamagePlayer.ModPlayer(player).throwingCrit += 10;
|
||||
}
|
||||
if (type == BuffID.Wrath)
|
||||
else if (type == BuffID.Wrath)
|
||||
{
|
||||
CalamityCustomThrowingDamagePlayer.ModPlayer(player).throwingDamage += 0.1f;
|
||||
}
|
||||
if (type == BuffID.WellFed)
|
||||
else if (type == BuffID.WellFed)
|
||||
{
|
||||
CalamityCustomThrowingDamagePlayer.ModPlayer(player).throwingDamage += 0.05f;
|
||||
CalamityCustomThrowingDamagePlayer.ModPlayer(player).throwingCrit += 2;
|
||||
}
|
||||
if (type >= BuffID.NebulaUpDmg1 && type <= BuffID.NebulaUpDmg3)
|
||||
else if (type >= BuffID.NebulaUpDmg1 && type <= BuffID.NebulaUpDmg3)
|
||||
{
|
||||
float nebulaDamage = 0.15f * (float)player.nebulaLevelDamage;
|
||||
float nebulaDamage = 0.075f * (float)player.nebulaLevelDamage; //7.5% to 22.5%
|
||||
CalamityCustomThrowingDamagePlayer.ModPlayer(player).throwingDamage += nebulaDamage;
|
||||
}
|
||||
if (type == BuffID.Warmth)
|
||||
player.meleeDamage -= nebulaDamage;
|
||||
player.rangedDamage -= nebulaDamage;
|
||||
player.magicDamage -= nebulaDamage;
|
||||
player.minionDamage -= nebulaDamage;
|
||||
}
|
||||
else if (type >= BuffID.NebulaUpLife1 && type <= BuffID.NebulaUpLife3)
|
||||
{
|
||||
player.lifeRegen -= 5 * player.nebulaLevelLife; //10 to 30 changed to 5 to 15
|
||||
}
|
||||
else if (type == BuffID.Warmth)
|
||||
{
|
||||
player.buffImmune[mod.BuffType("GlacialState")] = true;
|
||||
player.buffImmune[BuffID.Frozen] = true;
|
||||
player.buffImmune[BuffID.Chilled] = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override void ModifyBuffTip(int type, ref string tip, ref int rare)
|
||||
{
|
||||
if (type == BuffID.NebulaUpDmg1)
|
||||
tip = "7.5% increased damage";
|
||||
if (type == BuffID.NebulaUpDmg2)
|
||||
tip = "15% increased damage";
|
||||
if (type == BuffID.NebulaUpDmg3)
|
||||
tip = "22.5% increased damage";
|
||||
if (type == BuffID.ChaosState)
|
||||
{
|
||||
if (CalamityWorld.revenge)
|
||||
{
|
||||
int closestPlayer = (int)Player.FindClosest(new Vector2((float)(Main.maxTilesX / 2), (float)Main.worldSurface / 2f) * 16f, 0, 0);
|
||||
if (!Main.player[closestPlayer].GetModPlayer<CalamityPlayer>(mod).normalityRelocator)
|
||||
tip = "Using the Rod of Discord will take life and damage taken is increased by 50%";
|
||||
else
|
||||
tip = "Using the Rod of Discord or Normality Relocator will take life";
|
||||
}
|
||||
else
|
||||
{
|
||||
tip = "Using the Rod of Discord or Normality Relocator will take life";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod;
|
||||
using CalamityMod.NPCs;
|
||||
|
||||
namespace CalamityMod.Buffs
|
||||
{
|
||||
public class ChaosCandle : ModBuff
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Chaos Candle");
|
||||
Description.SetDefault("Spawn rates around the candle are boosted!");
|
||||
Main.buffNoTimeDisplay[Type] = true;
|
||||
Main.debuff[Type] = true;
|
||||
Main.pvpBuff[Type] = true;
|
||||
Main.buffNoSave[Type] = false;
|
||||
longerExpertDebuff = false;
|
||||
}
|
||||
|
||||
public override void Update(Player player, ref int buffIndex)
|
||||
{
|
||||
player.GetModPlayer<CalamityPlayer>(mod).chaosCandle = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 627 B |
|
Before Width: | Height: | Size: 418 B After Width: | Height: | Size: 497 B |
@@ -25,14 +25,6 @@ namespace CalamityMod.Buffs
|
||||
{
|
||||
Projectile.NewProjectile(player.position.X + (float)(player.width / 2), player.position.Y + (float)(player.height / 2), 0f, 0f, mod.ProjectileType("ChibiiDoggo"), 0, 0f, player.whoAmI, 0f, 0f);
|
||||
}
|
||||
|
||||
//immunizes player to red devil buff
|
||||
int devilbuff = mod.BuffType("RedDevil");
|
||||
player.buffImmune[devilbuff] = true;
|
||||
|
||||
//makes game think red devil minion is always active so it doesnt spawn one
|
||||
int devilprojectile = mod.ProjectileType("RedDevil");
|
||||
player.ownedProjectileCounts[devilprojectile] = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -7,7 +7,7 @@ namespace CalamityMod.Buffs
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Cloudy Waifu");
|
||||
DisplayName.SetDefault("Miss Cloudy");
|
||||
Description.SetDefault("The cloud elemental will protect you");
|
||||
Main.buffNoTimeDisplay[Type] = true;
|
||||
Main.buffNoSave[Type] = true;
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod;
|
||||
|
||||
namespace CalamityMod.Buffs
|
||||
{
|
||||
public class DannyDevito : ModBuff
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Danny Devito");
|
||||
Description.SetDefault("The trash man is following you.");
|
||||
Main.buffNoTimeDisplay[Type] = true;
|
||||
Main.vanityPet[Type] = true;
|
||||
}
|
||||
|
||||
public override void Update(Player player, ref int buffIndex)
|
||||
{
|
||||
player.buffTime[buffIndex] = 18000;
|
||||
player.GetModPlayer<CalamityPlayer>(mod).trashMan = true;
|
||||
bool petProjectileNotSpawned = player.ownedProjectileCounts[mod.ProjectileType("DannyDevito")] <= 0;
|
||||
if (petProjectileNotSpawned && player.whoAmI == Main.myPlayer)
|
||||
{
|
||||
Projectile.NewProjectile(player.position.X + (float)(player.width / 2), player.position.Y + (float)(player.height / 2), 0f, 0f, mod.ProjectileType("DannyDevito"), 0, 0f, player.whoAmI, 0f, 0f);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 432 B |
@@ -7,8 +7,8 @@ namespace CalamityMod.Buffs
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Sandy Waifu");
|
||||
Description.SetDefault("The sand elemental will protect you");
|
||||
DisplayName.SetDefault("Madame Sandy");
|
||||
Description.SetDefault("The sand elemental will heal you");
|
||||
Main.buffNoTimeDisplay[Type] = true;
|
||||
Main.buffNoSave[Type] = true;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod;
|
||||
using CalamityMod.NPCs;
|
||||
|
||||
namespace CalamityMod.Buffs.Fabsol
|
||||
{
|
||||
public class BlueSpeedCandle : ModBuff
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Limber");
|
||||
Description.SetDefault("The floating flame seems to uplift your very spirit");
|
||||
Main.buffNoTimeDisplay[Type] = true;
|
||||
Main.debuff[Type] = true;
|
||||
Main.pvpBuff[Type] = true;
|
||||
Main.buffNoSave[Type] = false;
|
||||
longerExpertDebuff = false;
|
||||
canBeCleared = false;
|
||||
}
|
||||
|
||||
public override void Update(Player player, ref int buffIndex)
|
||||
{
|
||||
player.GetModPlayer<CalamityPlayer>(mod).blueCandle = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 490 B |
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod;
|
||||
using CalamityMod.NPCs;
|
||||
|
||||
namespace CalamityMod.Buffs.Fabsol
|
||||
{
|
||||
public class PinkHealthCandle : ModBuff
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Vigor");
|
||||
Description.SetDefault("Its brilliant light suffuses those nearby with hope");
|
||||
Main.buffNoTimeDisplay[Type] = true;
|
||||
Main.debuff[Type] = true;
|
||||
Main.pvpBuff[Type] = true;
|
||||
Main.buffNoSave[Type] = false;
|
||||
longerExpertDebuff = false;
|
||||
canBeCleared = false;
|
||||
}
|
||||
|
||||
public override void Update(Player player, ref int buffIndex)
|
||||
{
|
||||
player.GetModPlayer<CalamityPlayer>(mod).pinkCandle = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 570 B |
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod;
|
||||
using CalamityMod.NPCs;
|
||||
|
||||
namespace CalamityMod.Buffs.Fabsol
|
||||
{
|
||||
public class PurpleDefenseCandle : ModBuff
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Adamant Will");
|
||||
Description.SetDefault("Neither rain nor wind can snuff its undying flame");
|
||||
Main.buffNoTimeDisplay[Type] = true;
|
||||
Main.debuff[Type] = true;
|
||||
Main.pvpBuff[Type] = true;
|
||||
Main.buffNoSave[Type] = false;
|
||||
longerExpertDebuff = false;
|
||||
canBeCleared = false;
|
||||
}
|
||||
|
||||
public override void Update(Player player, ref int buffIndex)
|
||||
{
|
||||
player.GetModPlayer<CalamityPlayer>(mod).purpleCandle = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 591 B |
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod;
|
||||
using CalamityMod.NPCs;
|
||||
|
||||
namespace CalamityMod.Buffs.Fabsol
|
||||
{
|
||||
public class Trippy : ModBuff
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Trippy");
|
||||
Description.SetDefault("You see the world for what it truly is...and you also have a 50% increase to all damage");
|
||||
Main.debuff[Type] = false;
|
||||
Main.pvpBuff[Type] = true;
|
||||
Main.buffNoSave[Type] = false;
|
||||
longerExpertDebuff = false;
|
||||
}
|
||||
|
||||
public override void Update(Player player, ref int buffIndex)
|
||||
{
|
||||
player.GetModPlayer<CalamityPlayer>(mod).trippy = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 683 B |
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod;
|
||||
using CalamityMod.NPCs;
|
||||
|
||||
namespace CalamityMod.Buffs.Fabsol
|
||||
{
|
||||
public class YellowDamageCandle : ModBuff
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Spite");
|
||||
Description.SetDefault("Its hateful glow flickers with ire");
|
||||
Main.buffNoTimeDisplay[Type] = true;
|
||||
Main.debuff[Type] = true;
|
||||
Main.pvpBuff[Type] = true;
|
||||
Main.buffNoSave[Type] = false;
|
||||
longerExpertDebuff = false;
|
||||
canBeCleared = false;
|
||||
}
|
||||
|
||||
public override void Update(Player player, ref int buffIndex)
|
||||
{
|
||||
player.GetModPlayer<CalamityPlayer>(mod).yellowCandle = true;
|
||||
}
|
||||
|
||||
public override void Update(NPC npc, ref int buffIndex)
|
||||
{
|
||||
npc.GetGlobalNPC<CalamityGlobalNPC>(mod).yellowCandle = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 550 B |
@@ -1,34 +1,34 @@
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Buffs
|
||||
{
|
||||
public class GuardianDefense : ModBuff
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Defensive Guardian");
|
||||
Description.SetDefault("The defender will protect you");
|
||||
Main.buffNoTimeDisplay[Type] = true;
|
||||
Main.buffNoSave[Type] = true;
|
||||
}
|
||||
|
||||
public override void Update(Player player, ref int buffIndex)
|
||||
{
|
||||
CalamityPlayer modPlayer = player.GetModPlayer<CalamityPlayer>(mod);
|
||||
if (player.ownedProjectileCounts[mod.ProjectileType("MiniGuardianDefense")] > 0)
|
||||
{
|
||||
modPlayer.gDefense = true;
|
||||
}
|
||||
if (!modPlayer.gDefense)
|
||||
{
|
||||
player.DelBuff(buffIndex);
|
||||
buffIndex--;
|
||||
}
|
||||
else
|
||||
{
|
||||
player.buffTime[buffIndex] = 18000;
|
||||
}
|
||||
}
|
||||
}
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Buffs
|
||||
{
|
||||
public class GuardianDefense : ModBuff
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Defensive Guardian");
|
||||
Description.SetDefault("The defender will protect you");
|
||||
Main.buffNoTimeDisplay[Type] = true;
|
||||
Main.buffNoSave[Type] = true;
|
||||
}
|
||||
|
||||
public override void Update(Player player, ref int buffIndex)
|
||||
{
|
||||
CalamityPlayer modPlayer = player.GetModPlayer<CalamityPlayer>(mod);
|
||||
if (player.ownedProjectileCounts[mod.ProjectileType("MiniGuardianDefense")] > 0)
|
||||
{
|
||||
modPlayer.gDefense = true;
|
||||
}
|
||||
if (!modPlayer.gDefense)
|
||||
{
|
||||
player.DelBuff(buffIndex);
|
||||
buffIndex--;
|
||||
}
|
||||
else
|
||||
{
|
||||
player.buffTime[buffIndex] = 18000;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,34 +1,34 @@
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Buffs
|
||||
{
|
||||
public class GuardianHealer : ModBuff
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Healer Guardian");
|
||||
Description.SetDefault("The guardian will heal you");
|
||||
Main.buffNoTimeDisplay[Type] = true;
|
||||
Main.buffNoSave[Type] = true;
|
||||
}
|
||||
|
||||
public override void Update(Player player, ref int buffIndex)
|
||||
{
|
||||
CalamityPlayer modPlayer = player.GetModPlayer<CalamityPlayer>(mod);
|
||||
if (player.ownedProjectileCounts[mod.ProjectileType("MiniGuardianHealer")] > 0)
|
||||
{
|
||||
modPlayer.gHealer = true;
|
||||
}
|
||||
if (!modPlayer.gHealer)
|
||||
{
|
||||
player.DelBuff(buffIndex);
|
||||
buffIndex--;
|
||||
}
|
||||
else
|
||||
{
|
||||
player.buffTime[buffIndex] = 18000;
|
||||
}
|
||||
}
|
||||
}
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Buffs
|
||||
{
|
||||
public class GuardianHealer : ModBuff
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Healer Guardian");
|
||||
Description.SetDefault("The guardian will heal you");
|
||||
Main.buffNoTimeDisplay[Type] = true;
|
||||
Main.buffNoSave[Type] = true;
|
||||
}
|
||||
|
||||
public override void Update(Player player, ref int buffIndex)
|
||||
{
|
||||
CalamityPlayer modPlayer = player.GetModPlayer<CalamityPlayer>(mod);
|
||||
if (player.ownedProjectileCounts[mod.ProjectileType("MiniGuardianHealer")] > 0)
|
||||
{
|
||||
modPlayer.gHealer = true;
|
||||
}
|
||||
if (!modPlayer.gHealer)
|
||||
{
|
||||
player.DelBuff(buffIndex);
|
||||
buffIndex--;
|
||||
}
|
||||
else
|
||||
{
|
||||
player.buffTime[buffIndex] = 18000;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,34 +1,34 @@
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Buffs
|
||||
{
|
||||
public class GuardianOffense : ModBuff
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Offensive Guardian");
|
||||
Description.SetDefault("The attacker will protect you");
|
||||
Main.buffNoTimeDisplay[Type] = true;
|
||||
Main.buffNoSave[Type] = true;
|
||||
}
|
||||
|
||||
public override void Update(Player player, ref int buffIndex)
|
||||
{
|
||||
CalamityPlayer modPlayer = player.GetModPlayer<CalamityPlayer>(mod);
|
||||
if (player.ownedProjectileCounts[mod.ProjectileType("MiniGuardianAttack")] > 0)
|
||||
{
|
||||
modPlayer.gOffense = true;
|
||||
}
|
||||
if (!modPlayer.gOffense)
|
||||
{
|
||||
player.DelBuff(buffIndex);
|
||||
buffIndex--;
|
||||
}
|
||||
else
|
||||
{
|
||||
player.buffTime[buffIndex] = 18000;
|
||||
}
|
||||
}
|
||||
}
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Buffs
|
||||
{
|
||||
public class GuardianOffense : ModBuff
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Offensive Guardian");
|
||||
Description.SetDefault("The attacker will protect you");
|
||||
Main.buffNoTimeDisplay[Type] = true;
|
||||
Main.buffNoSave[Type] = true;
|
||||
}
|
||||
|
||||
public override void Update(Player player, ref int buffIndex)
|
||||
{
|
||||
CalamityPlayer modPlayer = player.GetModPlayer<CalamityPlayer>(mod);
|
||||
if (player.ownedProjectileCounts[mod.ProjectileType("MiniGuardianAttack")] > 0)
|
||||
{
|
||||
modPlayer.gOffense = true;
|
||||
}
|
||||
if (!modPlayer.gOffense)
|
||||
{
|
||||
player.DelBuff(buffIndex);
|
||||
buffIndex--;
|
||||
}
|
||||
else
|
||||
{
|
||||
player.buffTime[buffIndex] = 18000;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod;
|
||||
using CalamityMod.NPCs;
|
||||
|
||||
namespace CalamityMod.Buffs
|
||||
{
|
||||
public class LethalLavaBurn : ModBuff
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Lethal Lava Burn");
|
||||
Description.SetDefault("Losing life");
|
||||
Main.debuff[Type] = true;
|
||||
Main.pvpBuff[Type] = true;
|
||||
Main.buffNoSave[Type] = true;
|
||||
longerExpertDebuff = false;
|
||||
}
|
||||
|
||||
public override void Update(Player player, ref int buffIndex)
|
||||
{
|
||||
player.GetModPlayer<CalamityPlayer>(mod).lethalLavaBurn = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 672 B |
|
Before Width: | Height: | Size: 702 B After Width: | Height: | Size: 704 B |
@@ -1,36 +1,36 @@
|
||||
using System;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod;
|
||||
using CalamityMod.NPCs;
|
||||
|
||||
namespace CalamityMod.Buffs.Permafrost
|
||||
{
|
||||
public class Popo : ModBuff
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Popo");
|
||||
Description.SetDefault("You are a snowman now!");
|
||||
Main.debuff[Type] = true;
|
||||
Main.buffNoSave[Type] = true;
|
||||
Main.buffNoTimeDisplay[Type] = true;
|
||||
canBeCleared = false;
|
||||
}
|
||||
|
||||
public override void Update(Player player, ref int buffIndex)
|
||||
{
|
||||
CalamityPlayer modPlayer = player.GetModPlayer<CalamityPlayer>();
|
||||
if (modPlayer.snowmanPrevious)
|
||||
{
|
||||
modPlayer.snowmanPower = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
player.DelBuff(buffIndex);
|
||||
buffIndex--;
|
||||
}
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod;
|
||||
using CalamityMod.NPCs;
|
||||
|
||||
namespace CalamityMod.Buffs.Permafrost
|
||||
{
|
||||
public class Popo : ModBuff
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Popo");
|
||||
Description.SetDefault("You are a snowman now!");
|
||||
Main.debuff[Type] = true;
|
||||
Main.buffNoSave[Type] = true;
|
||||
Main.buffNoTimeDisplay[Type] = true;
|
||||
canBeCleared = false;
|
||||
}
|
||||
|
||||
public override void Update(Player player, ref int buffIndex)
|
||||
{
|
||||
CalamityPlayer modPlayer = player.GetModPlayer<CalamityPlayer>();
|
||||
if (modPlayer.snowmanPrevious)
|
||||
{
|
||||
modPlayer.snowmanPower = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
player.DelBuff(buffIndex);
|
||||
buffIndex--;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,36 +1,36 @@
|
||||
using System;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod;
|
||||
using CalamityMod.NPCs;
|
||||
|
||||
namespace CalamityMod.Buffs.Permafrost
|
||||
{
|
||||
public class PopoNoseless : ModBuff
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Noseless Popo");
|
||||
Description.SetDefault("Your nose has been stolen!");
|
||||
Main.debuff[Type] = true;
|
||||
Main.buffNoSave[Type] = true;
|
||||
canBeCleared = false;
|
||||
}
|
||||
|
||||
public override void Update(Player player, ref int buffIndex)
|
||||
{
|
||||
CalamityPlayer modPlayer = player.GetModPlayer<CalamityPlayer>();
|
||||
if (modPlayer.snowmanPrevious)
|
||||
{
|
||||
modPlayer.snowmanPower = true;
|
||||
modPlayer.snowmanNoseless = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
player.DelBuff(buffIndex);
|
||||
buffIndex--;
|
||||
}
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod;
|
||||
using CalamityMod.NPCs;
|
||||
|
||||
namespace CalamityMod.Buffs.Permafrost
|
||||
{
|
||||
public class PopoNoseless : ModBuff
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Noseless Popo");
|
||||
Description.SetDefault("Your nose has been stolen!");
|
||||
Main.debuff[Type] = true;
|
||||
Main.buffNoSave[Type] = true;
|
||||
canBeCleared = false;
|
||||
}
|
||||
|
||||
public override void Update(Player player, ref int buffIndex)
|
||||
{
|
||||
CalamityPlayer modPlayer = player.GetModPlayer<CalamityPlayer>();
|
||||
if (modPlayer.snowmanPrevious)
|
||||
{
|
||||
modPlayer.snowmanPower = true;
|
||||
modPlayer.snowmanNoseless = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
player.DelBuff(buffIndex);
|
||||
buffIndex--;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -7,7 +7,7 @@ namespace CalamityMod.Buffs
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Sandy Waifu");
|
||||
DisplayName.SetDefault("Miss Sandy");
|
||||
Description.SetDefault("The sand elemental will protect you");
|
||||
Main.buffNoTimeDisplay[Type] = true;
|
||||
Main.buffNoSave[Type] = true;
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
using System;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod;
|
||||
using CalamityMod.NPCs;
|
||||
|
||||
namespace CalamityMod.Buffs
|
||||
{
|
||||
public class SilvaRevival : ModBuff
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Silva Invulnerability");
|
||||
Description.SetDefault("You are invulnerable");
|
||||
Main.debuff[Type] = false;
|
||||
Main.pvpBuff[Type] = true;
|
||||
Main.buffNoSave[Type] = false;
|
||||
longerExpertDebuff = false;
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod;
|
||||
using CalamityMod.NPCs;
|
||||
|
||||
namespace CalamityMod.Buffs
|
||||
{
|
||||
public class SilvaRevival : ModBuff
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Silva Invulnerability");
|
||||
Description.SetDefault("You are invulnerable");
|
||||
Main.debuff[Type] = false;
|
||||
Main.pvpBuff[Type] = true;
|
||||
Main.buffNoSave[Type] = false;
|
||||
longerExpertDebuff = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -27,8 +27,8 @@ namespace CalamityMod.Buffs
|
||||
modPlayer.sirenBoobsPower = true;
|
||||
player.statDefense += 1 +
|
||||
(NPC.downedBoss3 ? 4 : 0) +
|
||||
(Main.hardMode ? 10 : 0) +
|
||||
(NPC.downedMoonlord ? 15 : 0);
|
||||
(Main.hardMode ? 5 : 0) +
|
||||
(NPC.downedMoonlord ? 5 : 0);
|
||||
player.detectCreature = true;
|
||||
player.lifeRegen += 0 +
|
||||
(NPC.downedBoss3 ? 1 : 0) +
|
||||
|
||||
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.6 KiB |
@@ -27,8 +27,8 @@ namespace CalamityMod.Buffs
|
||||
modPlayer.sirenBoobsAltPower = true;
|
||||
player.statDefense += 1 +
|
||||
(NPC.downedBoss3 ? 4 : 0) +
|
||||
(Main.hardMode ? 10 : 0) +
|
||||
(NPC.downedMoonlord ? 15 : 0);
|
||||
(Main.hardMode ? 5 : 0) +
|
||||
(NPC.downedMoonlord ? 5 : 0);
|
||||
player.dangerSense = true;
|
||||
player.lifeRegen += 0 +
|
||||
(NPC.downedBoss3 ? 1 : 0) +
|
||||
|
||||
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.6 KiB |
@@ -7,8 +7,8 @@ namespace CalamityMod.Buffs
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Siren Lure");
|
||||
Description.SetDefault("The siren lure will protect you");
|
||||
DisplayName.SetDefault("Siren");
|
||||
Description.SetDefault("The siren will protect you");
|
||||
Main.buffNoTimeDisplay[Type] = true;
|
||||
Main.buffNoSave[Type] = true;
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 526 B After Width: | Height: | Size: 3.6 KiB |
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod;
|
||||
using CalamityMod.NPCs;
|
||||
|
||||
namespace CalamityMod.Buffs.SunkenSea
|
||||
{
|
||||
public class Clamity : ModBuff
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Clamity");
|
||||
Description.SetDefault("The clams have been angered!");
|
||||
Main.buffNoTimeDisplay[Type] = true;
|
||||
Main.debuff[Type] = true;
|
||||
Main.pvpBuff[Type] = true;
|
||||
Main.buffNoSave[Type] = true;
|
||||
longerExpertDebuff = false;
|
||||
canBeCleared = false;
|
||||
}
|
||||
|
||||
public override void Update(Player player, ref int buffIndex)
|
||||
{
|
||||
player.GetModPlayer<CalamityPlayer>(mod).clamity = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 501 B |
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod;
|
||||
using CalamityMod.NPCs;
|
||||
|
||||
namespace CalamityMod.Buffs.SunkenSea
|
||||
{
|
||||
public class PearlAura : ModBuff
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Pearl Aura");
|
||||
Description.SetDefault("Slowed down");
|
||||
Main.debuff[Type] = true;
|
||||
Main.pvpBuff[Type] = true;
|
||||
Main.buffNoSave[Type] = true;
|
||||
}
|
||||
|
||||
public override void Update(NPC npc, ref int buffIndex)
|
||||
{
|
||||
npc.GetGlobalNPC<CalamityGlobalNPC>(mod).pearlAura = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 582 B |
@@ -0,0 +1,34 @@
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Buffs.SunkenSea
|
||||
{
|
||||
public class Shellfish : ModBuff
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Shellfish");
|
||||
Description.SetDefault("The shellfish will protect you");
|
||||
Main.buffNoTimeDisplay[Type] = true;
|
||||
Main.buffNoSave[Type] = true;
|
||||
}
|
||||
|
||||
public override void Update(Player player, ref int buffIndex)
|
||||
{
|
||||
CalamityPlayer modPlayer = player.GetModPlayer<CalamityPlayer>(mod);
|
||||
if (player.ownedProjectileCounts[mod.ProjectileType("Shellfish")] > 0)
|
||||
{
|
||||
modPlayer.shellfish = true;
|
||||
}
|
||||
if (!modPlayer.shellfish)
|
||||
{
|
||||
player.DelBuff(buffIndex);
|
||||
buffIndex--;
|
||||
}
|
||||
else
|
||||
{
|
||||
player.buffTime[buffIndex] = 18000;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 688 B |
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod;
|
||||
using CalamityMod.NPCs;
|
||||
|
||||
namespace CalamityMod.Buffs.SunkenSea
|
||||
{
|
||||
public class ShellfishEating : ModBuff
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Shellfish Claps");
|
||||
Description.SetDefault("Clamfest");
|
||||
Main.debuff[Type] = true;
|
||||
Main.pvpBuff[Type] = true;
|
||||
Main.buffNoSave[Type] = true;
|
||||
}
|
||||
|
||||
public override void Update(NPC npc, ref int buffIndex)
|
||||
{
|
||||
npc.GetGlobalNPC<CalamityGlobalNPC>(mod).shellfishVore = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 525 B |
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod;
|
||||
using CalamityMod.NPCs;
|
||||
|
||||
namespace CalamityMod.Buffs
|
||||
{
|
||||
public class TranquilityCandle : ModBuff
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Tranquility Candle");
|
||||
Description.SetDefault("Spawn rates around the candle are reduced!");
|
||||
Main.buffNoTimeDisplay[Type] = true;
|
||||
Main.debuff[Type] = true;
|
||||
Main.pvpBuff[Type] = true;
|
||||
Main.buffNoSave[Type] = false;
|
||||
longerExpertDebuff = false;
|
||||
}
|
||||
|
||||
public override void Update(Player player, ref int buffIndex)
|
||||
{
|
||||
player.GetModPlayer<CalamityPlayer>(mod).tranquilityCandle = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 540 B |
|
Before Width: | Height: | Size: 621 B After Width: | Height: | Size: 455 B |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 432 B |
@@ -0,0 +1,88 @@
|
||||
using System;
|
||||
using System.Reflection;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
|
||||
using Terraria;
|
||||
using Terraria.UI.Chat;
|
||||
using Terraria.ObjectData;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.UI;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.Graphics.Shaders;
|
||||
using Terraria.Localization;
|
||||
using Terraria.GameContent.UI;
|
||||
|
||||
namespace CalamityMod
|
||||
{
|
||||
public class CalamityCollision
|
||||
{
|
||||
public static bool HotWetCollision(Vector2 Position, int Width, int Height)
|
||||
{
|
||||
Vector2 vector = new Vector2(Position.X + (float)(Width / 2), Position.Y + (float)(Height / 2));
|
||||
int num = 10;
|
||||
int num2 = Height / 2;
|
||||
if (num > Width)
|
||||
{
|
||||
num = Width;
|
||||
}
|
||||
if (num2 > Height)
|
||||
{
|
||||
num2 = Height;
|
||||
}
|
||||
vector = new Vector2(vector.X - (float)(num / 2), vector.Y - (float)(num2 / 2));
|
||||
int arg_A3_0 = (int)(Position.X / 16f) - 1;
|
||||
int num3 = (int)((Position.X + (float)Width) / 16f) + 2;
|
||||
int num4 = (int)(Position.Y / 16f) - 1;
|
||||
int num5 = (int)((Position.Y + (float)Height) / 16f) + 2;
|
||||
int arg_DB_0 = Utils.Clamp<int>(arg_A3_0, 0, Main.maxTilesX - 1);
|
||||
num3 = Utils.Clamp<int>(num3, 0, Main.maxTilesX - 1);
|
||||
num4 = Utils.Clamp<int>(num4, 0, Main.maxTilesY - 1);
|
||||
num5 = Utils.Clamp<int>(num5, 0, Main.maxTilesY - 1);
|
||||
for (int i = arg_DB_0; i < num3; i++)
|
||||
{
|
||||
for (int j = num4; j < num5; j++)
|
||||
{
|
||||
if (Main.tile[i, j] != null)
|
||||
{
|
||||
if (Main.tile[i, j + 2].lava() ||
|
||||
Main.tile[i, j + 3].lava() ||
|
||||
Main.tile[i, j + 4].lava())
|
||||
{
|
||||
if (Main.tile[i, j].liquid > 0)
|
||||
{
|
||||
Vector2 vector2;
|
||||
vector2.X = (float)(i * 16);
|
||||
vector2.Y = (float)(j * 16);
|
||||
int num6 = 16;
|
||||
float num7 = (float)(256 - (int)Main.tile[i, j].liquid);
|
||||
num7 /= 32f;
|
||||
vector2.Y += num7 * 2f;
|
||||
num6 -= (int)(num7 * 2f);
|
||||
if (vector.X + (float)num > vector2.X && vector.X < vector2.X + 16f && vector.Y + (float)num2 > vector2.Y && vector.Y < vector2.Y + (float)num6)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
else if (Main.tile[i, j].active() && Main.tile[i, j].slope() != 0 && j > 0 && Main.tile[i, j - 1] != null && Main.tile[i, j - 1].liquid > 0)
|
||||
{
|
||||
Vector2 vector2;
|
||||
vector2.X = (float)(i * 16);
|
||||
vector2.Y = (float)(j * 16);
|
||||
int num8 = 16;
|
||||
if (vector.X + (float)num > vector2.X && vector.X < vector2.X + 16f && vector.Y + (float)num2 > vector2.Y && vector.Y < vector2.Y + (float)num8)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,134 @@
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod
|
||||
{
|
||||
public class CalamityLocalization
|
||||
{
|
||||
private static string[][] _localizations;
|
||||
|
||||
public static void Load()
|
||||
{
|
||||
_localizations = new[]
|
||||
{
|
||||
new [] { "SkyOreText", "The ground is glittering with cyan light." },
|
||||
new [] { "IceOreText", "The ice caves are crackling with frigid energy." },
|
||||
new [] { "PlantOreText", "Energized plant matter has formed in the underground." },
|
||||
new [] { "TreeOreText", "Fossilized tree bark is bursting through the jungle's mud." },
|
||||
new [] { "AuricOreText", "A godly aura has blessed the world's caverns." },
|
||||
new [] { "FutureOreText", "A cold and dark energy has materialized in space." },
|
||||
new [] { "UglyBossText", "Calamitous creatures now roam free!" },
|
||||
new [] { "UglyBossText2", "The ancient ice spirits have been unbound!" },
|
||||
new [] { "SteelSkullBossText", "A blood red inferno lingers in the night..." },
|
||||
new [] { "PlantBossText", "The ocean depths are trembling." },
|
||||
new [] { "BabyBossText", "A plague has befallen the Jungle." },
|
||||
new [] { "BabyBossText2", "An ancient automaton roams the land." },
|
||||
new [] { "MoonBossText", "The profaned flame blazes fiercely!" },
|
||||
new [] { "MoonBossText2", "Cosmic terrors are watching..." },
|
||||
new [] { "MoonBossText3", "The bloody moon beckons..." },
|
||||
new [] { "PlagueBossText", "PLAGUE NUKE BARRAGE ARMED, PREPARING FOR LAUNCH!!!" },
|
||||
new [] { "PlagueBossText2", "MISSILES LAUNCHED, TARGETING ROUTINE INITIATED!!!" },
|
||||
new [] { "ProfanedBossText", "The air is burning..." },
|
||||
new [] { "ProfanedBossText2", "Shrieks are echoing from the dungeon." },
|
||||
new [] { "ProfanedBossText3", "The calamitous beings have been inundated with bloodstone." },
|
||||
new [] { "GhostBossText", "The abyssal spirits have been disturbed." },
|
||||
new [] { "SupremeBossText3", "Alright, let's get started. Not sure why you're bothering." }, // start
|
||||
new [] { "SupremeBossText4", "You seem so confident, even though you are painfully ignorant of what has yet to transpire." }, //75%
|
||||
new [] { "SupremeBossText5", "Everything was going well until you came along." }, //75%
|
||||
new [] { "SupremeBossText6", "Brothers, could you assist me for a moment? This ordeal is growing tiresome." }, //45%
|
||||
new [] { "SupremeBossText", "Don't worry, I still have plenty of tricks left." }, //40%
|
||||
new [] { "SupremeBossText7", "Hmm...perhaps I should let the little ones out to play for a while." },//30%
|
||||
new [] { "SupremeBossText8", "Impressive...but still not good enough!" }, //20%
|
||||
new [] { "SupremeBossText9", "I'm just getting started!" }, //10%
|
||||
new [] { "SupremeBossText20", "How are you still alive!?" }, //8%
|
||||
new [] { "SupremeBossText21", "Just stop!" }, //6%
|
||||
new [] { "SupremeBossText22", "Even if you defeat me you would still have the lord to contend with!" }, //4%
|
||||
new [] { "SupremeBossText23", "He has never lost a battle!" }, //2%
|
||||
new [] { "SupremeBossText24", "Not even I could defeat him! What hope do you have!?" }, //1%
|
||||
new [] { "SupremeBossText25", "He has grown far stronger since we last fought...you stand no chance." }, //1% after 10 seconds
|
||||
new [] { "SupremeBossText26", "Well...I suppose this is the end..." }, //1% after 15 seconds
|
||||
new [] { "SupremeBossText27", "Perhaps one of these times I'll change my mind..." }, //1% after first win
|
||||
new [] { "SupremeBossText28", "You aren't hurting as much as I'd like...are you cheating?" }, //not taking enough damage
|
||||
new [] { "SupremeBossText2", "Go to hell." }, //cheater
|
||||
new [] { "SupremeBossText10", "At long last I am free...for a time. I'll keep coming back, just like you. Until we meet again, farewell." }, //end after 20 seconds
|
||||
new [] { "SupremeBossText11", "Do you enjoy going through hell?" }, //rebattle after killing once
|
||||
new [] { "SupremeBossText12", "Don't get me wrong, I like pain too, but you're just ridiculous." }, //rebattle after killing four times
|
||||
new [] { "SupremeBossText13", "You must enjoy dying more than most people, huh?" }, //rebattle five deaths
|
||||
new [] { "SupremeBossText14", "Do you have a fetish for getting killed or something?" }, //rebattle twenty deaths
|
||||
new [] { "SupremeBossText15", "Alright, I'm done counting. You probably died this much just to see what I'd say." }, //rebattle fifty deaths
|
||||
new [] { "SupremeBossText16", "You didn't die at all huh? Welp, you probably cheated. Do it again, for real this time...but here's your reward I guess." }, //die 0 times
|
||||
new [] { "SupremeBossText17", "One death? That's it? ...I guess you earned this then." }, //die 1 time and win
|
||||
new [] { "SupremeBossText18", "Two deaths, nice job. Here's your reward." }, //die 2 times and win
|
||||
new [] { "SupremeBossText19", "Third time's the charm. Here's a special reward." }, //die 3 times and win
|
||||
new [] { "EdgyBossText", "Don't get cocky, kid!" },
|
||||
new [] { "EdgyBossText2", "You think...you can butcher...ME!?" },
|
||||
new [] { "EdgyBossText3", "A fatal mistake!" },
|
||||
new [] { "EdgyBossText4", "Good luck recovering from that!" },
|
||||
new [] { "EdgyBossText5", "Delicious..." },
|
||||
new [] { "EdgyBossText6", "Did that hurt?" },
|
||||
new [] { "EdgyBossText7", "Nothing personal, kid." },
|
||||
new [] { "EdgyBossText8", "Are you honestly that bad at dodging?" },
|
||||
new [] { "EdgyBossText9", "Of all my segments to get hit by..." },
|
||||
new [] { "EdgyBossText10", "It's not over yet, kid!" },
|
||||
new [] { "EdgyBossText11", "A GOD DOES NOT FEAR DEATH!" },
|
||||
new [] { "EdgyBossText12", "You are no god...but I shall feast upon your essence regardless!" },
|
||||
new [] { "DoGBossText", "The frigid moon shimmers brightly." },
|
||||
new [] { "DoGBossText2", "The harvest moon glows eerily." },
|
||||
new [] { "AstralText", "A star has fallen from the heavens!" },
|
||||
new [] { "AstralBossText", "The seal of the stars has been broken!" },
|
||||
new [] { "CalamitasBossText", "You underestimate my power..." },
|
||||
new [] { "CalamitasBossText2", "The brothers have awoken!" },
|
||||
new [] { "CalamitasBossText3", "Impressive child, most impressive..." },
|
||||
new [] { "CalamitasBossText4", "The brothers have been reborn!" },
|
||||
new [] { "CryogenBossText", "Cryogen is derping out!" },
|
||||
new [] { "BloodMoonText", "The Blood Moon is rising..." },
|
||||
new [] { "DargonBossText", "The dark sun awaits." },
|
||||
new [] { "DargonBossText2", "My dragon deems you an unworthy opponent. You must acquire the power of the dark sun to witness his true power." },
|
||||
new [] { "DargonBossText3", "My dragon deems you an unworthy opponent. Snuff out the profaned flame and destroy the god devourer to witness his true power." },
|
||||
new [] { "DeathText", "Death is active, enjoy the fun." },
|
||||
new [] { "DeathText2", "Death is not active, not fun enough for you?" },
|
||||
new [] { "ArmageddonText", "Bosses will now kill you instantly." },
|
||||
new [] { "ArmageddonText2", "Bosses will no longer kill you instantly." },
|
||||
new [] { "DefiledText", "Your soul is mine..." },
|
||||
new [] { "DefiledText2", "Your soul is yours once more..." },
|
||||
new [] { "FlameText", "The air is getting warmer around you." },
|
||||
new [] { "BossRushStartText", "Hmm? Ah, another contender. Very well, may the ritual commence!" },
|
||||
new [] { "BossRushTierOneEndText", "Hmm? Oh, you're still alive. Unexpected, but don't get complacent just yet." },
|
||||
new [] { "BossRushTierTwoEndText", "Hmm? Persistent aren't you? Perhaps you have some hope of prosperity, unlike past challengers." },
|
||||
new [] { "BossRushTierThreeEndText", "Hmm? Your perseverance is truly a trait to behold. You've come further than even the demigods in such a short time." },
|
||||
new [] { "BossRushTierThreeEndText2", "May your skills remain sharp for the last challenges." },
|
||||
new [] { "BossRushTierFourEndText", "Hmm? So you've made it to the final tier, a remarkable feat enviable by even the mightiest of the gods." },
|
||||
new [] { "BossRushTierFourEndText2", "Go forth and conquer 'til the ritual's end!" },
|
||||
new [] { "BossRushTierFiveEndText", "Hmm? You expected a reward beyond this mere pebble? Patience, the true reward will become apparent in time..." },
|
||||
new [] { "BossSpawnText", "Something is approaching..." },
|
||||
new [] { "MeleeLevelUp", "Melee weapon proficiency level up!" },
|
||||
new [] { "MeleeLevelUpFinal", "Melee weapon proficiency maxed out!" },
|
||||
new [] { "RangedLevelUp", "Ranged weapon proficiency level up!" },
|
||||
new [] { "RangedLevelUpFinal", "Ranged weapon proficiency maxed out!" },
|
||||
new [] { "MagicLevelUp", "Magic weapon proficiency level up!" },
|
||||
new [] { "MagicLevelUpFinal", "Magic weapon proficiency maxed out!" },
|
||||
new [] { "SummonLevelUp", "Summoner weapon proficiency level up!" },
|
||||
new [] { "SummonLevelUpFinal", "Summoner weapon proficiency maxed out!" },
|
||||
new [] { "RogueLevelUp", "Rogue weapon proficiency level up!" },
|
||||
new [] { "RogueLevelUpFinal", "Rogue weapon proficiency maxed out!" },
|
||||
new [] { "OpenSunkenSea", "The depths of the underground desert are rumbling..." }
|
||||
};
|
||||
}
|
||||
|
||||
public static void Unload()
|
||||
{
|
||||
_localizations = null;
|
||||
}
|
||||
|
||||
public static void AddLocalizations()
|
||||
{
|
||||
Load();
|
||||
foreach (string[] localization in _localizations)
|
||||
{
|
||||
ModTranslation text = CalamityMod.Instance.CreateTranslation(localization[0]);
|
||||
text.SetDefault(localization[1]);
|
||||
CalamityMod.Instance.AddTranslation(text);
|
||||
}
|
||||
Unload();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,725 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod
|
||||
{
|
||||
internal class CalamityRecipes
|
||||
{
|
||||
private static ModRecipe GetNewRecipe()
|
||||
{
|
||||
return new ModRecipe(CalamityMod.Instance);
|
||||
}
|
||||
|
||||
public static void AddRecipes()
|
||||
{
|
||||
EditTerraBladeRecipe();
|
||||
AddPotionRecipes();
|
||||
AddToolRecipes();
|
||||
AddProgressionRecipes();
|
||||
AddEarlyGameWeaponRecipes();
|
||||
AddEarlyGameAccessoryRecipes();
|
||||
AddAnkhShieldRecipes();
|
||||
AddAlternateHardmodeRecipes();
|
||||
|
||||
// Leather from Vertebrae, for Crimson worlds
|
||||
ModRecipe r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.Vertebrae, 5);
|
||||
r.AddTile(TileID.WorkBenches);
|
||||
r.SetResult(ItemID.Leather);
|
||||
r.AddRecipe();
|
||||
|
||||
// Black Lens
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.Lens);
|
||||
r.AddIngredient(ItemID.BlackDye);
|
||||
r.AddTile(TileID.DyeVat);
|
||||
r.SetResult(ItemID.BlackLens);
|
||||
r.AddRecipe();
|
||||
|
||||
// Ectoplasm from Ectoblood
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(null, "Ectoblood", 3);
|
||||
r.AddTile(TileID.MythrilAnvil);
|
||||
r.SetResult(ItemID.Ectoplasm);
|
||||
r.AddRecipe();
|
||||
|
||||
// Rocket I from Empty Bullet
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.EmptyBullet, 20);
|
||||
r.AddIngredient(ItemID.ExplosivePowder, 1);
|
||||
r.AddTile(TileID.MythrilAnvil);
|
||||
r.SetResult(ItemID.RocketI, 20);
|
||||
r.AddRecipe();
|
||||
|
||||
// Life Crystal
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.Bone, 5);
|
||||
r.AddIngredient(ItemID.PinkGel);
|
||||
r.AddIngredient(ItemID.HealingPotion);
|
||||
r.AddIngredient(ItemID.Ruby);
|
||||
r.AddTile(TileID.Anvils);
|
||||
r.SetResult(ItemID.LifeCrystal);
|
||||
r.AddRecipe();
|
||||
|
||||
// Life Fruit
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(null, "PlantyMush", 10);
|
||||
r.AddIngredient(null, "LivingShard");
|
||||
r.AddTile(TileID.MythrilAnvil);
|
||||
r.SetResult(ItemID.LifeFruit);
|
||||
r.AddRecipe();
|
||||
}
|
||||
|
||||
// Change Terra Blade's recipe to require 7 Living Shards (forces the Blade to be post-Plantera)
|
||||
private static void EditTerraBladeRecipe()
|
||||
{
|
||||
List<Recipe> rec = Main.recipe.ToList();
|
||||
rec.Where(x => x.createItem.type == ItemID.TerraBlade).ToList().ForEach(s =>
|
||||
{
|
||||
for (int i = 0; i < s.requiredItem.Length; i++)
|
||||
{
|
||||
s.requiredItem[i] = new Item();
|
||||
}
|
||||
s.requiredItem[0].SetDefaults(ItemID.TrueNightsEdge, false);
|
||||
s.requiredItem[0].stack = 1;
|
||||
s.requiredItem[1].SetDefaults(ItemID.TrueExcalibur, false);
|
||||
s.requiredItem[1].stack = 1;
|
||||
s.requiredItem[2].SetDefaults(CalamityMod.Instance.ItemType("LivingShard"), false);
|
||||
s.requiredItem[2].stack = 7;
|
||||
|
||||
s.createItem.SetDefaults(ItemID.TerraBlade, false);
|
||||
s.createItem.stack = 1;
|
||||
});
|
||||
}
|
||||
|
||||
#region Potions
|
||||
// Equivalent Blood Orb recipes for almost all vanilla potions
|
||||
private static void AddPotionRecipes()
|
||||
{
|
||||
short[] potions = new[]
|
||||
{
|
||||
ItemID.WormholePotion,
|
||||
ItemID.TeleportationPotion,
|
||||
ItemID.SwiftnessPotion,
|
||||
ItemID.FeatherfallPotion,
|
||||
ItemID.GravitationPotion,
|
||||
ItemID.ShinePotion,
|
||||
ItemID.InvisibilityPotion,
|
||||
ItemID.NightOwlPotion,
|
||||
ItemID.SpelunkerPotion,
|
||||
ItemID.HunterPotion,
|
||||
ItemID.TrapsightPotion,
|
||||
ItemID.BattlePotion,
|
||||
ItemID.CalmingPotion,
|
||||
ItemID.WrathPotion,
|
||||
ItemID.RagePotion,
|
||||
ItemID.ThornsPotion,
|
||||
ItemID.IronskinPotion,
|
||||
ItemID.EndurancePotion,
|
||||
ItemID.RegenerationPotion,
|
||||
ItemID.LifeforcePotion,
|
||||
ItemID.HeartreachPotion,
|
||||
ItemID.TitanPotion,
|
||||
ItemID.ArcheryPotion,
|
||||
ItemID.AmmoReservationPotion,
|
||||
ItemID.MagicPowerPotion,
|
||||
ItemID.ManaRegenerationPotion,
|
||||
ItemID.SummoningPotion,
|
||||
ItemID.InfernoPotion,
|
||||
ItemID.WarmthPotion,
|
||||
ItemID.ObsidianSkinPotion,
|
||||
ItemID.GillsPotion,
|
||||
ItemID.WaterWalkingPotion,
|
||||
ItemID.FlipperPotion,
|
||||
ItemID.BuilderPotion,
|
||||
ItemID.MiningPotion,
|
||||
ItemID.FishingPotion,
|
||||
ItemID.CratePotion,
|
||||
ItemID.SonarPotion,
|
||||
ItemID.GenderChangePotion,
|
||||
ItemID.LovePotion,
|
||||
ItemID.StinkPotion
|
||||
};
|
||||
ModRecipe r;
|
||||
|
||||
foreach (var potion in potions)
|
||||
{
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(null, "BloodOrb", 10);
|
||||
r.AddIngredient(ItemID.BottledWater);
|
||||
r.AddTile(TileID.AlchemyTable);
|
||||
r.SetResult(potion);
|
||||
r.AddRecipe();
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Tools
|
||||
// Essential tools such as the Magic Mirror and Rod of Discord
|
||||
private static void AddToolRecipes()
|
||||
{
|
||||
// Magic Mirror
|
||||
ModRecipe r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.IronBar, 10);
|
||||
r.AddIngredient(ItemID.Glass, 10);
|
||||
r.AddIngredient(ItemID.FallenStar, 10);
|
||||
r.anyIronBar = true;
|
||||
r.AddTile(TileID.Anvils);
|
||||
r.SetResult(ItemID.MagicMirror);
|
||||
r.AddRecipe();
|
||||
|
||||
// Ice Mirror
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.IceBlock, 20);
|
||||
r.AddIngredient(ItemID.Glass, 10);
|
||||
r.AddIngredient(ItemID.FallenStar, 10);
|
||||
r.AddIngredient(ItemID.IronBar, 5);
|
||||
r.anyIronBar = true;
|
||||
r.AddTile(TileID.Anvils);
|
||||
r.SetResult(ItemID.IceMirror);
|
||||
r.AddRecipe();
|
||||
|
||||
// Shadow Key
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.GoldenKey);
|
||||
r.AddIngredient(ItemID.Obsidian, 20);
|
||||
r.AddIngredient(ItemID.Bone, 5);
|
||||
r.AddTile(TileID.Anvils);
|
||||
r.SetResult(ItemID.ShadowKey);
|
||||
r.AddRecipe();
|
||||
|
||||
// Rod of Discord
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.SoulofLight, 30);
|
||||
r.AddIngredient(ItemID.ChaosFish, 5);
|
||||
r.AddIngredient(ItemID.PixieDust, 50);
|
||||
r.AddTile(TileID.MythrilAnvil);
|
||||
r.SetResult(ItemID.RodofDiscord);
|
||||
r.AddRecipe();
|
||||
|
||||
// Sky Mill
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.SunplateBlock, 10);
|
||||
r.AddIngredient(ItemID.Cloud, 5);
|
||||
r.AddIngredient(ItemID.RainCloud, 3);
|
||||
r.AddTile(TileID.Anvils);
|
||||
r.SetResult(ItemID.SkyMill);
|
||||
r.AddRecipe();
|
||||
|
||||
// Ice Machine
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.IceBlock, 25);
|
||||
r.AddIngredient(ItemID.SnowBlock, 15);
|
||||
r.AddIngredient(ItemID.IronBar, 3);
|
||||
r.anyIronBar = true;
|
||||
r.AddTile(TileID.Anvils);
|
||||
r.SetResult(ItemID.IceMachine);
|
||||
r.AddRecipe();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region ProgressionItems
|
||||
// Boss summon and progression items
|
||||
private static void AddProgressionRecipes()
|
||||
{
|
||||
// Guide Voodoo Doll
|
||||
ModRecipe r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.Leather, 5);
|
||||
r.AddIngredient(null, "BloodOrb", 10);
|
||||
r.AddTile(TileID.Hellforge);
|
||||
r.SetResult(ItemID.GuideVoodooDoll);
|
||||
r.AddRecipe();
|
||||
|
||||
// Temple Key
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.JungleSpores, 15);
|
||||
r.AddIngredient(ItemID.RichMahogany, 15);
|
||||
r.AddIngredient(ItemID.SoulofNight, 15);
|
||||
r.AddIngredient(ItemID.SoulofLight, 15);
|
||||
r.AddTile(TileID.MythrilAnvil);
|
||||
r.SetResult(ItemID.TempleKey);
|
||||
r.AddRecipe();
|
||||
|
||||
// Lihzahrd Power Cell (NOT Calamity's Old Power Cell)
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.LihzahrdBrick, 15);
|
||||
r.AddIngredient(null, "CoreofCinder");
|
||||
r.AddTile(TileID.LihzahrdFurnace);
|
||||
r.SetResult(ItemID.LihzahrdPowerCell);
|
||||
r.AddRecipe();
|
||||
|
||||
// Truffle Worm
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.GlowingMushroom, 15);
|
||||
r.AddIngredient(ItemID.Worm);
|
||||
r.AddTile(TileID.Autohammer);
|
||||
r.SetResult(ItemID.TruffleWorm);
|
||||
r.AddRecipe();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region EarlyGameWeapons
|
||||
// Early game weapons such as Enchanted Sword
|
||||
private static void AddEarlyGameWeaponRecipes()
|
||||
{
|
||||
// Shuriken
|
||||
ModRecipe r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.IronBar);
|
||||
r.anyIronBar = true;
|
||||
r.AddTile(TileID.Anvils);
|
||||
r.SetResult(ItemID.Shuriken, 50);
|
||||
r.AddRecipe();
|
||||
|
||||
// Throwing Knife
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.IronBar);
|
||||
r.anyIronBar = true;
|
||||
r.AddTile(TileID.Anvils);
|
||||
r.SetResult(ItemID.ThrowingKnife, 50);
|
||||
r.AddRecipe();
|
||||
|
||||
// Wand of Sparking
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.Wood, 5);
|
||||
r.AddIngredient(ItemID.Torch, 3);
|
||||
r.AddIngredient(ItemID.FallenStar);
|
||||
r.AddTile(TileID.Anvils);
|
||||
r.SetResult(ItemID.WandofSparking);
|
||||
r.AddRecipe();
|
||||
|
||||
// Starfury w/ Gold Broadsword
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.GoldBroadsword);
|
||||
r.AddIngredient(ItemID.FallenStar, 10);
|
||||
r.AddIngredient(null, "VictoryShard", 3);
|
||||
r.AddTile(TileID.Anvils);
|
||||
r.SetResult(ItemID.Starfury);
|
||||
r.AddRecipe();
|
||||
|
||||
// Starfury w/ Platinum Broadsword
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.PlatinumBroadsword);
|
||||
r.AddIngredient(ItemID.FallenStar, 10);
|
||||
r.AddIngredient(null, "VictoryShard", 3);
|
||||
r.AddTile(TileID.Anvils);
|
||||
r.SetResult(ItemID.Starfury);
|
||||
r.AddRecipe();
|
||||
|
||||
// Enchanted Sword (requires Hardmode materials)
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(null, "VictoryShard", 10);
|
||||
r.AddIngredient(ItemID.SoulofLight, 15);
|
||||
r.AddIngredient(ItemID.UnicornHorn, 3);
|
||||
r.AddIngredient(ItemID.LightShard);
|
||||
r.AddTile(TileID.MythrilAnvil);
|
||||
r.SetResult(ItemID.EnchantedSword);
|
||||
r.AddRecipe();
|
||||
|
||||
// Muramasa w/ Cobalt Bars
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.CobaltBar, 15);
|
||||
r.AddTile(TileID.MythrilAnvil);
|
||||
r.SetResult(ItemID.Muramasa);
|
||||
r.AddRecipe();
|
||||
|
||||
// Muramasa w/ Palladium Bars
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.PalladiumBar, 15);
|
||||
r.AddTile(TileID.MythrilAnvil);
|
||||
r.SetResult(ItemID.Muramasa);
|
||||
r.AddRecipe();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region EarlyGameAccessories
|
||||
// Early game accessories such as Cloud in a Bottle
|
||||
private static void AddEarlyGameAccessoryRecipes()
|
||||
{
|
||||
// Cloud in a Bottle
|
||||
ModRecipe r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.Feather, 2);
|
||||
r.AddIngredient(ItemID.Bottle);
|
||||
r.AddIngredient(ItemID.Cloud, 25);
|
||||
r.AddTile(TileID.Anvils);
|
||||
r.SetResult(ItemID.CloudinaBottle);
|
||||
r.AddRecipe();
|
||||
|
||||
// Hermes Boots
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.Silk, 10);
|
||||
r.AddTile(TileID.Loom);
|
||||
r.SetResult(ItemID.HermesBoots);
|
||||
r.AddRecipe();
|
||||
|
||||
// Blizzard in a Bottle
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.Feather, 4);
|
||||
r.AddIngredient(ItemID.Bottle);
|
||||
r.AddIngredient(ItemID.SnowBlock, 50);
|
||||
r.AddTile(TileID.Anvils);
|
||||
r.SetResult(ItemID.BlizzardinaBottle);
|
||||
r.AddRecipe();
|
||||
|
||||
// Sandstorm in a Bottle
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(null, "DesertFeather", 10);
|
||||
r.AddIngredient(ItemID.Feather, 6);
|
||||
r.AddIngredient(ItemID.Bottle);
|
||||
r.AddIngredient(ItemID.SandBlock, 70);
|
||||
r.AddTile(TileID.Anvils);
|
||||
r.SetResult(ItemID.SandstorminaBottle);
|
||||
r.AddRecipe();
|
||||
|
||||
// Frog Leg
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.Frog, 10);
|
||||
r.AddTile(TileID.Anvils);
|
||||
r.SetResult(ItemID.FrogLeg);
|
||||
r.AddRecipe();
|
||||
|
||||
// Flying Carpet
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.AncientCloth, 10);
|
||||
r.AddIngredient(ItemID.SoulofLight, 10);
|
||||
r.AddIngredient(ItemID.SoulofNight, 10);
|
||||
r.AddTile(TileID.MythrilAnvil);
|
||||
r.SetResult(ItemID.FlyingCarpet);
|
||||
r.AddRecipe();
|
||||
|
||||
// Aglet
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.IronBar, 5);
|
||||
r.anyIronBar = true;
|
||||
r.AddTile(TileID.Anvils);
|
||||
r.SetResult(ItemID.Aglet);
|
||||
r.AddRecipe();
|
||||
|
||||
// Anklet of the Wind
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.JungleSpores, 15);
|
||||
r.AddIngredient(ItemID.Cloud, 15);
|
||||
r.AddIngredient(ItemID.PinkGel, 5);
|
||||
r.AddTile(TileID.Anvils);
|
||||
r.SetResult(ItemID.AnkletoftheWind);
|
||||
r.AddRecipe();
|
||||
|
||||
// Water Walking Boots
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.Leather, 5);
|
||||
r.AddIngredient(ItemID.WaterWalkingPotion, 8);
|
||||
r.AddTile(TileID.Anvils);
|
||||
r.SetResult(ItemID.WaterWalkingBoots);
|
||||
r.AddRecipe();
|
||||
|
||||
// Ice Skates
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.IceBlock, 20);
|
||||
r.AddIngredient(ItemID.Leather, 5);
|
||||
r.AddIngredient(ItemID.IronBar, 5);
|
||||
r.anyIronBar = true;
|
||||
r.AddTile(TileID.IceMachine);
|
||||
r.SetResult(ItemID.IceSkates);
|
||||
r.AddRecipe();
|
||||
|
||||
// Lucky Horseshoe w/ Gold Bars
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.SunplateBlock, 10);
|
||||
r.AddIngredient(ItemID.Cloud, 10);
|
||||
r.AddIngredient(ItemID.GoldBar, 5);
|
||||
r.AddTile(TileID.Anvils);
|
||||
r.SetResult(ItemID.LuckyHorseshoe);
|
||||
r.AddRecipe();
|
||||
|
||||
// Lucky Horseshoe w/ Platinum Bars
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.SunplateBlock, 10);
|
||||
r.AddIngredient(ItemID.Cloud, 10);
|
||||
r.AddIngredient(ItemID.PlatinumBar, 5);
|
||||
r.AddTile(TileID.Anvils);
|
||||
r.SetResult(ItemID.LuckyHorseshoe);
|
||||
r.AddRecipe();
|
||||
|
||||
// Shiny Red Balloon
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.WhiteString);
|
||||
r.AddIngredient(ItemID.Gel, 80);
|
||||
r.AddIngredient(ItemID.Cloud, 40);
|
||||
r.AddTile(TileID.Solidifier);
|
||||
r.SetResult(ItemID.ShinyRedBalloon);
|
||||
r.AddRecipe();
|
||||
|
||||
// Lava Charm
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.LavaBucket, 5);
|
||||
r.AddIngredient(ItemID.Obsidian, 25);
|
||||
r.AddIngredient(ItemID.IronBar, 5);
|
||||
r.anyIronBar = true;
|
||||
r.AddTile(TileID.Anvils);
|
||||
r.SetResult(ItemID.LavaCharm);
|
||||
r.AddRecipe();
|
||||
|
||||
// Feral Claws
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.Leather, 10);
|
||||
r.AddTile(TileID.Anvils);
|
||||
r.SetResult(ItemID.FeralClaws);
|
||||
r.AddRecipe();
|
||||
|
||||
// Radar
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.IronBar, 5);
|
||||
r.anyIronBar = true;
|
||||
r.AddTile(TileID.Anvils);
|
||||
r.SetResult(ItemID.Radar);
|
||||
r.AddRecipe();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region AnkhShield
|
||||
// Every base component for the Ankh Shield
|
||||
private static void AddAnkhShieldRecipes()
|
||||
{
|
||||
// Cobalt Shield w/ Cobalt
|
||||
ModRecipe r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.CobaltBar, 10);
|
||||
r.AddTile(TileID.MythrilAnvil);
|
||||
r.SetResult(ItemID.CobaltShield);
|
||||
r.AddRecipe();
|
||||
|
||||
// Cobalt Shield w/ Palladium
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.PalladiumBar, 10);
|
||||
r.AddTile(TileID.MythrilAnvil);
|
||||
r.SetResult(ItemID.CobaltShield);
|
||||
r.AddRecipe();
|
||||
|
||||
// Armor Polish (broken armor)
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.Bone, 50);
|
||||
r.AddIngredient(null, "AncientBoneDust", 3);
|
||||
r.AddTile(TileID.MythrilAnvil);
|
||||
r.SetResult(ItemID.ArmorPolish);
|
||||
r.AddRecipe();
|
||||
|
||||
// Adhesive Bandage (bleeding)
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.Silk, 10);
|
||||
r.AddIngredient(ItemID.Gel, 50);
|
||||
r.AddIngredient(ItemID.GreaterHealingPotion);
|
||||
r.AddTile(TileID.MythrilAnvil);
|
||||
r.SetResult(ItemID.AdhesiveBandage);
|
||||
r.AddRecipe();
|
||||
|
||||
// Bezoar (poison)
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.Stinger, 15);
|
||||
r.AddIngredient(null, "MurkyPaste");
|
||||
r.AddTile(TileID.Anvils);
|
||||
r.SetResult(ItemID.Bezoar);
|
||||
r.AddRecipe();
|
||||
|
||||
// Nazar (curse)
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.SoulofNight, 20);
|
||||
r.AddIngredient(ItemID.Lens, 5);
|
||||
r.AddTile(TileID.MythrilAnvil);
|
||||
r.SetResult(ItemID.Nazar);
|
||||
r.AddRecipe();
|
||||
|
||||
// Vitamins (weakness)
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.BottledWater);
|
||||
r.AddIngredient(ItemID.Waterleaf, 5);
|
||||
r.AddIngredient(ItemID.Blinkroot, 5);
|
||||
r.AddIngredient(ItemID.Daybloom, 5);
|
||||
r.AddIngredient(null, "BeetleJuice", 3);
|
||||
r.AddTile(TileID.MythrilAnvil);
|
||||
r.SetResult(ItemID.Vitamins);
|
||||
r.AddRecipe();
|
||||
|
||||
// Blindfold (darkness)
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.Silk, 30);
|
||||
r.AddIngredient(ItemID.SoulofNight, 5);
|
||||
r.AddTile(TileID.MythrilAnvil);
|
||||
r.SetResult(ItemID.Blindfold);
|
||||
r.AddRecipe();
|
||||
|
||||
// Trifold Map (confusion)
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.Silk, 20);
|
||||
r.AddIngredient(ItemID.SoulofLight, 3);
|
||||
r.AddIngredient(ItemID.SoulofNight, 3);
|
||||
r.AddTile(TileID.MythrilAnvil);
|
||||
r.SetResult(ItemID.TrifoldMap);
|
||||
r.AddRecipe();
|
||||
|
||||
// Fast Clock (slow)
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.Timer1Second);
|
||||
r.AddIngredient(ItemID.PixieDust, 15);
|
||||
r.AddIngredient(ItemID.SoulofLight, 5);
|
||||
r.AddTile(TileID.MythrilAnvil);
|
||||
r.SetResult(ItemID.FastClock);
|
||||
r.AddRecipe();
|
||||
|
||||
// Megaphone (silence)
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.Wire, 10);
|
||||
r.AddIngredient(ItemID.HallowedBar, 5);
|
||||
r.AddIngredient(ItemID.Ruby, 3);
|
||||
r.AddTile(TileID.MythrilAnvil);
|
||||
r.SetResult(ItemID.Megaphone);
|
||||
r.AddRecipe();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region HardmodeEquipment
|
||||
// Alternate recipes for vanilla Hardmode equipment
|
||||
private static void AddAlternateHardmodeRecipes()
|
||||
{
|
||||
// Avenger Emblem made with Rogue Emblem
|
||||
ModRecipe r = GetNewRecipe();
|
||||
r.AddIngredient(null, "RogueEmblem");
|
||||
r.AddIngredient(ItemID.SoulofMight, 5);
|
||||
r.AddIngredient(ItemID.SoulofSight, 5);
|
||||
r.AddIngredient(ItemID.SoulofFright, 5);
|
||||
r.AddTile(TileID.TinkerersWorkbench);
|
||||
r.SetResult(ItemID.AvengerEmblem);
|
||||
r.AddRecipe();
|
||||
|
||||
// Celestial Magnet
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.FallenStar, 20);
|
||||
r.AddIngredient(ItemID.SoulofMight, 10);
|
||||
r.AddIngredient(ItemID.SoulofLight, 5);
|
||||
r.AddIngredient(ItemID.SoulofNight, 5);
|
||||
r.AddIngredient(null, "CryoBar", 3);
|
||||
r.AddTile(TileID.MythrilAnvil);
|
||||
r.SetResult(ItemID.CelestialMagnet);
|
||||
r.AddRecipe();
|
||||
|
||||
// Frozen Turtle Shell
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.TurtleShell, 3);
|
||||
r.AddIngredient(null, "EssenceofEleum", 9);
|
||||
r.AddTile(TileID.MythrilAnvil);
|
||||
r.SetResult(ItemID.FrozenTurtleShell);
|
||||
r.AddRecipe();
|
||||
|
||||
// Frost Helmet w/ Frigid Bars
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(null, "CryoBar", 6);
|
||||
r.AddIngredient(ItemID.FrostCore);
|
||||
r.AddTile(TileID.IceMachine);
|
||||
r.SetResult(ItemID.FrostHelmet);
|
||||
r.AddRecipe();
|
||||
|
||||
// Frost Breastplate w/ Frigid Bars
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(null, "CryoBar", 10);
|
||||
r.AddIngredient(ItemID.FrostCore);
|
||||
r.AddTile(TileID.IceMachine);
|
||||
r.SetResult(ItemID.FrostBreastplate);
|
||||
r.AddRecipe();
|
||||
|
||||
// Frost Leggings w/ Frigid Bars
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(null, "CryoBar", 8);
|
||||
r.AddIngredient(ItemID.FrostCore);
|
||||
r.AddTile(TileID.IceMachine);
|
||||
r.SetResult(ItemID.FrostLeggings);
|
||||
r.AddRecipe();
|
||||
|
||||
// Terra Blade w/ True Bloody Edge
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(null, "TrueBloodyEdge");
|
||||
r.AddIngredient(ItemID.TrueExcalibur);
|
||||
r.AddIngredient(null, "LivingShard", 7);
|
||||
r.AddTile(TileID.MythrilAnvil);
|
||||
r.SetResult(ItemID.TerraBlade);
|
||||
r.AddRecipe();
|
||||
}
|
||||
#endregion
|
||||
|
||||
public static void AddRecipeGroups()
|
||||
{
|
||||
RecipeGroup group = new RecipeGroup(() => Lang.misc[37] + (" Silt"), new int[]
|
||||
{
|
||||
ItemID.SiltBlock,
|
||||
ItemID.SlushBlock
|
||||
});
|
||||
RecipeGroup.RegisterGroup("SiltGroup", group);
|
||||
|
||||
group = new RecipeGroup(() => Lang.misc[37] + (" Lunar Pickaxe"), new int[]
|
||||
{
|
||||
ItemID.SolarFlarePickaxe,
|
||||
ItemID.VortexPickaxe,
|
||||
ItemID.NebulaPickaxe,
|
||||
ItemID.StardustPickaxe
|
||||
});
|
||||
RecipeGroup.RegisterGroup("LunarPickaxe", group);
|
||||
|
||||
group = new RecipeGroup(() => Lang.misc[37] + (" Lunar Hamaxe"), new int[]
|
||||
{
|
||||
ItemID.LunarHamaxeSolar,
|
||||
ItemID.LunarHamaxeVortex,
|
||||
ItemID.LunarHamaxeNebula,
|
||||
ItemID.LunarHamaxeStardust
|
||||
});
|
||||
RecipeGroup.RegisterGroup("LunarHamaxe", group);
|
||||
|
||||
group = new RecipeGroup(() => Lang.misc[37] + (" Wings"), new int[]
|
||||
{
|
||||
ItemID.DemonWings,
|
||||
ItemID.AngelWings,
|
||||
ItemID.RedsWings,
|
||||
ItemID.ButterflyWings,
|
||||
ItemID.FairyWings,
|
||||
ItemID.HarpyWings,
|
||||
ItemID.BoneWings,
|
||||
ItemID.FlameWings,
|
||||
ItemID.FrozenWings,
|
||||
ItemID.GhostWings,
|
||||
ItemID.SteampunkWings,
|
||||
ItemID.LeafWings,
|
||||
ItemID.BatWings,
|
||||
ItemID.BeeWings,
|
||||
ItemID.DTownsWings,
|
||||
ItemID.WillsWings,
|
||||
ItemID.CrownosWings,
|
||||
ItemID.CenxsWings,
|
||||
ItemID.TatteredFairyWings,
|
||||
ItemID.SpookyWings,
|
||||
ItemID.Hoverboard,
|
||||
ItemID.FestiveWings,
|
||||
ItemID.BeetleWings,
|
||||
ItemID.FinWings,
|
||||
ItemID.FishronWings,
|
||||
ItemID.MothronWings,
|
||||
ItemID.WingsSolar,
|
||||
ItemID.WingsVortex,
|
||||
ItemID.WingsNebula,
|
||||
ItemID.WingsStardust,
|
||||
ItemID.Yoraiz0rWings,
|
||||
ItemID.JimsWings,
|
||||
ItemID.SkiphsWings,
|
||||
ItemID.LokisWings,
|
||||
ItemID.BetsyWings,
|
||||
ItemID.ArkhalisWings,
|
||||
ItemID.LeinforsWings,
|
||||
CalamityMod.Instance.ItemType("SkylineWings"),
|
||||
CalamityMod.Instance.ItemType("StarlightWings"),
|
||||
CalamityMod.Instance.ItemType("AureateWings"),
|
||||
CalamityMod.Instance.ItemType("DiscordianWings"),
|
||||
CalamityMod.Instance.ItemType("TarragonWings"),
|
||||
CalamityMod.Instance.ItemType("XerocWings")
|
||||
});
|
||||
RecipeGroup.RegisterGroup("WingsGroup", group);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 384 B |
|
After Width: | Height: | Size: 457 B |
|
After Width: | Height: | Size: 161 B |
|
After Width: | Height: | Size: 413 B |
|
After Width: | Height: | Size: 314 B |
|
After Width: | Height: | Size: 370 B |
|
After Width: | Height: | Size: 367 B |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 440 B |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 557 B |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 550 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 601 B |
|
After Width: | Height: | Size: 472 B |
|
After Width: | Height: | Size: 299 B |
|
After Width: | Height: | Size: 404 B |
|
After Width: | Height: | Size: 507 B |
|
After Width: | Height: | Size: 468 B |
|
After Width: | Height: | Size: 445 B |
|
After Width: | Height: | Size: 401 B |
|
After Width: | Height: | Size: 290 B |
|
After Width: | Height: | Size: 642 B |
|
After Width: | Height: | Size: 337 B |
|
After Width: | Height: | Size: 440 B |
|
After Width: | Height: | Size: 554 B |
|
After Width: | Height: | Size: 304 B |
|
After Width: | Height: | Size: 460 B |
|
After Width: | Height: | Size: 305 B |
|
After Width: | Height: | Size: 271 B |
|
After Width: | Height: | Size: 306 B |
|
After Width: | Height: | Size: 409 B |
|
After Width: | Height: | Size: 263 B |
|
After Width: | Height: | Size: 547 B |