VictorLes
The Destroyer
Thanks, i dont put the error here because its written on portuguese >_>.In the future it'd help if you could post the whole error. I can see the fault right away in this case, though:
This has to do with namespaces. Every class falls under a certain namespace (as you can see, this items' namespace is
DarkSaddle.Items). 'ItemID', 'TileID', 'BuffID', etc. all fall under the 'Terraria.ID' namespace. If you want to use a class from other namespaces, you'll have to include that namespace in your code:
These so called 'using statements' are placed at the top of your file (along with the other using statements)Code:using Terraria.ID;
![]()
EDIT: now its giving me this error error CS0117: 'Terraria.ID.TileID' não contém uma definição para 'Workbenches'