Commit of decompiled and "updated" code.

This commit is contained in:
Big Duckie
2022-07-03 14:13:26 -06:00
parent 3d34e53842
commit e1441e74a5
731 changed files with 18423 additions and 0 deletions
@@ -0,0 +1,37 @@
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace FabusMod.Items.Weapons.Melee.Shortswords;
public class StonePlatedShortsword : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Stone-Plated Shortsword");
}
public override void SetDefaults()
{
Item.damage = 9;
Item.width = 30;
Item.height = 30;
Item.useTime = 13;
Item.useAnimation = 13;
Item.useStyle = ItemUseStyleID.Thrust;
Item.knockBack = 5f;
Item.value = Item.sellPrice(0, 0, 0, 40);
Item.rare = ItemRarityID.White;
Item.UseSound = SoundID.Item1;
Item.autoReuse = false;
}
public override void AddRecipes()
{
Recipe val = CreateRecipe();
val.AddIngredient(ModContent.ItemType<Items.WeaponParts.UntreatedShortswordPart>());
val.AddIngredient(ItemID.StoneBlock, 6);
val.AddTile(ModContent.TileType<global::FabusMod.Tiles.ReinforcedWorkBench>());
val.Register();
}
}