I'm looking to switch from Nexus to Mudlet. I really like the setup of Nexus with the main events window, map window, quest window and chat window.
I have absolutely zero knowledge of LUA though, which makes this a rough transition. Are there any coding tutorials or guides out there? A crash course in how to set up separate windows would also be greatly appreciated.
Thanks!
0
Comments
The framework Mudlet uses for UI stuff: https://wiki.mudlet.org/w/Manual:Geyser
This is the lua tutorial site Mudlet recommends, which is also great: http://lua-users.org/wiki/TutorialDirectory
I packaged Demonnic's chat capture in it, and it has a map capture too right above the chat capture window. Basic targetting and some basic travel aliases. There is also a sharding script and a fishing script included. Let me know if you're interested.
You say, "My bottle is empty."
Jeremy raises an eyebrow questioningly.
Jeremy slaps you on the cheek.
GCMP.vitals and GMCP.stat have a lot of information in them that are really useful. I don't even use a prompt on Ana anymore, I just scrape the information from GMCP
The formal commit stuff for the inventory and affs/defs is unreliable though, unfortunately.
[edit]: I'm working on some code like this for Aetolia, so as an example:
Wyll's newbie stuff is also great!
So for instance for the cache in Aetolia:
This means that IRE.Rift.Change will equal '{desc = "stone", name = "stone", amount = "40" }'
You can split this out to the three subordinate variables if you want with one of Mudlet's utility functions: yajl.to_value(data) see here: https://wiki.mudlet.org/w/Manual:Miscellaneous_Functions#yajl.to_value
This will create a table something like
[tablename].desc = "stone"
[tablename].name = "stone"
[tablename].amount = "40"
So for addition/removals you might want to shunt the json stuff into a temporary table, and then add or remove afflictions as you received them.