These two primitive triggers will replace your inventory with two aligned columns, making it easier to read. Thanks to Iocun for help with string.split and string.format. This was created with Mudlet 1.2. and I don't know if it works on Mudlet 2.0 or not. If you get it to work on 2.0 please post. Thank you
To Install, just import the XML files into Mudlet.
Update: Added more formatting and a screenshot:
Thanks to Korwyn, I now know this only works if you have configured screenwidth to 0
Achaea, Inventory Organizer
Achaea, Inventory Organizer
- Attachments
-
- ItemsYouAreWearing.xml
- (2.57 KiB) Downloaded 952 times
-
- ItemsYouAreHolding.xml
- (3.04 KiB) Downloaded 984 times
Last edited by mortagona on Wed Jun 22, 2011 5:59 pm, edited 2 times in total.
Re: Achaea, Inventory Organizer
It's not really an issue, have people use sw0 in-game and Muldet wrap for them. Everyone will be switching to it anyway - m&m in Lusternia is sw0 only and nobody had an issue, svo in Achaea is sw0 as well.
Re: Achaea, Inventory Organizer
How would you adjust this to pull from ii instead? Using commas as the separator adds items that don't exist at times. ie a wispy, dawn coloured dress would be (1) wispy and (1) dawn coloured dress.
my idea is to pull the items from ii, when you type i or inv, while leaving the ii command untouched. Is this a plausible modification to the script?
my idea is to pull the items from ii, when you type i or inv, while leaving the ii command untouched. Is this a plausible modification to the script?
Re: Achaea, Inventory Organizer
Good question! I have asked around on the mudlet clan and had some suggestions using GCMP instead. Eld suggested modifying Demonnic's script (http://forums.mudlet.org/viewtopic.php? ... nnic#p9759). I will look into it
Re: Achaea, Inventory Organizer
And how do I set this screenwidth to 0?
/newbie question
/newbie question
Re: Achaea, Inventory Organizer
I'm trying to learn a bit of GMCP so I can make this change now, and I want to make sure that I understand counting with tables. Is it t["name"] = t["name"] + 1?
also, just to help my understanding. GMCP would be faster then this one, right?
also, just to help my understanding. GMCP would be faster then this one, right?
Re: Achaea, Inventory Organizer
For IRE games, its normally an in game command such as : config screenwidth 0SalieriM wrote:And how do I set this screenwidth to 0?
/newbie question
Counting with tables?? Can you elaborate? Do you mean iterators or arithmetic adding of table values?Manni wrote:I'm trying to learn a bit of GMCP so I can make this change now, and I want to make sure that I understand counting with tables. Is it t["name"] = t["name"] + 1?
also, just to help my understanding. GMCP would be faster then this one, right?
Re: Achaea, Inventory Organizer
I'm counting the number of items there are... so what I'm trying to do is say I have 25 pearls. I'm trying to use the gmcp table to track my inventory. This one starts a new item at any ',' found, so I was thinking of creating a counter like:
I probably don't have the right gmcp to pull right, but I wanted to go ahead and start trying to make this script a reality
then I would use this table to display the items in your inventory based on what you're wearing, wielding and the amounts your have...
I probably don't have the right gmcp to pull right, but I wanted to go ahead and start trying to make this script a reality
Re: Achaea, Inventory Organizer
As long as the table value 'invItems[i.name]' is an integer, then yes your method of will increment the value as you expect.
Code: Select all
invItems[i.name] = invItems[i.name] + 1