Jump to content

How to increase characters "dapper"


Recommended Posts

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

inst.components.sanity.dapperness = TUNING.DAPPERNESS_HUGE

In 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

inst.components.sanity.dapperness = TUNING.DAPPERNESS_HUGE

In 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...