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
44 lines
1.4 KiB
C#
44 lines
1.4 KiB
C#
using CalamityMod.Items.Materials;
|
|
using CalamityMod.Tiles.Furniture.CraftingStations;
|
|
using Terraria;
|
|
using Terraria.ID;
|
|
using Terraria.Localization;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Items.Armor.Statigel
|
|
{
|
|
[AutoloadEquip(EquipType.Legs)]
|
|
public class StatigelGreaves : ModItem, ILocalizedModType
|
|
{
|
|
public new string LocalizationCategory => "Items.Armor.PreHardmode";
|
|
|
|
public static float DamageBoost = 0.05f;
|
|
public static float MoveSpeedBoost = 0.05f; // NOTE: Tooltip shares this number with damage % as they're equal
|
|
public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs(DamageBoost.ToPercent());
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
Item.width = 18;
|
|
Item.height = 18;
|
|
Item.value = CalamityGlobalItem.RarityLightRedBuyPrice;
|
|
Item.rare = ItemRarityID.LightRed;
|
|
Item.defense = 8;
|
|
}
|
|
|
|
public override void UpdateEquip(Player player)
|
|
{
|
|
player.GetDamage<GenericDamageClass>() += DamageBoost;
|
|
player.moveSpeed += MoveSpeedBoost;
|
|
}
|
|
|
|
public override void AddRecipes()
|
|
{
|
|
CreateRecipe().
|
|
AddIngredient<PurifiedGel>(7).
|
|
AddIngredient<BlightedGel>(7).
|
|
AddTile(TileID.Solidifier).
|
|
Register();
|
|
}
|
|
}
|
|
}
|