Scrumch Posted May 23, 2019 Share Posted May 23, 2019 I've already used the templates to make armour and weapon items, but now I need to create a unique crafting resource. I added a beard growth style mechanic so I have a way of getting the item. I just have no clue how to implement it. I've extracted the the crow feather files from the game's data but it hasn't seemed to help. Is there a guide on how to add a regular, non-weapon, non-dress item to my mod, like a new type of beard hair? Thanks. Link to comment Share on other sites More sharing options...
Ultroman Posted May 24, 2019 Share Posted May 24, 2019 You can find a beard mod on the workshop and study the code. That's honestly the best advise I can give. Always see if someone else has already done it, before starting to decipher how to do something yourself. Their code will at least tell you one way to approach it, and that will get you an idea for how you can translate that to sit in your code. Link to comment Share on other sites More sharing options...
Scrumch Posted May 24, 2019 Author Share Posted May 24, 2019 I mean, I just want a standard item that isn't a equip-able weapon or dress piece. The beard thing isn't really important. Link to comment Share on other sites More sharing options...
Ultroman Posted May 24, 2019 Share Posted May 24, 2019 Then take e.g. the Cactus Armor - DST.zip and remove the equippable component and the armor component. Also the tuning variables in modmain.lua And the recipe, if you don't want that. Link to comment Share on other sites More sharing options...
K1NGT1GER609 Posted May 26, 2019 Share Posted May 26, 2019 Usually I use sample prefab from the tutorial here to make most of my recipe parts and stuff: I've used it for consumables, crafting parts, sometimes structures, even lanterns. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.