hotwingz1 Posted March 10, 2015 Share Posted March 10, 2015 What is the command I would use to give my character "dapper". This is the passive Maxwell has that gives him +20 Sanity per minute. I have looked in the scripts/prefab files in both DST and DS. Greatly appreciate any help. Link to comment Share on other sites More sharing options...
DarkXero Posted March 10, 2015 Share Posted March 10, 2015 inst.components.sanity.dapperness = TUNING.DAPPERNESS_HUGEIn the master_postinit of your mod character prefab. Or, in modmain.lua,AddPlayerPostInit(function(inst) inst.components.sanity.dapperness = TUNING.DAPPERNESS_HUGEend)for all players in your server. Or, in modmain.lua,AddPrefabPostInit("wilson", function(inst) inst.components.sanity.dapperness = TUNING.DAPPERNESS_HUGEend)for Wilson characters in your server. Link to comment Share on other sites More sharing options...
hotwingz1 Posted March 10, 2015 Author Share Posted March 10, 2015 inst.components.sanity.dapperness = TUNING.DAPPERNESS_HUGEIn the master_postinit of your mod character prefab. Or, in modmain.lua,AddPlayerPostInit(function(inst) inst.components.sanity.dapperness = TUNING.DAPPERNESS_HUGEend)for all players in your server. Or, in modmain.lua,AddPrefabPostInit("wilson", function(inst) inst.components.sanity.dapperness = TUNING.DAPPERNESS_HUGEend)for Wilson characters in your server. Awesome thank you so much! Really appreciate the help. Link to comment 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