Generation options not working


Recommended Posts

I've made a small mod and the new features work, but there's one problem: I can't turn them off.  There are generation options for disabling them but neither that nor deactivating the mod as a whole seems to work.  As long as my mod is in the mods folder the code gets used whether I like it or not.  Here's the modinit.lua code:

 

modinit.lua

 

One other thing concerning generation options.  While making on/off buttons is easy I don't see how to create a multiple choice menu.  How does that work?

Link to comment
Share on other sites

Archived

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.