Weapon recipe tweaks + Life regen on Deific Amulet and Rampart
This commit is contained in:
1 parent
2a6b37af48
commit
6d4cd49417
25 files changed
+31
-28
No files matched your search
@@ -12,7 +12,7 @@ namespace CalamityMod.Items.Accessories
|
||||
{
|
||||
DisplayName.SetDefault("Deific Amulet");
|
||||
Tooltip.SetDefault("Causes stars to fall and grants increased immune time when damaged\n" +
|
||||
"Reduces the cooldown of healing potions\n");
|
||||
"Provides life regeneration and reduces the cooldown of healing potions\n");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
@@ -29,6 +29,7 @@ namespace CalamityMod.Items.Accessories
|
||||
CalamityPlayer modPlayer = player.Calamity();
|
||||
modPlayer.dAmulet = true;
|
||||
player.longInvince = true;
|
||||
player.lifeRegen += 1;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace CalamityMod.Items.Accessories
|
||||
{
|
||||
DisplayName.SetDefault("Rampart of Deities");
|
||||
Tooltip.SetDefault("Causes stars to fall and gives increased immune time when damaged\n" +
|
||||
"Reduces the cooldown of healing potions\n" +
|
||||
"Provides life regeneration and reduces the cooldown of healing potions\n" +
|
||||
"Absorbs 25% of damage done to players on your team\n" +
|
||||
"This effect is only active above 25% life\n" +
|
||||
"Grants immunity to knockback\n" +
|
||||
@@ -55,7 +55,8 @@ namespace CalamityMod.Items.Accessories
|
||||
modPlayer.rampartOfDeities = true;
|
||||
modPlayer.fBulwark = true;
|
||||
player.longInvince = true;
|
||||
}
|
||||
player.lifeRegen += 1;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
|
||||
@@ -53,9 +53,9 @@ namespace CalamityMod.Items
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.RodofDiscord);
|
||||
recipe.AddIngredient(ItemID.FragmentStardust, 30);
|
||||
recipe.AddIngredient(ModContent.ItemType<ExodiumClusterOre>(), 10);
|
||||
recipe.AddIngredient(ModContent.ItemType<Cinderplate>(), 5);
|
||||
recipe.AddIngredient(ModContent.ItemType<ExodiumClusterOre>(), 10);
|
||||
recipe.AddIngredient(ItemID.FragmentStardust, 30);
|
||||
recipe.AddTile(TileID.LunarCraftingStation);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
|
||||
@@ -37,6 +37,7 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.SpellTome);
|
||||
recipe.AddIngredient(ModContent.ItemType<UnholyCore>(), 5);
|
||||
recipe.AddTile(TileID.Bookcases);
|
||||
recipe.SetResult(this);
|
||||
|
||||
@@ -39,10 +39,10 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<Tradewinds>());
|
||||
recipe.AddIngredient(ItemID.FossilOre, 25);
|
||||
recipe.AddIngredient(ItemID.AncientBattleArmorMaterial);
|
||||
recipe.AddIngredient(ModContent.ItemType<DesertFeather>(), 5);
|
||||
recipe.AddRecipeGroup("AnyAdamantiteBar", 5); // This is here to keep the Forbidden Fragment stuff on the same tier.
|
||||
recipe.AddIngredient(ItemID.AncientBattleArmorMaterial);
|
||||
recipe.AddIngredient(ItemID.FossilOre, 25);
|
||||
recipe.AddIngredient(ModContent.ItemType<DesertFeather>(), 5);
|
||||
recipe.AddTile(TileID.Bookcases);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
|
||||
@@ -36,8 +36,8 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.SpellTome); //Living Fire Blocks were CRINGE!
|
||||
recipe.AddIngredient(ModContent.ItemType<CruptixBar>(), 6);
|
||||
recipe.AddIngredient(ItemID.LivingFireBlock, 50);
|
||||
recipe.AddTile(TileID.Bookcases);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
|
||||
@@ -44,8 +44,8 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.LavaBucket, 2);
|
||||
recipe.AddIngredient(ItemID.HellstoneBar, 7);
|
||||
recipe.AddIngredient(ItemID.LavaBucket, 2);
|
||||
recipe.AddTile(TileID.Anvils);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
|
||||
@@ -51,8 +51,8 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.SpellTome);
|
||||
recipe.AddIngredient(ItemID.AncientBattleArmorMaterial, 2);
|
||||
recipe.AddRecipeGroup("AnyAdamantiteBar", 5); // This is here to keep the Forbidden Fragment stuff on the same tier.
|
||||
recipe.AddIngredient(ItemID.AncientBattleArmorMaterial, 2);
|
||||
recipe.AddTile(TileID.Bookcases);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
|
||||
@@ -47,8 +47,8 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.AncientBattleArmorMaterial, 2);
|
||||
recipe.AddRecipeGroup("AnyAdamantiteBar", 5);
|
||||
recipe.AddIngredient(ItemID.AncientBattleArmorMaterial, 2);
|
||||
recipe.AddTile(TileID.MythrilAnvil);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
|
||||
@@ -80,8 +80,8 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.CrystalShard, 10);
|
||||
recipe.AddRecipeGroup("AnyAdamantiteBar", 10);
|
||||
recipe.AddIngredient(ItemID.CrystalShard, 10);
|
||||
recipe.AddTile(TileID.MythrilAnvil);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
|
||||
@@ -51,9 +51,9 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<ForbiddenOathblade>());
|
||||
recipe.AddIngredient(ItemID.BrokenHeroSword);
|
||||
recipe.AddIngredient(ModContent.ItemType<CalamityDust>(), 3);
|
||||
recipe.AddIngredient(ModContent.ItemType<InfectedArmorPlating>(), 3);
|
||||
recipe.AddIngredient(ItemID.BrokenHeroSword);
|
||||
recipe.AddTile(TileID.MythrilAnvil);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
|
||||
@@ -87,11 +87,11 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.JungleRose);
|
||||
recipe.AddIngredient(ItemID.RichMahogany, 15);
|
||||
recipe.AddIngredient(ItemID.JungleSpores, 12);
|
||||
recipe.AddIngredient(ItemID.Stinger, 4);
|
||||
recipe.AddIngredient(ItemID.Vine, 2);
|
||||
recipe.AddIngredient(ItemID.JungleRose);
|
||||
recipe.AddTile(TileID.Anvils);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
|
||||
@@ -50,9 +50,9 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.Shotgun);
|
||||
recipe.AddIngredient(ItemID.IllegalGunParts);
|
||||
recipe.AddRecipeGroup("AnyCobaltBar", 5);
|
||||
recipe.AddIngredient(ModContent.ItemType<EssenceofChaos>(), 4);
|
||||
recipe.AddIngredient(ItemID.IllegalGunParts);
|
||||
recipe.AddTile(TileID.Anvils);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
|
||||
@@ -41,8 +41,8 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.Cog, 50);
|
||||
recipe.AddIngredient(ItemID.LunarBar, 5);
|
||||
recipe.AddIngredient(ItemID.Cog, 50);
|
||||
recipe.AddTile(TileID.LunarCraftingStation);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
|
||||
@@ -62,11 +62,11 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.SnowballCannon);
|
||||
recipe.AddIngredient(ItemID.IllegalGunParts);
|
||||
recipe.AddIngredient(ModContent.ItemType<AerialiteBar>(), 10);
|
||||
recipe.AddIngredient(ItemID.Bone, 50);
|
||||
recipe.AddIngredient(ModContent.ItemType<VictoryShard>(), 25);
|
||||
recipe.AddIngredient(ItemID.WaterBucket, 3);
|
||||
recipe.AddIngredient(ItemID.IllegalGunParts);
|
||||
recipe.AddTile(TileID.Anvils);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
|
||||
@@ -48,8 +48,8 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.AncientBattleArmorMaterial, 2);
|
||||
recipe.AddRecipeGroup("AnyAdamantiteBar", 13);
|
||||
recipe.AddIngredient(ItemID.AncientBattleArmorMaterial, 2);
|
||||
recipe.AddTile(TileID.MythrilAnvil);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
|
||||
@@ -55,9 +55,9 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.IllegalGunParts);
|
||||
recipe.AddIngredient(ItemID.Pumpkin, 30);
|
||||
recipe.AddIngredient(ItemID.PumpkinSeed, 5);
|
||||
recipe.AddIngredient(ItemID.IllegalGunParts);
|
||||
recipe.AddTile(TileID.Anvils);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
|
||||
@@ -51,8 +51,8 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.HolyWater, 20);
|
||||
recipe.AddIngredient(ItemID.SandstorminaBottle);
|
||||
recipe.AddIngredient(ItemID.HolyWater, 20);
|
||||
recipe.AddIngredient(ModContent.ItemType<GrandScale>());
|
||||
recipe.AddTile(TileID.MythrilAnvil);
|
||||
recipe.SetResult(this);
|
||||
|
||||
@@ -55,11 +55,11 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.HolyWater, 10);
|
||||
recipe.AddIngredient(ItemID.HallowedBar, 12);
|
||||
recipe.AddIngredient(ItemID.SoulofMight, 6);
|
||||
recipe.AddIngredient(ItemID.SoulofSight, 6);
|
||||
recipe.AddIngredient(ItemID.SoulofFright, 6);
|
||||
recipe.AddIngredient(ItemID.HolyWater, 10);
|
||||
recipe.AddTile(TileID.MythrilAnvil);
|
||||
recipe.SetResult(this, 1);
|
||||
recipe.AddRecipe();
|
||||
|
||||
@@ -38,8 +38,8 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.AncientBattleArmorMaterial, 2);
|
||||
recipe.AddRecipeGroup("AnyAdamantiteBar", 5);
|
||||
recipe.AddIngredient(ItemID.AncientBattleArmorMaterial, 2);
|
||||
recipe.AddIngredient(ItemID.Amethyst, 4);
|
||||
recipe.AddTile(TileID.MythrilAnvil);
|
||||
recipe.SetResult(this);
|
||||
|
||||
@@ -47,8 +47,8 @@ namespace CalamityMod.Items.Weapons.Typeless
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<AerialiteBar>(), 1);
|
||||
recipe.AddIngredient(ItemID.Dynamite, 10);
|
||||
recipe.AddIngredient(ModContent.ItemType<AerialiteBar>(), 1);
|
||||
recipe.AddTile(TileID.SkyMill);
|
||||
recipe.SetResult(this, 10);
|
||||
recipe.AddRecipe();
|
||||
|
||||
@@ -79,9 +79,9 @@ namespace CalamityMod.Items.Weapons.Typeless.FiniteUse
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.IllegalGunParts);
|
||||
recipe.AddIngredient(ItemID.IronBar, 20);
|
||||
recipe.anyIronBar = true;
|
||||
recipe.AddIngredient(ItemID.IllegalGunParts);
|
||||
recipe.AddRecipeGroup("AnyAdamantiteBar", 15);
|
||||
recipe.AddTile(TileID.MythrilAnvil);
|
||||
recipe.SetResult(this);
|
||||
|
||||
@@ -77,8 +77,8 @@ namespace CalamityMod.Items.Weapons.Typeless.FiniteUse
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<LightningHawk>());
|
||||
recipe.AddIngredient(ItemID.LunarBar, 15);
|
||||
recipe.AddIngredient(ItemID.IllegalGunParts);
|
||||
recipe.AddIngredient(ItemID.LunarBar, 15);
|
||||
recipe.AddTile(TileID.LunarCraftingStation);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
|
||||
@@ -88,9 +88,9 @@ namespace CalamityMod.Items.Weapons.Typeless.FiniteUse
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.Shotgun);
|
||||
recipe.AddIngredient(ItemID.IllegalGunParts);
|
||||
recipe.AddIngredient(ItemID.IronBar, 20);
|
||||
recipe.anyIronBar = true;
|
||||
recipe.AddIngredient(ItemID.IllegalGunParts);
|
||||
recipe.AddIngredient(ItemID.Ectoplasm, 20);
|
||||
recipe.AddTile(TileID.MythrilAnvil);
|
||||
recipe.SetResult(this);
|
||||
|
||||
@@ -77,10 +77,10 @@ namespace CalamityMod.Items.Weapons.Typeless.FiniteUse
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<Magnum>());
|
||||
recipe.AddIngredient(ItemID.IllegalGunParts);
|
||||
recipe.AddIngredient(ItemID.SoulofMight, 20);
|
||||
recipe.AddIngredient(ItemID.SoulofSight, 20);
|
||||
recipe.AddIngredient(ItemID.SoulofFright, 20);
|
||||
recipe.AddIngredient(ItemID.IllegalGunParts);
|
||||
recipe.AddIngredient(ItemID.HallowedBar, 10);
|
||||
recipe.AddTile(TileID.MythrilAnvil);
|
||||
recipe.SetResult(this);
|
||||
|
||||
Reference in new issue
Block a user