diff --git a/Content/BossOverrides.cs b/Content/BossOverrides.cs new file mode 100644 index 0000000..11e07a1 --- /dev/null +++ b/Content/BossOverrides.cs @@ -0,0 +1,19 @@ +using Terraria; +using Terraria.ID; +using Terraria.ModLoader; +using Terraria.GameContent.ItemDropRules; +using Continuity.Content.Items; + +namespace Continuity.Content.NPCs +{ + public class PlanteraDrops : GlobalNPC + { + public override void ModifyNPCLoot(NPC npc, NPCLoot npcLoot) + { + if (npc.type == NPCID.Plantera) + { + npcLoot.Add(ItemDropRule.Common(ModContent.ItemType(), 1, 15, 25)); + } + } + } +} diff --git a/Content/Items/PalishadeTissue.aseprite b/Content/Items/PalishadeTissue.aseprite new file mode 100644 index 0000000..695db8c Binary files /dev/null and b/Content/Items/PalishadeTissue.aseprite differ diff --git a/Content/Items/PalishadeTissue.cs b/Content/Items/PalishadeTissue.cs new file mode 100644 index 0000000..073f9b6 --- /dev/null +++ b/Content/Items/PalishadeTissue.cs @@ -0,0 +1,19 @@ +using Terraria; +using Terraria.ID; +using Terraria.ModLoader; + +namespace Continuity.Content.Items +{ + public class PalishadeTissue : ModItem + { + public override void SetDefaults() + { + Item.width = 24; + Item.height = 24; + Item.maxStack = 999; + Item.value = Item.buyPrice(silver: 14); + Item.rare = ItemRarityID.Lime; + } + + } +} diff --git a/Content/Items/PalishadeTissue.png b/Content/Items/PalishadeTissue.png new file mode 100644 index 0000000..23183fd Binary files /dev/null and b/Content/Items/PalishadeTissue.png differ diff --git a/Content/Items/Recipes.cs b/Content/Items/Recipes.cs new file mode 100644 index 0000000..857d20a --- /dev/null +++ b/Content/Items/Recipes.cs @@ -0,0 +1,19 @@ +using Terraria; +using Terraria.ID; +using Terraria.ModLoader; +using Continuity.Content.Items; + +namespace Continuity.Content.Palishade +{ + public class PlanteraRecipes : ModSystem + { + public override void AddRecipes() { + // Seedler + Recipe recipe = Recipe.Create(ItemID.Seedler); + recipe.AddIngredient(ItemID.ChlorophyteBar, 12); + recipe.AddIngredient(ModContent.ItemType(), 9); + recipe.AddIngredient(331, 6); + recipe.Register(); + } + } +} diff --git a/Localization/en-US_Mods.continuity.hjson b/Localization/en-US_Mods.continuity.hjson index 8b13789..b0992d0 100644 --- a/Localization/en-US_Mods.continuity.hjson +++ b/Localization/en-US_Mods.continuity.hjson @@ -1 +1,10 @@ - +Items: { + PalishadeTissue: { + Tooltip: + ''' + A clump of dark red cells from Plantera. + Hardens when exposed to bright light. + ''' + DisplayName: Palishade Tissue + } +}