I want to make a trap tile which can be rotated when hammered, and has 4 frames (1 for each cardinal direction). I copied ExampleBlock as a base, and I'm having a problem where the pink missing-texture color is used for most of the blocks' sides. I do get some of my 4 images to show up in the...
I assume by "doesn't work", that you mean the mod doesn't give any errors, but the recipe won't show up.
I don't see any obvious things wrong in your code.
I assume you have the ingredients in your inventory rather than in equipment slots?
You might also need to make Lava Waders and...
Agh. My bad. I gave you the Item id rather than the Tile id. So the right reference list is at https://github.com/bluemagic123/tModLoader/wiki/Vanilla-Tile-IDs
TileID.TinkerersWorkshop should work. See https://github.com/bluemagic123/tModLoader/wiki/Vanilla-Item-IDs. Either put "TileID.TinkerersWorkshop", or just a number; don't put "TileID.398".
As for your second problem, it's a syntax error because of your placeholder for the Tinkerer's workshop...
In the first 3 lines of your code you have:
using System.Collections.Generic;
using Terraria;
using Terraria.ModLoader;
Just add one more line to that:
using Terraria.ID;
I'm working on my first mod. I'd like to make some new traps which are rotatable (1.3.1 made all 1-block traps so they can be rotated by hammering them). The example mod has some good examples and good starting points, but I'm having trouble with it.
In particular, I'm having trouble getting...
Traps.
All kinds of traps in tiers ranging from early game to end game.
A trap which holds a weapon. If it's a mana-using weapon, the trap has 50 mana and regenerates mana as if it were a player standing still. If it uses ammo, that ammo has to be supplied in a second slot. It can be triggered...
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.