This is why I suggested you to use Visual Studio, because the hook isn't "AddRecipe" but "AddRecipes"
Edit
You should give a read to this thread to get started:
https://forums.terraria.org/index.php?threads/official-tmodloader-help-thread.28901/
I suggest you to use an IDE like Visual Studio to code so you can easily see these errors, and the errors themselves are quite descrivtive.
Here you wrote a "-" insted of "="
item.rare - 1;
As you can see in the CanUseItem hook you have two returns, that's not possible because after the first...
A good place to start getting information is the Example Mod and the tModLoader documentation (You can find links in the first post). In the Example Mod there is pretty much every thing you can do so I suggest having a look at its source code, as long as you have some basis in C# you shouldn't...
How do you check what is the frame of a wall? Looking in the source I found Tile.wallFrameX(), Tile.wallFrameY() and Tile.wallFrameNumber() but I haven't understand exactely how to use them, someone knows how to check if tile's wall frame is a determined frame?
It's been a while, but now I'm back. Sorry for leaving the mod behind for so much time. I've updated the first post with new info, time to work on this mod again. Thanks all of you for your feedbacks and suggestions
Sorry but I have to contraddict you:
https://msdn.microsoft.com/en-us/library/5y536ey6(v=vs.110).aspx :) this is just for pointing out, no offense intended
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.