This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.


I suck at coding, pls help.

Recommended Posts

The_Dark_Cat    35

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


Share this post

Link to post
Share on other sites
The_Dark_Cat    35

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.


Share this post

Link to post
Share on other sites