Serpens Posted August 21, 2019 Share Posted August 21, 2019 (edited) 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 August 21, 2019 by Serpens Link to comment https://forums.kleientertainment.com/forums/topic/110792-solved-how-to-edit-storygenlua-with-mod/ Share on other sites More sharing options...
Developer zarklord_klei Posted August 21, 2019 Developer Share Posted August 21, 2019 AddGlobalClassPostConstruct("map/storygen", "Story", function(self) end) Link to comment https://forums.kleientertainment.com/forums/topic/110792-solved-how-to-edit-storygenlua-with-mod/#findComment-1248146 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