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
Reddytedy
Apprentice


Joined: 13 Oct 2000
Posts: 114
Location: USA

PostPosted: Mon Jan 21, 2002 6:05 am   

Healing trigger
 
On the mud I play there is a healing class called empaths who touch their patients and then transfer their wounds to them.
What I was wondering is if there is a way to take this text below and put the wounds into variables or a list or database..whichever is faster.

the wounds come up something like this:

HEAD:
Fresh External: cuts and bruises - minor
Fresh Internal: minor swelling and bruising - more than minor
Scars External: tiny scratches - negligible
Scars Internal: constant twitching - harmful

And it repeats like that for each body part.. right and left hands, arms, legs, eyes, chest, back, abdomen, tail, wing, skin

Anyway we could do this easily?

If needed I can supply a direct cut and paste from the game tomorrow.

Alan
Reply with quote
iljhar
GURU


Joined: 10 Oct 2000
Posts: 1116
Location: USA

PostPosted: Mon Jan 21, 2002 6:24 am   
 
What exactly are you trying to do with the list? Are you trying to find the parts that are in most need of healing first down to the parts that don't need healing at all or did you just want to save this information for future use or what?

Iljhar
Reply with quote
Reddytedy
Apprentice


Joined: 13 Oct 2000
Posts: 114
Location: USA

PostPosted: Tue Jan 22, 2002 7:10 am   
 
Well for now just store them and possibly move em to a different window named Heal. I can than create an alias to go through and heal all these things. Healing in Dragonrealms is a bit different.

First I need to touch the patient to obtain all there afflictions. Than I need to TAKE the wounds like so.

Take soanso head
Take soanso head scar
Take soanso int head
Take soanso int head scar

But for now just put em in a string list or possibly a string list for each body part.. like

head="fresh external|fresh internal|scar external|scar internal"
Than I can make my alias check the variables and heal what is needed.. I can do that part no problem.. stumped on how to get all these variables stored though. I have 6.25a Beta so I could prolly use conditionals on my triggers.

Alan
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