Pyython Posted June 20, 2018 Share Posted June 20, 2018 So I'm making a mod and I wanted to give my character three perks.(Walks slower,stronger, and gets hungry slower) If any one has the codes or whatever for these that will be helpful.( I also need help on where to copy the codes in Link to comment https://forums.kleientertainment.com/forums/topic/92325-custom-perks-help-me-plz/ Share on other sites More sharing options...
icantevenname Posted June 20, 2018 Share Posted June 20, 2018 Speed is inst.components.locomotor.walkspeed = number inst.components.locomotor.runspeed = number Strength is inst.components.combat.damagemultiplier = number Hunger is inst.components.hunger.hungerrate = number * TUNING.WILSON_HUNGER_RATE All of these go under local master_postinit = function(inst) Link to comment https://forums.kleientertainment.com/forums/topic/92325-custom-perks-help-me-plz/#findComment-1053151 Share on other sites More sharing options...
Pyython Posted June 20, 2018 Author Share Posted June 20, 2018 Ok thank you very much! :3 Link to comment https://forums.kleientertainment.com/forums/topic/92325-custom-perks-help-me-plz/#findComment-1053159 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