-
Posts
570 -
Joined
-
Last visited
-
-
-
Woah, you made it sound totally complicated. Simplified, an event is code that sets up a certain function to run (using listenforevent) whenever an event is pushed (using pushevent). So for example you can push an event whenever the player character speaks, and you can listen for that event to run some function that reduces sanity.
-
Is there a real API documentation?
Heavenfall replied to hottehead's topic in [Don't Starve] Mods and tools
No, there isn't. Although most of the game code is in the lua files and not in the .exe. Edit: Of course the lua isn't documented either. -
Curious about this code in lightningrod.lua, a bug?
Heavenfall replied to seronis's topic in [Don't Starve] Mods and tools
Yes, I've done this. Although in my case the listener function was not defined in the listenforevent, because it's much easier to remove the listener if you know the listener function's name. It would be interesting to see what happened if you defined the listener function inside the listenforevent, because you'd be removing the listener function while it was running itself. -
Transformation on insanity help.
Heavenfall replied to Renamon's topic in [Don't Starve] Mods and tools
That's the definition of the insane function. Where are you executing / calling the insane function? -
-
Transformation on insanity help.
Heavenfall replied to Renamon's topic in [Don't Starve] Mods and tools
Are you calling the insane function anywhere? -
i have an issue with character mods
Heavenfall replied to dragonkid165's topic in [Don't Starve] Mods and tools
Talk to the people who made the character mod -
I remember a topic about a mod loading another mod but I can't find it.