Statigel stuff now crafted at Solidifier Static Refiner recipe changed Ancient furniture now crafted at Ashen Altar Ancient Altar now crafted at Ashen Altar Botanic furniture now crafted at Living Loom Botanic Planter now crafted at Living Loom Silva furniture now crafted at Glass Kiln Effulgent Manipulator renamed to Silva Basin since it no longer manipulates Silva Basin now crafted at Glass Kiln Navystone furniture now crafted at Sawmill Eutrophic Shelf recipe now uses Ancient Navystone instead of Navystone and is crafted at the Sawmill Wulfrum furniture now crafted at anvils Monoltih Amalgam now crafted at Sawmill Amalgam recipe is now at Sawmill All Stratus furniture is now at the void condenser Both Navysatone sets use their respective smooth navystone blocks Some Monolith, Navystone, Marnite, Driftwood, and Ancient Navystone furniture pieces are now crafted by hand, anvil, or work bench instead of sawmill theres probably some oversight somewhere in these 282 changed files jfc im sorry cit
56 lines
1.7 KiB
C#
56 lines
1.7 KiB
C#
using CalamityMod.Items.Materials;
|
|
using CalamityMod.Tiles.Furniture.CraftingStations;
|
|
using Microsoft.Xna.Framework;
|
|
using Terraria;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Items.Tools
|
|
{
|
|
public class Gelpick : ModItem, ILocalizedModType
|
|
{
|
|
public new string LocalizationCategory => "Items.Tools";
|
|
public override void SetDefaults()
|
|
{
|
|
Item.width = 46;
|
|
Item.height = 48;
|
|
Item.damage = 19;
|
|
Item.knockBack = 2.5f;
|
|
Item.useTime = 6;
|
|
Item.useAnimation = 12;
|
|
Item.pick = 90;
|
|
Item.tileBoost += 1;
|
|
|
|
Item.DamageType = DamageClass.Melee;
|
|
Item.useStyle = ItemUseStyleID.Swing;
|
|
Item.value = CalamityGlobalItem.RarityLightRedBuyPrice;
|
|
Item.rare = ItemRarityID.LightRed;
|
|
Item.UseSound = SoundID.Item1;
|
|
Item.autoReuse = true;
|
|
Item.useTurn = true;
|
|
}
|
|
|
|
public override void AddRecipes()
|
|
{
|
|
CreateRecipe().
|
|
AddIngredient<PurifiedGel>(12).
|
|
AddIngredient<BlightedGel>(12).
|
|
AddTile(TileID.Solidifier).
|
|
Register();
|
|
}
|
|
|
|
public override void MeleeEffects(Player player, Rectangle hitbox)
|
|
{
|
|
if (Main.rand.NextBool(4))
|
|
{
|
|
int dust = Dust.NewDust(new Vector2(hitbox.X, hitbox.Y), hitbox.Width, hitbox.Height, DustID.PurificationPowder);
|
|
}
|
|
}
|
|
|
|
public override void OnHitNPC(Player player, NPC target, NPC.HitInfo hit, int damageDone)
|
|
{
|
|
target.AddBuff(BuffID.Slimed, 180);
|
|
}
|
|
}
|
|
}
|