Don't Starve Together

Don't Starve Together

232 ratings
Sanity Tuner
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
167.390 KB
15 May, 2015 @ 5:54pm
2 May @ 9:47am
21 Change Notes ( view )

Subscribe to download
Sanity Tuner

Description
Allows you to tune the sanity gain and loss players receive from many things, including WETNESS, equipment, day/dusk/night, enemy auras and more.

How To Set Up The Mod
This is a server mod, so only the server needs to have it enabled. As with most other mods, you can find the settings by opening the game, and then clicking:
Play => Host Game => (Select your server) => Mods-tab => Server Mods => Find the mod in the list and click on it => Click on the screw/bolt at the bottom right of the screen.

Settings Information
Settings are percentages of the rates generated by the original game code, except the day sanity tick, which is normally 0, so instead you can manually change the rate from -10 to 0 to 10 in small increments (0.01 increments between 0.01 and 0.1, and otherwise 0.1 increments between -1 and 1, and beyond those, in increments of 0.5).

- Day / dusk / night / dark sanity effects (there are 4 "stages" of environment lighting in the game, each with a different Sanity rate: Normal (day), Light Night (dusk), Medium Night (night, but not pitch black), Dark Night (night and pitch black)).
- Moisture i.e. wet items
- Equipped items (dapper)
- Ghosts
- Auras (being close to enemies etc).
- Aura-range is also editable (only works for enemies, I think. Doesn't affect the 'Night Light' structure and such).

Dapper (item) and aura effect-calculations are split up into positive and negative sanity effects. So for example, you can set all auras that normally GIVE you sanity, to give you more, less or NEGATIVE sanity, by setting a percentage of the positive game-calculated sanity-changes. And the same/reverse for auras that normally make you LOSE sanity (like spiders/shadow creatures). Now you can genuinely looove spiders, and get more sanity by being around them!

Usage notes
a. This is a server mod. It does NOT require all players to have the mod.
b. Does NOT require you to make a new world before working.
c. When using a dedicated server, enabling/disabling this mod requires a respawn of all players or a server restart.
d. The day-tick is 0 by default, so the direct rate can be set, instead of a percentage.
e. Ghost Effect is only applicable in survival games, as that is the only game mode where ghosts have an effect on sanity.
f. The mod has been created with compatibility in mind. Characters that have a negative ghost_drain_mult, will not be affected by settings to the ghost effect. Characters that make use of SANITY_GHOST_PLAYER_DRAIN to regain loss from being next to ghosts (like NEZ Dib), should still work. Let me know of any incompatibilities!

Link to Don't Starve / Reign of Giants / Shipwrecked version

Change log
0.1.1 - Fixed Wormwood crash.
0.1.0 - Added tooltips for all settings, and changed the labels to make them easier to understand. Added an option for player characters with sanity gain at night, to invert their nightly sanity gain to make it into sanity loss instead.
0.0.8 - Added settings for mount gain / loss effects. "External Modifiers" now affect your sanity (they were a new-ish addition to the original game code, but I don't know what they are).
0.0.7 - Added more options for "Day Tick" closer to 0. I found that 0.1 increase was a bit much for me, so now you can set it to 0.01-0.10 and 0.15, and the same for negative values.
0.0.6 - Klei had changed some things, so I changed some things.
0.0.5 - Small fix for a bug that would never occur :)
0.0.4 - Hopefully fixed another crash
0.0.3 - Mod should no longer crash a client, when joining a server that also has the mod activated.
0.0.2 - Mod no longer requires all players to have the mod in DST.
0.0.1 - Initial release

Links to my other DST mods (Steam pages)
Auto Stack and Pick Up - Gives you MANY settings for automatically stacking or picking up newly spawned and manually dropped stackable items.
Blow Darts Any Feather - Allows you to add extra recipes for any blowdart, so you can use any feather to craft them.
Fishing Buddy - Allows you to edit all settings pertaining to fishing.
Long-range Containers - Allows you to change the distance you can move away from containers before they automatically close.
Long-range Research - Lets you set the range from which you can use the research machines, and access recipes from more than one machine at a time!
Metabolizer - Allows you to set the base rate of hunger, from 400% of normal loss, and all the way to 200% gain.
Monster Ash Drop Tuner - Allows you to set a chance for monsters, prey, animals and characters (not players), to NOT replace their loot with ash when they die burning and screaming.
No Wet Items - Removes the possibility of inventory items being wet.
Resurrection Tuner - Tune the resurrection penalties, and starting stats after resurrection, plus crafting-cost of revival-items.
RPG Items (global edition) - Any weapon, armor and helmet has a chance to be imbued with special modifiers when they are generated by the game (by world generation, crafting, drops etc).
Sleepy Time - Allows you to set the amount of gain/loss of each stat for each sleep-tick, AND how often sleep-ticks occur, as well as # of uses for tents and siesta huts.
Stat Regen And Degen - A customizable stat regen AND degen system for health, sanity and hunger.
Temperature Tuner - Allows you to tune the rate at which the temperatures of the players rise and fall (separately) using percentages, and change the minimum and maximum temperature caps for the players as well.
Time Your Own Boss - Allows you to set the number of day-cycles before bosses start to arrive.
What am I crafting (fixed) - Shrinks the lock icon that appears on crafting recipes which haven't been prototyped yet, so you can see the silhouette of what you are crafting.

Tags: sanity, insane, wetness, loss, aura
135 Comments
Ultroman the Tacoman  [author] 2 May @ 9:52am 
UPDATE:
- Changed code to mirror changes in Klei's code.
This means that Waxwell / Maxwell's resistance to shadow equipment now works as intended, along with the new sanity aura resistance system.

@DireRaven: Thanks for reporting! <3

Have a pleasant day, everyone!
DireRaven 1 May @ 8:01pm 
this mod breaks maxwells no sanity drain perk for night armor and dreadstone armor
Ultroman the Tacoman  [author] 5 Jul, 2023 @ 12:28pm 
@Rammelton: I believe the cave sanity drain is based on the "Light/Medium/Dark Night" variables, and the default sanity drain down there is from "Light Night".
LTpants 5 Jul, 2023 @ 10:48am 
drain*
LTpants 5 Jul, 2023 @ 10:48am 
am i able to get rid of cave sanity?
nolhan.kdfr 27 May, 2023 @ 2:23am 
they all sound amazing, thank you for making these great mods
Ultroman the Tacoman  [author] 26 May, 2023 @ 10:06pm 
@nolhan.kdfr: That is a excellent idea! I'll do that one of these days. If you're interested in more of the same, my other mod, "Stat Regen And Drain", adds customizable stat regeneration or drain, depending on several factors, like how much of each stat you have, whether you're out of combat, etc.. It makes the game a bit more dynamic. I can also highly recommend checking out "Long-range Research"...not to mention "Auto Stack And Pickup"...so much QoL in those two <3

Best regards, Ultroman the Tacoman
nolhan.kdfr 26 May, 2023 @ 11:04am 
this is one of the best mod i have played with and there is only one thing i can think of to request: can you exchange the tick for clock segments so it is a bit clearer ?
󰀒DENER_DST󰀒 8 Nov, 2022 @ 2:29pm 
it works whit staffs
harnglim 10 Jan, 2022 @ 8:42am 
ok thx <3