• For issues you find with the Switch and Console releases, please follow this link and give as much detail as possible. This is the speediest way to get info to Pipeworks and get a hotfix in the works.
  • 1.4 will bring many changes to the PC version. We strongly advise making plans to back up your worlds and players prior to updating your game. More details here.
  • Begin your search for Journey's End information here and here. Please report bugs and issues for Journey's End here.
  • For issues you find with the Mobile 1.3 update, please follow this link and give as much detail as possible. This is the speediest way to get info to DR Studios to look at your issue. Also, some troubleshooting hints here.

tModLoader I need A Text ID List!

Im making a random terraria mod and it wont work purely because i need the ids of things.
When i type in number ids they dont work. but if I just type in the name of the item, it doesnt work either.

Heres an example:

recipe.AddIngredient(ItemID.SoulOfMight, 1); - Doesnt work
recipe.AddIngredient(ItemID.548, 1); - Also doesnt work.

I need help.
Preferrably a link to a text id list
 

Kazzymodus

Moderator
Staff member
Moderator
Im making a random terraria mod and it wont work purely because i need the ids of things.
When i type in number ids they dont work. but if I just type in the name of the item, it doesnt work either.

Heres an example:

recipe.AddIngredient(ItemID.SoulOfMight, 1); - Doesnt work
recipe.AddIngredient(ItemID.548, 1); - Also doesnt work.

I need help.
Preferrably a link to a text id list
Make sure your code has using Terraria.ID; included in the using directives. ItemID.548 wouldn't work regardless of what you tried.

We are not allowed to share these classes in text format on these forums (or in extension, anywhere else).
 
Make sure your code has using Terraria.ID; included in the using directives. ItemID.548 wouldn't work regardless of what you tried.

We are not allowed to share these classes in text format on these forums (or in extension, anywhere else).
Ok. A bit annoying, to say the least. Considering I made sure that was there previously.

If there is any way you know how to add souls of might to a recipe please tell me
 

Kazzymodus

Moderator
Staff member
Moderator
Ok. A bit annoying, to say the least. Considering I made sure that was there previously.

If there is any way you know how to add souls of might to a recipe please tell me
Code:
recipe.AddIngredient(ItemID.SoulofMight, 1);
If you have using Terraria.ID; at the top of your code, then that should work.
 
Top Bottom