public static void Init() { string itemName = "Lucky Horseshoe"; string resourceName = "katmod/Resources/V2MiscItems/horseshoe"; GameObject obj = new GameObject(); LuckyHorseshoe item = obj.AddComponent <LuckyHorseshoe>(); ItemBuilder.AddSpriteToObject(itemName, resourceName, obj); string shortDesc = "All the same."; string longDesc = "Enemies have a chance to drop either a heart or a red ammo box.\n\nThe shoe's on the other foot"; ItemBuilder.SetupItem(item, shortDesc, longDesc, "psm"); item.quality = ItemQuality.B; item.PlaceItemInAmmonomiconAfterItemById(159); }