PsychologistTongue Posted June 17, 2016 Share Posted June 17, 2016 I'm currently adding to my Eddie Gluskin mod and I wanted to give him a knife as a starting weapon that doesn't break, does anyone have any tutorials on making custom weapons/tools for characters? Also editing recipes characters already know? I'd like him to start with the ability to make a sewing kit. Thank you Link to comment https://forums.kleientertainment.com/forums/topic/68265-creating-custom-toolsweapons-for-characters/ Share on other sites More sharing options...
rezecib Posted June 17, 2016 Share Posted June 17, 2016 (edited) @PsychologistTongue The rest is just copy-pasting existing game code and tweaking it to your needs. As for knowing the sewing kit recipe, you can put this in the character's master_postinit: inst:DoTaskInTime(0, function(inst) inst.components.builder:AddRecipe("sewing_kit") inst:PushEvent("unlockrecipe", { recipe = "sewing_kit" }) end) Edited June 17, 2016 by rezecib Link to comment https://forums.kleientertainment.com/forums/topic/68265-creating-custom-toolsweapons-for-characters/#findComment-785243 Share on other sites More sharing options...
PsychologistTongue Posted June 17, 2016 Author Share Posted June 17, 2016 (edited) Thank you so much! Edited June 17, 2016 by PsychologistTongue Link to comment https://forums.kleientertainment.com/forums/topic/68265-creating-custom-toolsweapons-for-characters/#findComment-785311 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