Search the Community
Showing results for tags 'useful'.
Found 1 result
goldfish911 posted a topic in [Don't Starve] Mods and toolsAlright. I decided that it would be a good idea to keep my questions in one thread, so I don't lose them. This thread is not just for my benefit, I intend for other modders to draw inspiration from it as well. So, now for the questions. A) Is it possible to implement an additional background stat similar to naughtiness? What about one that decreases/increases over time? B) Can I call an event such as: monster spawning, change of season, lightning strike, naughtiness/background stat increase when something is crafted? C) Can pig strings be changed if a certain event happens? D) Is there a way to make the character become paralyzed temporarily? E) How to make my custom character a carnivore?(ANSWERED) LINK TO POST F) How to add the spider hat effect to a custom character without a spiderhat?(ANSWERED) LINK TO POST Note: In this post, I fumbled around with the concept of using tags to make spiders not hostile to me. There is a useful bit of code which I used to tweak a prefab at some point in the mod's development that may be useful to others. G) How to make a character not be slowed down by webs? AKA how to make a character run on webs? Nots: This stumped me, as I looked at turfs.lua, locomotor.lua, spider.lua, and several other prefabs and stuff and did not figure out anything. When I asked a question on the "Modders, Your Friend At Klei" thread, I was suggested to change move speed, but....that would make the character faster when not on a web... E) How can I change prefabs of existing game files without overwriting? When answering, please state the letters of the questions you are answering. For ease of use, I will occasionally select the best answer(s) to a question and put it in a spoiler or just add a link to the post. Best answers (so far) by Squeek: