Jneiman96 Posted January 2, 2015 Share Posted January 2, 2015 i have a question does anyone know how to lower a charecters insanity when he is mining/chopping i have tried this:--lose sanity when mininginst:ListenForEvent("mine", function (inst, data)inst.components.sanity:DoDelta(-TUNING.SANITY_MED) end)--lose sanity when choppinginst:ListenForEvent("chop", function (inst, data)inst.components.sanity:DoDelta(-TUNING.SANITY_MED) end)but it doesnt seem to word Link to comment https://forums.kleientertainment.com/forums/topic/48227-how-to-lower-a-charecters-insanity-mining/ Share on other sites More sharing options...
Mobbstar Posted January 2, 2015 Share Posted January 2, 2015 i have a question does anyone know how to lower a charecters insanity when he is mining/chopping i have tried this:--lose sanity when mininginst:ListenForEvent("mine", function (inst, data)inst.components.sanity:DoDelta(-TUNING.SANITY_MED) end)--lose sanity when choppinginst:ListenForEvent("chop", function (inst, data)inst.components.sanity:DoDelta(-TUNING.SANITY_MED) end)but it doesnt seem to word Did you put that where the character traits belong to? (near the end of the character file) Also, med is a lot for a singular chop. Link to comment https://forums.kleientertainment.com/forums/topic/48227-how-to-lower-a-charecters-insanity-mining/#findComment-595841 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