Fahakar Posted December 6, 2014 Share Posted December 6, 2014 Hello guys, I'm making a character mod and i need to put a beard. But i need it to drop nightmare fuel, somebody can help me? ;-;Sorry for the bad english, it's not my native language. Link to comment https://forums.kleientertainment.com/forums/topic/45535-need-to-add-a-beard/ Share on other sites More sharing options...
Fahakar Posted December 6, 2014 Author Share Posted December 6, 2014 So... I found the Wilson prefab, can i use this code for my character? (Yes, i added the insulation factor of webber). local fn = function(inst) inst:AddComponent("beard") inst.components.beard.insulation_factor = TUNING.WEBBER_BEARD_INSULATION_FACTOR inst.components.beard.onreset = function() inst.AnimState:ClearOverrideSymbol("beard") end inst.components.beard.prize = "nightmarefuel" --tune the beard economy... local beard_days = {3, 6, 9} local beard_bits = {1, 3, 6} inst.components.beard:AddCallback(beard_days[1], function() inst.AnimState:OverrideSymbol("beard", "beard_silk", "beardsilk_short") inst.components.beard.bits = beard_bits[1] end) inst.components.beard:AddCallback(beard_days[2], function() inst.AnimState:OverrideSymbol("beard", "beard_silk", "beardsilk_medium") inst.components.beard.bits = beard_bits[2] end) inst.components.beard:AddCallback(beard_days[3], function() inst.AnimState:OverrideSymbol("beard", "beard_silk", "beardsilk_long") inst.components.beard.bits = beard_bits[3] end)end Link to comment https://forums.kleientertainment.com/forums/topic/45535-need-to-add-a-beard/#findComment-580336 Share on other sites More sharing options...
KalebSearle Posted December 6, 2014 Share Posted December 6, 2014 I used the Wilson beard prefab for a modded character before, but not sure about nightmare fuel.. Link to comment https://forums.kleientertainment.com/forums/topic/45535-need-to-add-a-beard/#findComment-580342 Share on other sites More sharing options...
Fahakar Posted December 7, 2014 Author Share Posted December 7, 2014 Maybe if i add the "nightmarefuel" on the prefab files instead of "beardhair" it will work? Link to comment https://forums.kleientertainment.com/forums/topic/45535-need-to-add-a-beard/#findComment-581033 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