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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Ralph1971
Wanderer


Joined: 01 Mar 2008
Posts: 64

PostPosted: Sat Mar 01, 2008 9:46 pm   

Realms of Despair ID script
 
There used to be an ID script written for Realms of Despair (by Darkur, I think). Would read into a database based off of identify spell or auction channel. You could then access it via an alias (i.e. ID lifebane). Anyone have it? No sense in re-inventing the wheel if it's not necessary.
thank you
Reply with quote
Ralph1971
Wanderer


Joined: 01 Mar 2008
Posts: 64

PostPosted: Sun Mar 16, 2008 7:10 am   
 
Ok.. worked out some of it already.. a one line alias is a starting point..
#DDE RoD_db Info {%1};#SAY %dde(RoD_db,Info,Data)
now, the question is, with the following format, how can I have it show it in the "identify" format?

#noop 'RoD Database Format:
#noop ' 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23
#noop 'Type | Name | Lv | AC | -AC| d1 | d2 | HR | DR | HP | MP | STR | DEX | CON | INT | WIS | LCK | CHA | MV | Wgt | Value | Properties | Other
#noop note : need two spaces after item name in column 2}

this is the #say output -
Sword of Legend (weapon) : glow hum loyal magic metal anti-neutral anti-evil Lv=50 AC-20 DAM=14-44 HR+13 DR+13 HP+75 MP+125 STR+2 DEX+2 CON+2 LCK+2 wgt=1 $=200000 [L] good affected_ by detect_evil protect
this is the db entry in the text file
* | Sword of Legend | 50 | | -20 | 14 | 44 | 13 | 13 | 75 | 125 | 2 | 2 | 2 | | | 2 | | | 1 | 200000 | glow hum loyal magic metal anti-neutral anti-evil | [L] good affected_ by detect_evil protect
how can I put in a script/alias/trigger/etc to have it match the identify format?
Sword of Legend
It is a level 50 slashing weapon, weight 1.
Locations it can be worn: wield
Special properties: glow hum loyal magic metal
Alignments allowed: good
This weapon has a gold value of 200000.
Damage is 14 to 43 (average 28).
Affects hit roll by 13.
Affects damage roll by 13.
Affects hp by 75.
Affects mana by 125.
Affects affected_by by detect_evil protect
Affects luck by 2.
Affects dexterity by 2.
Affects strength by 2.
Affects constitution by 2.
Affects armor class by -20.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion 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