The_Dark_Cat Posted January 18, 2019 Share Posted January 18, 2019 (edited) Since this mods doesnt get updated I was trying to update TMI+ to have the new Hamlet items and to be able to change the season, but since I barely know programming I don't know if what I did works at all. I searched for the ID's of the items and created a list with all them. Plus modified some other lua files to try being able to change the season. Here are the modified files. TMI+ Hamlet.rar I modified: \TMI+ Hamlet\scripts\itemlist.lua \TMI+ Hamlet\scripts\widgets\TooManyItems.lua And created the file: \TMI+ Hamlet\scripts\itemlistDLC3.lua (this contains the new Hamlet items + SW ones) As for the DLC's names: RoG = REIGN_OF_GIANTS, SW = CAPY_DLC and for Hamlet = ? (I think this was the main reason its failing) I've tried with PIGLAND or HAMLET and still the variable is not declared. I'm new ok, sorry if I made a Catastrophical Error xD This is what I get when I activate it and see the log.txt log.txt Edited January 18, 2019 by The_Dark_Cat Link to comment https://forums.kleientertainment.com/forums/topic/101931-i-suck-at-coding-pls-help/ Share on other sites More sharing options...
Developer bizziboi Posted January 18, 2019 Developer Share Posted January 18, 2019 In your modmain you define the globals REIGN_OF_GIANTS and CAPY_DLC, but not HAMLET. Link to comment https://forums.kleientertainment.com/forums/topic/101931-i-suck-at-coding-pls-help/#findComment-1144572 Share on other sites More sharing options...
The_Dark_Cat Posted January 18, 2019 Author Share Posted January 18, 2019 (edited) Yeah, thats what I was looking at, how do I add it? Like this? OOF Edited January 18, 2019 by The_Dark_Cat Link to comment https://forums.kleientertainment.com/forums/topic/101931-i-suck-at-coding-pls-help/#findComment-1144573 Share on other sites More sharing options...
Developer bizziboi Posted January 18, 2019 Developer Share Posted January 18, 2019 I think the DLC name for Hamlet is PORKLAND_DLC (as seen in dlcsupport.lua) Link to comment https://forums.kleientertainment.com/forums/topic/101931-i-suck-at-coding-pls-help/#findComment-1144576 Share on other sites More sharing options...
The_Dark_Cat Posted January 18, 2019 Author Share Posted January 18, 2019 (edited) Ok, let me try that OK, It's working! I just need to fix some things within the images not showing and Season Change is Working. It's just not making the clock move to the right season. THANK YOU SOOOO MUCH!!! @bizziboi Edited January 18, 2019 by The_Dark_Cat Link to comment https://forums.kleientertainment.com/forums/topic/101931-i-suck-at-coding-pls-help/#findComment-1144577 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