Search the Community
Showing results for tags 'insanity aura'.
Found 2 results
Hello everyone, I was wondering if anyone could help me get the following issues resolved; I have been trying to complete these last few attributes to get the character completely play testable. *extra nightmare fuel and less sanity back on kill from nightmare kills *insanity aura for nearby players only *Sanity regen at night, no sanity loss at dusk, sanity loss during day *Damage scaling on the lower sanity Any help given on this topic would be greatly appreciated.
Hello, I have been working on a pair of character mods for Don't Starve Together with sanity perks when near one another. I had no problem programming the sanity aura perk when nearby one another, but I also want to program it so when one of the characters is equipped with a specific item, it gives off an insanity aura for the other one. I added this line of code to both of the mod characters' character prefabs, but what should I do for the insanity aura when the other is equipped with a certain item. Basically, the premise is that one of the characters is terrified of knives, and their partner has a custom item knife. So seeing their partner equipped with this custom knife should lower their sanity (medium loss). inst:AddComponent("sanityaura") inst.components.sanityaura.aurafn = function(inst, observer) if observer.prefab == "characterprefab" then return TUNING.SANITYAURA_TINY end end For anyone willing to help, it's much appreciated!