home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Unsorted BBS Collection
/
thegreatunsorted.tar
/
thegreatunsorted
/
old_apps
/
comm
/
slum.scr
< prev
next >
Wrap
Text File
|
2001-02-10
|
5KB
|
267 lines
when "Darkman drops","=x^m"
when "moves to attack you","=x^m"
;Slums MajorMUD Script for MajorMUD!
;by Death Star
;monster table, add new monsters if need be
;ex. newmnstr="boogie"
orc=" orc"
thg=" thug"
bdy=" bodyguard"
mer=" mercenary"
cul=" cultist"
;change the } to / if you have spells, ex. h1="{HP=1/"
h1="{HP=1/"
h2="{HP=2/"
h3="{HP=3/"
h4="{HP=4/"
h5="{HP=5/"
h6="{HP=6/"
h7="{HP=7/"
h8="{HP=8/"
h9="{HP=9/"
h10="{HP=10/"
h11="{HP=11/"
h12="{HP=12/"
h13="{HP=13/"
h14="{HP=14/"
h15="{HP=15/"
h16="{HP=16/"
h17="{HP=17/"
h18="{HP=18/"
h19="{HP=19/"
h20="{HP=20/"
h21="{HP=21/"
h22="{HP=22/"
h23="{HP=23/"
h24="{HP=24/"
h25="{HP=25/"
h26="{HP=26/"
h27="{HP=27/"
h28="{HP=28/"
h29="{HP=29/"
h30="{HP=30/"
;put your total amount of Hit points here, ex. htotal="{HP=50/"
htotal="{HP=62/"
;put your healing command here, if yer a warrior just put
;hcomnd="Rest" or if you have a healing spell, hcomnd="C Rgen"
hcomnd="drink minor^mC mihl^mRest^m"
place="Slum Entrance"
INTEGER test3
procedure reset
test1="0"
test="0"
endproc
procedure placecheck
delay 10
put ""
waitfor place, 1
switch found
case 1: test3=test3
endswitch
if found
test1="1"
else
put "'[-fr]Not at Slum Entrance![]"
delay 10
put "'[-fr]Halting Execution.[]"
repeat
delay 50
until 1=2
endif
delay 10
endproc
procedure healstuff
repeat
test2="0"
put hcomnd
delay 30
put hcomnd
delay 30
put hcomnd
;change this delay to 100,200, or 300 if you are using Rest
;as the hcomnd
delay 300
put ""
waitfor htotal, 1
switch found
case 1: test2="1"
endswitch
until test2="1"
endproc
procedure main
waitfor "Obvious exits:"
put ""
;also change this for new monsters
;ex. waitfor orc,thg,bdy,mer,cul,newmnstr
waitfor orc,thg,bdy,mer,cul,"do not see", 1
switch found
case 1: put "a ",orc
case 2: put "a ",thg
case 3: put "a ",bdy
case 4: put "a ",mer
case 5: put "a ",cul
;add new case for new monsters
;ex. case 7: put "a ",newmnstr
endswitch
if found
test="1"
else
test="0"
put ""
;change here for what hps you want to heal at
;right now its 1-30 hps
waitfor h1,h2,h3,h4,h5,h6,h7,h8,h9,h10,h11,h12,h13,h14,h15,h16,h17,h18,h19,h20,h21,h22,h23,h24,h25,h26,h27,h28,h29,h30, 1
if found
healstuff
else
test3=test3
endif
endif
if test="1"
repeat
test1="0"
waitfor "just killed","drop to the","You gain","You say","combat Off*", 1
switch found
case 1: test1="1"
case 2: put "get sil^m"
case 3: test1="1"
case 4: test1="1"
case 5: test1="1"
case 6: test1="1"
endswitch
until found
endif
endproc
procedure drop
put "hide 100 sil^m hide 100 copp^m"
main
test3=test3+1
endproc
procedure south
put "S"
main
test3=test3+1
endproc
procedure north
put "N"
main
test3=test3+1
endproc
procedure west
put "W"
main
test3=test3+1
endproc
procedure east
put "E"
main
test3=test3+1
endproc
procedure southeast
put "SE"
main
test3=test3+1
endproc
procedure southwest
put "SW"
main
test3=test3+1
endproc
procedure northeast
put "NE"
main
test3=test3+1
endproc
procedure up
put "U"
main
test3=test3+1
endproc
procedure down
put "D"
main
test3=test3+1
endproc
procedure bank
delay 15
put "N^MN"
delay 20
put "S"
delay 30
endproc
placecheck
repeat
reset
test3=0
repeat
reset
south
until test3=4
test3=0
repeat
reset
east
until test3=5
put "SE"
delay 30
put "NE"
delay 30
reset
southeast
test3=0
repeat
reset
south
until test3=7
reset
southwest
test3=0
repeat
reset
south
until test3=4
test3=0
repeat
reset
west
until test3=10
reset
north
reset
west
test3=0
repeat
reset
north
until test3=4
test3=0
repeat
reset
east
until test3=4
test3=0
repeat
reset
north
until test3=11
bank
until 1=0