mibyan Posted June 12 Share Posted June 12 It might be weird because I'm using a translator Sorry in advance! I'm looking for a way to put a dedicated weapon in a sample character. I've read and created other forum posts, but strangely, they don't appear in the war category ... I changed the tag and category separately. modmain.lua custom_handitem.lua Link to comment Share on other sites More sharing options...
ClumsyPenny Posted June 12 Share Posted June 12 You're using AddRecipe and RECIPETABS, which are both deprecated. If you want to use the new system, you could write something like this: AddRecipe2("custom_handitem", {Ingredient("cutgrass", 2)}, TECH.SCIENCE_ONE, {builder_tag = "test_DST", atlas = "images/inventoryimages/custom_handitem.xml"}, {"WEAPONS"}) The last table is the one for filters, in this case I put "WEAPONS", but you can put as many as you'd like. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now