How can I make a recipe involve any type of wings?

vCrxnchy

Terrarian
Currently I have this:

C++:
Recipe recipe = CreateRecipe();
        recipe.AddIngredient(ItemID.SoulofFright, 5);
        recipe.AddIngredient(ItemID.HallowedBar, 15);
        recipe.AddIngredient(ItemID.Ectoplasm, 15);
        recipe.AddIngredient(ItemID.BeetleHusk, 3);
        recipe.AddRecipeGroup("wings");
        recipe.AddTile(TileID.MythrilAnvil);
        recipe.Register();
 
Currently I have this:

C++:
Recipe recipe = CreateRecipe();
        recipe.AddIngredient(ItemID.SoulofFright, 5);
        recipe.AddIngredient(ItemID.HallowedBar, 15);
        recipe.AddIngredient(ItemID.Ectoplasm, 15);
        recipe.AddIngredient(ItemID.BeetleHusk, 3);
        recipe.AddRecipeGroup("wings");
        recipe.AddTile(TileID.MythrilAnvil);
        recipe.Register();
you would have to make a recipe group for that, since there is no existing recipe group for wing items. Intermediate Recipes · tModLoader/tModLoader Wiki
 
Thanks so much! I do have one extra question though.

On this line of code where it says "...ItemID.AngelWings)", is there anyway I can change this to show up as just "Wings" in the Recipe Browser/Guide menu? I feel it could confuse people into thinking it's just angel/demon wings
C++:
{Lang.GetItemNameValue(ItemID.AngelWings)}
 
Thanks so much! I do have one extra question though.

On this line of code where it says "...ItemID.AngelWings)", is there anyway I can change this to show up as just "Wings" in the Recipe Browser/Guide menu? I feel it could confuse people into thinking it's just angel/demon wings
C++:
{Lang.GetItemNameValue(ItemID.AngelWings)}
you can just write "Wing" instead of all that if you want.
 
Back
Top Bottom