Some GMCP events for IRE MUDS

Share your scripts and packages with other Mudlet users.
Post Reply
User avatar
demonnic
Posts: 886
Joined: Sat Dec 05, 2009 3:19 pm

Some GMCP events for IRE MUDS

Post by demonnic »

NOTE: I developed this on Lusternia, but it should work for all IRE MUDS

If you import this xml it will do two things:

1.) It will automatically store all room items in demonnic.roomItems . This includes sigils, ents, denizens, etc. Everything on IH. It also keeps it up to date using the Add and Remove gmcp events.

A sample display(demonnic.roomItems)
Code: [show] | [select all] lua
table {
  'a green eyelash viper': table {
    1: '365066'
  }
  'a rowan sapling': table {
    1: '353641'
  }
  'a Daughter of Shadow': table {
    1: '90391'
  }
  'a war shrine of Nocht': table {
    1: '93050'
  }
  'a sprite bound in shadows': table {
    1: '234424'
  }
  'the Shadow Glass': table {
    1: '98408'
  }
  'Ikrae, the Shadow Priestess': table {
    1: '96479'
  }
}


2.) It will fill a table called demonnic.skills . I believe it will work on log in, but I haven't yet tested that (I will edit this post when I do test it). The demonnic.skills table will contain an entry for each skill type (IE environment, aethercraft, nature). Each of these entries is a table of the skills you have in this skilltype.

So (again, I play lusternia so example is pulled from there) for me demonnic.skills.nature looks like this
Code: [show] | [select all] lua
'nature': table {
    1: 'Sense'
    2: 'Blend'
    3: 'Barkskin'
    4: 'Talisman'
    5: 'Rooting'
    6: 'Nut'
    7: 'Torc'
    8: 'Faeriefire'
    9: 'Vines'
    10: 'Growth'
    11: 'Flow'
    12: 'Guard'
    13: 'Rain'
    14: 'Gate'
    15: 'Master'
  }
The XML:
GMCP-Skills-Items.xml
(7.24 KiB) Downloaded 643 times
The mpackage:
GMCP-Skills-Items.mpackage
(1.7 KiB) Downloaded 838 times

Post Reply