Jump to content

Recommended Posts

This is the error that comes up if the line
 

GLOBAL.STRINGS.CHARACTERS.WADE = require "speech_wade"

 
 is placed into the modmain.lua (which I've attached to this post)
 

 

...pps/common/dont_starve/data/../mods/wade/modmain.lua:36: attempt to call global 'require' (a nil value)LUA ERROR stack traceback:        F:/Steam/steamapps/common/dont_starve/data/../mods/wade/modmain.lua(36,1) in main chunk        =[C] in function 'xpcall'        F:/Steam/steamapps/common/dont_starve/data/scripts/util.lua(439,1) in function 'RunInEnvironment'        F:/Steam/steamapps/common/dont_starve/data/scripts/mods.lua(190,1) in function 'InitializeModMain'        F:/Steam/steamapps/common/dont_starve/data/scripts/mods.lua(171,1) in function 'LoadMods'        scripts/main.lua(229,1) in function 'ModSafeStartup'

 

 
If that aforementioned line of code is placed into the wade.lua file in my prefabs, the game simply freezes on launch or mod activation. I would love some help here as I have yet to find a solution that has worked for this.

modmain.lua

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...