Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » Finished MUD Scripts
Morague
Beginner


Joined: 16 Dec 2000
Posts: 27

PostPosted: Sun Apr 01, 2001 2:41 am   

Eq ID for Avatar MUD part2
 

#TRIGGER {Modifies constitution by &{conp} continuous.$} {#MATH con @con+@conp} "identify"
#TRIGGER {Modifies dexterity by &{dexp} continuous.$} {#MATH dex @dex+@dexp} "identify"
#TRIGGER {Modifies save vs %w by &{svsp} continuous.$} {#MATH svs @svs+@svsp} "identify"
#TRIGGER {Modifies armor class by &{acp} continuous.$} {#MATH ac @ac+@acp} "identify"
#TRIGGER {Modifies hp by &{hpdbp} continuous.$} {#MATH hpdb @hpdb+@hpdbp} "identify"
#TRIGGER {Modifies mana by &{manadbp} continuous.$} {#MATH manadb @manadb+@manadbp} "identify"
#TRIGGER {Modifies moves by &{movedbp} continuous.$} {#MATH movedb @movedb+@movedbp} "identify"
#TRIGGER {$} {#ADDKEY Item {ItemSpell=@ItemSpell|Hp=@hpdb|Mana=@manadb|Moves=@movedb|DR=@dr|HR=@hr|Con=@con|Wis=@wis|Str=@str|Dex=@dex|Int=@int|AC=@ac|Svs=@svs|Name=@Namedb};#loopview {All} {#if (&Name = @Namedb) {#T- identify;#abort 1}};#if (@type="weapon") {#ADDKEY Item {Type="Weapon"};#NEW Weapon @Item};#if (@type="armor") {#ADDKEY Item {Type="Armor"};#NEW Armor @Item};#if (@type="potion") {#ADDKEY Item {Type="Potion"};#NEW Potion @Item};#if (@type="light") {#ADDKEY Item {Type="Light"};#NEW Light @Item};#if (@type="scroll") {#ADDKEY Item {Type="Scroll"};#NEW Scroll @Item};#if (@type="rogue tool") {#ADDKEY Item {Type="Rogue Tool"};#NEW Rogue Tool @Item};#if (@type="wand") {#ADDKEY Item {Type="Wand"};#NEW Wand @Item};#if (@type="staff") {#ADDKEY Item {Type="Staff"};#NEW Staff @Item};#if (@type="treasure") {#ADDKEY Item {Type="Treasure"};#NEW Treasure @Item};#if (@type="ticket") {#ADDKEY Item {Type="Ticket"};#NEW Ticket @Item};#if (@type="key") {#ADDKEY Item {Type="Key"};#NEW Key @Item};#if (@type="trash") {#ADDKEY Item {Type="Trash"};#NEW Trash @Item};#if (@type="furniture") {#ADDKEY Item {Type="Furniture"};#NEW Furniture @Item};#if (@type="container") {#ADDKEY Item {Type="Container"};#NEW Container @Item};#if (@type="drink container") {#ADDKEY Item {Type="Container"};#NEW Container @Item};#if (@type="poison") {#ADDKEY Item {Type="Poison"};#NEW Poison @Item};#if (@type="boat") {#ADDKEY Item {Type="Boat"};#NEW Boat @Item};#if (@type="food") {#ADDKEY Item {Type="Food"};#NEW Food @Item};#if (@type="pill") {#ADDKEY Item {Type="Pill"};#NEW Pill @Item};#T- identify} "identify"
#TRIGGER {^'&{ItemSpellp}' continuous.$} {#MATH ItemSpell @ItemSpell+@ItemSpellp} "identify"

I've tested this thoroughly.

Morague
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » Finished MUD Scripts All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net