PDA

View Full Version : Teras Healing Tent Script



obsessedhunter
07-29-2009, 07:05 AM
I've modified a empath healing script I saw on some site to create an healing ale drinking script for Teras. I've used logic and some trial and error, rather than an indepth knowledge of scripting. There is no finesse to this script i'm afraid (apologies to the purists) but it is functional after a fashion.

Can someone improve upon it? The only area it doesn't seem to deal with is blood loss. Anyway, i'd be interested in your input. It's the best way for me to learn.

_______________


#healing
if_1 goto Start
echo
echo The correct Usage of this script is .bleed <wounded area>
echo For example .bleed right arm or .bleed abdomen
echo You must have money on you or a script in your hand
echo Start this script from the tent
echo The areas are:
echo left/right arm
echo left/right hand
echo left/right leg
echo left/right eye
echo head
echo neck
echo back
echo chest
echo abdomen
echo blood
echo
exit

Start:
goto %1

Arm:
Leg:
Hand:
put health
match goose fractured and bleeding %0
match goose completely severed %0
match dog minor cuts and bruises on your right arm
match dog minor cuts and bruises on your left arm
match dog minor cuts and bruises on your right hand
match dog minor cuts and bruises on your left hand
match dog minor cuts and bruises on your right leg
match dog minor cuts and bruises on your left leg
match mad a mangled right arm
match mad a mangled left arm
match mad a mangled right leg
match mad a mangled left leg
match mad a mangled right hand
match mad a mangled left hand
match bearded old battle scars on your right arm
match bearded old battle scars on your left arm
match bearded old battle scars on your right hand
match bearded old battle scars on your left hand
match bearded old battle scars on your right leg
match bearded old battle scars on your left leg
match pegleg a missing left leg
match pegleg a missing right leg
match pegleg You have a missing left arm
match pegleg You have a missing right arm
match pegleg a missing left hand
match pegleg a missing right hand

match NoWound Remaining Spirit Points
matchwait

Head:
put health
match swampwater minor lacerations about the head and a possible mild concussion
match swampwater severe head trauma and bleeding from the ears
match semak minor bruises about the head
match agrak scar across your face
match reaper several facial scars
match reaper old mutilation wounds about your head
match NoWound Remaining Spirit Points
matchwait

Neck:
put health
match swampwater snapped bones and serious bleeding from the neck
match swampwater moderate bleeding from your neck
match semak minor bruises on your neck
match reaper terrible scars from some serious neck injury
match reaper some old neck wounds
match agrak scar across your neck
match NoWound Remaining Spirit Points
matchwait

Chest:
Back:
Abdomen:
put health
match aged deep lacerations across your %0
match aged deep lacerations across your abdominal area
match aged deep lacerations across your back
match aged deep gashes and serious bleeding from your %0
match dwarf minor cuts and bruises on your abdominal area
match dwarf minor cuts and bruises on your chest
match dwarf minor cuts and bruises on your back
match wort terrible, permanent mutilation
match wort several painful-looking scars across your abdominal area
match wort several painful-looking scars across your chest
match wort several painful-looking scars across your back
match gert an old battle scar across your %0
match gert an old battle scar across your back
match gert an old battle scar across your chest
match gert an old battle scar across your abdominal area

match NoWound Remaining Spirit Points
matchwait

Nerves:
put health
match kenar convulsions
match orc muscle twitching
match dacra muscle control
match miner slurred speech
Match dacra constant muscle spasms
match NoWound Remaining Spirit Points
matchwait

Eye:
put health
match aged a swollen %0
match aged blind
match dwarf a bruised left eye
match dwarf a bruised right eye
match wort severe bruises and swelling
match gert a black
match volcano missing
match NoWound Remaining Spirit Points
matchwait

Blood:
goto bloody


goose:
echo
echo You require Golden Goose ale to heal your %0.
echo
put take my golden ale
goto goose1

goose1:
match goose2 Get what?
match goose3 You remove
matchwait

goose2:
put order 13
put buy
goto goose3


goose3:
put drink my golden ale
wait 5
put put my golden ale in my cloak
goto start



swampwater:
echo
echo You require Swampwater ale to heal your %0.
echo
put take my dark ale
goto swampwater1

swampwater1:
match swampwater2 Get what?
match swampwater3 You remove
matchwait

swampwater2:
put order 17
put buy
goto swampwater3


swampwater3:
put drink my dark ale
wait 5
put put my dark ale in my cloak
goto start


aged:
echo
echo You require Aged Schooner ale to heal your %0.
echo
put take my aged ale
goto aged1

aged1:
match aged2 Get what?
match aged3 You remove
matchwait

aged2:
put order 19
put buy
goto aged3

aged3:
put drink my aged ale
wait 5
put put my aged ale in my cloak
goto start


dog:
echo
echo You require lost dogwater ale to heal your %0.
echo
put take my lost ale
goto dog1

dog1:
match dog2 Get what?
match dog3 You remove
matchwait

dog2:
put order 3
put buy
goto dog3

dog3:
put drink my lost ale
wait 5
put put my lost ale in my cloak
goto start




mad:
echo
echo You require mad ale to heal your %0.
echo
put take my mad ale
goto mad1

mad1:
match mad2 Get what?
match mad3 You remove
matchwait

mad2:
put order 29
put buy
goto mad3

mad3:
put drink my mad ale
wait 5
put put my mad ale in my cloak
goto start


bearded:
echo
echo You require bearded ale to heal your %0.
echo
put take my bearded ale
goto bearded1

bearded1:
match bearded2 Get what?
match bearded3 You remove
matchwait

bearded2:
put order 21
put buy
goto bearded3

bearded3:
put drink my bearded ale
wait 5
put put my bearded ale in my cloak
goto start



dwarf:
echo
echo You require dwarf ale to heal your %0.
echo
put take my mama ale
goto dwarf1


dwarf1:
match dwarf2 Get what?
match dwarf3 You remove
matchwait

dwarf2:
put order 9
put buy
goto dwarf3

dwarf3:
put drink my mama ale
wait 5
put put my mama ale in my cloak
goto start



wort:
echo
echo You require winters wort ale to heal your %0.
echo
put take my wort ale
goto wort1

wort1:
match wort2 Get what?
match wort3 You remove
matchwait

wort2:
put order 35
put buy
goto wort3

wort3:
put drink my wort ale
wait 5
put put my wort ale in my cloak
goto start

gert:
echo
echo You require gert ale to heal your %0.
echo
put take my gert ale
goto gert1

gert1:
match gert2 Get what?
match gert3 You remove
matchwait

gert2:
put order 27
put buy
goto gert3


gert3:
put drink my gert ale
wait 5
put put my gert ale in my cloak
goto start

semak:
echo
echo You require semak ale to heal your %0.
echo
put take my semak ale
goto semak1

semak1:
match semak2 Get what?
match semak3 You remove
matchwait

semak2:
put order 7
put buy
goto semak3

semak3:
put drink my semak ale
wait 5
put put my semak ale in my cloak
goto start

reaper:
echo
echo You require reaper ale to heal your %0.
echo
put take my reaper ale
goto reaper1


reaper1:
match reaper2 Get what?
match reaper3 You remove
matchwait

reaper2:
put order 33
put buy
goto reaper3

reaper3:
put drink my reaper ale
wait 5
put put my reaper ale in my cloak
goto start

volcano:
echo
echo You require a volcano ale to heal your %0.
echo
put take my volcano ale
goto volcano1

volcano1:
match volcano2 Get what?
match volcano3 You remove
matchwait

volcano2:
put order 37
put buy
goto volcano3

volcano3:
put drink my volcano ale
wait 5
put put my volcano ale in my cloak
goto start


agrak:
echo
echo You require agrak ale to heal your %0.
echo
put take my agrak ale
goto agrak1

agrak1:
match agrak2 Get what?
match agrak3 You remove
matchwait

agrak2:
put order 25
put buy
goto agrak3

agrak3:
put drink my agrak ale
wait 5
put put my agrak ale in my cloak
goto start



kenar:
echo
echo You require Kenar's Dropjaw ale potion to heal your %0.
echo
put take my kenar ale
goto kenar1

kenar1:
match kenar2 Get what?
match kenar3 You remove
matchwait

kenar2:
put order 15
put buy
goto kenar3

kenar3:
put drink my kenar ale
wait 5
put put my kenar ale in my cloak
goto start

orc:
echo
echo You require Orc's Head ale to heal your %0.
echo
put take my orc ale
goto orc1

orc1:
match orc2 Get what?
match orc3 You remove
matchwait

orc2:
put order 5
put buy
goto orc3


orc3:
put drink my orc ale
wait 5
put put my orc ale in my cloak
goto start

dacra:
echo
echo You require Dacra's Dream ale to heal your %0.
echo
put take my dacra ale
goto dacra1


dacra1:
match dacra2 Get what?
match dacra3 You remove
matchwait

dacra2:
put order 31
put buy
goto dacra3

dacra3:
put drink my dacra ale
wait 5
put put my dacra ale in my cloak
goto start

miner:
echo
echo You require Miner's Muddy ale to heal your %0.
echo
put take my miner ale
goto miner1


miner1:
match miner2 Get what?
match miner3 You remove
matchwait

miner2:
put order 23
put buy
goto miner3

miner3:
put drink my miner ale
wait 5
put put my miner ale in my cloak
goto start

pegleg:
echo
echo You require either captn' pegleg ale to heal your %0.
echo
put take my cap ale
goto pegleg1

pegleg1:
match pegleg2 Get what?
match pegleg3 You remove
matchwait

pegleg2:
put order 39
put buy
goto pegleg3

pegleg3:
put drink my cap ale
wait 5
put put my cap ale in my cloak
goto start





bloody:
echo
echo You require bloody ale to heal your bloodloss.
echo
put take my bloody ale
goto bloody1

bloody1:
match bloody2 Get what?
match bloody3 You remove
matchwait

bloody2:
put order 11
put buy
goto bloody3

bloody3:
put drink my bloody ale
wait 5
put put my bloody ale in my cloak
put health
match NoWound Nothing happens
match blood You feel a little better
matchwait


NoWound:
echo
echo You are not bleeding in that area!
echo
exit


LabelError:
goto %2