Davincho Posted August 12, 2018 Share Posted August 12, 2018 Hello everyone. The last week I've created a custom character. But I want to put a custom item for it. Is there a way to give him a custom item,hat,armor, etc? For example, my character its a miner, i want to put his own helmet and a shovel, it its possible, and how? Thanks Link to comment https://forums.kleientertainment.com/forums/topic/94527-character-custom-items/ Share on other sites More sharing options...
Lumina Posted August 12, 2018 Share Posted August 12, 2018 Hello, Your question is related to modding, there is a special forum about modding. Also, you posted it twice. To answer, it's possible to make your character able to craft his own helmet, and to give it this custom helmet and a shovel at the start of the game. I suggest you look at other character prefabs for example of the "start_inv" function. Something like this should do : -- Custom starting items local start_inv = { "shovel" } return MakePlayerCharacter("yourcharactername", prefabs, assets, common_postinit, master_postinit, start_inv) For the recipe, you need to have a custom tag for your character. Then the recipe will use this tag to make the character the only one able to craft it. You could look at scripts/recipes.lua for examples. Link to comment https://forums.kleientertainment.com/forums/topic/94527-character-custom-items/#findComment-1074102 Share on other sites More sharing options...
Developer ImDaMisterL Posted August 12, 2018 Developer Share Posted August 12, 2018 Moved to DST - Mods and Tools Link to comment https://forums.kleientertainment.com/forums/topic/94527-character-custom-items/#findComment-1074206 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