sitca2 Posted March 16, 2014 Share Posted March 16, 2014 I need to make a character that would stuff faceten and I know how to do that does not affect night but not how to do which does not affect him -Dark-swords -Dark-armor they are grateful thanks for your help Link to comment https://forums.kleientertainment.com/forums/topic/33002-as-i-make-my-character-will-not-affect-the-dark-sword-and-armor-dark/ Share on other sites More sharing options...
Zamiel Posted March 16, 2014 Share Posted March 16, 2014 I suppose english is not your first language, but I assume what you want is to make a character who does not lower sanity from dark weapons/armor. I am very new to coding Dont Starve, but I think the easiest way would be to give your character a sanity increase per tick when they wield these items so balance out the drop in sanity. So:When character uses night armor: +10 sanity per minute.When character uses dark sword: +20 sanity per minute.When character uses both: +30 sanity per minute. This would balance out the sanity loss. Alternatively, although I do not know how exactly to do it (yet), you could make a prefab in your mod of both items that is exactly the same as the game one, except without the sanity loss and a different file name (same game name though). Then, you would modify the tech menu that shows up to your character so that when you craft dark sword/night armor, it will craft the changed prefabs that are in your mod, and not the game prefabs that have sanity loss. Link to comment https://forums.kleientertainment.com/forums/topic/33002-as-i-make-my-character-will-not-affect-the-dark-sword-and-armor-dark/#findComment-432498 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