@TenPlus1 It looks like the error is actually coming line 107.
@Mardarth It may be possible that the LOTT game does not have default.gui_slots defined for whatever reason. Do you still get this error while in another world using MTG instead of LOTT?
EDIT: I reviewed the code for the MTG default mod and the LOTT mods. `default.gui_slots` is not defined at all in LOTT, thus making LOTT currently unsupported by this mod. The only reference to `gui_slots` (without `default` prefix) was in LOTT's armor mod. However, in 2014, `default.gui_slots` was first defined globally in
this commit. Being that LOTT was first made in 2013, it seems that they are not using the latest default mod and who knows what other mods break while being run in LOTT.
Perhaps add a backup definition, such as
Code: Select all
if default.gui_slots == nil then
default.gui_slots = "bgcolor[#080808BB;true]"
end
That way, you can support games that contain default mods based off of pre-2014 versions of the MTG default mod. Seems ridiculous, but I suppose it is necessary.