MidrealmDM Posted February 1, 2016 Share Posted February 1, 2016 Currently Don't Starve uses API version 6 while DST is on version 10 (I think) Is there a way to define the api_version in the modinfo.lua to change based on if the mod is being used in DST ? Something like if GetGameID()=="DST" then api_version = 10 else api_version = 6 end Which didn't work, but it is what I was trying to do. Link to comment https://forums.kleientertainment.com/forums/topic/63581-possible-to-define-multiple-api/ Share on other sites More sharing options...
Arkathorn Posted February 1, 2016 Share Posted February 1, 2016 Doubtful. You can do it in 'modmain.lua', though. Just use a different 'modinfo.lua'. Link to comment https://forums.kleientertainment.com/forums/topic/63581-possible-to-define-multiple-api/#findComment-715903 Share on other sites More sharing options...
Mobbstar Posted February 1, 2016 Share Posted February 1, 2016 (edited) @MidrealmDM I use: api_version = 6 api_version_dst = 10 It should work fine, but I never really paid attention. Edited February 1, 2016 by Mobbstar mentioned Link to comment https://forums.kleientertainment.com/forums/topic/63581-possible-to-define-multiple-api/#findComment-715987 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