Jump to content

[Solved] How to edit storygen.lua with mod?


Recommended Posts

Hi,

I think I found a bug in storygen.lua : https://forums.kleientertainment.com/klei-bug-tracker/dont-starve-together/story_findstartingtask-has-bug-r21601/
I would like to fix it until the devs fixed it themself, but I don't know ho to edit this Story class, without overwriting the whole storygen file =/

I already tried " AddClassPostConstruct("map/storygen",function ", but it raises this error:
Class file path 'map/storygen' doesn't seem to return a valid class.

I guess the problem is, that this storygen script does not return his class (like other scripts do).

Edited by Serpens
Link to comment
Share on other sites

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
 Share

×
  • Create New...