mirror of
https://github.com/tbamud/tbamud.git
synced 2026-01-08 18:38:50 +01:00
This just converts the few DOS text files still in here to standard text files (line-endings), removes all the trailing spaces on lines, removes all the trailing blank lines, and replaces all the tabs (except in .zon files, where they seem to be common) with expanded spaces. It's easy to confirm this is actually a non-change, except for whitespace: * `git show -w` shows this commit as only removing 8 trailing blank lines. This should make no difference to tbaMUD itself, but it will make working on these files, especially with scripts and automated tools, much easier. This is the base change for a set of other changes I will put up once/if this merges, without this, the others are just too complicated to wrangle.
94 lines
2.9 KiB
Text
94 lines
2.9 KiB
Text
#25700
|
|
Cleric Guildguard - 25774~
|
|
0 q 100
|
|
~
|
|
* Check the direction the player must go to enter the guild.
|
|
if %direction% == west
|
|
* Stop them if they are not the appropriate class.
|
|
if %actor.class% != Cleric
|
|
return 0
|
|
%send% %actor% The guard humiliates you, and blocks your way.
|
|
%echoaround% %actor% The guard humiliates %actor.name%, and blocks %actor.hisher% way.
|
|
end
|
|
end
|
|
~
|
|
#25701
|
|
Mage Guildguard - 25773~
|
|
0 q 100
|
|
~
|
|
* Check the direction the player must go to enter the guild.
|
|
if %direction% == north
|
|
* Stop them if they are not the appropriate class.
|
|
if %actor.class% != Magic User
|
|
return 0
|
|
%send% %actor% The guard humiliates you, and blocks your way.
|
|
%echoaround% %actor% The guard humiliates %actor.name%, and blocks %actor.hisher% way.
|
|
end
|
|
end
|
|
~
|
|
#25702
|
|
Ranger Guildguard - 25776~
|
|
0 q 100
|
|
~
|
|
* Check the direction the player must go to enter the guild.
|
|
if %direction% == south
|
|
* Stop them if they are not the appropriate class.
|
|
if %actor.class% != Ranger
|
|
return 0
|
|
%send% %actor% The guard humiliates you, and blocks your way.
|
|
%echoaround% %actor% The guard humiliates %actor.name%, and blocks %actor.hisher% way.
|
|
end
|
|
end
|
|
~
|
|
#25703
|
|
Warrior Guildguard - 25775~
|
|
0 q 100
|
|
~
|
|
* Check the direction the player must go to enter the guild.
|
|
if %direction% == west
|
|
* Stop them if they are not the appropriate class.
|
|
if %actor.class% != warrior
|
|
return 0
|
|
%send% %actor% The guard humiliates you, and blocks your way.
|
|
%echoaround% %actor% The guard humiliates %actor.name%, and blocks %actor.hisher% way.
|
|
end
|
|
end
|
|
~
|
|
#25704
|
|
Thief Guildguard - 25777~
|
|
0 q 100
|
|
~
|
|
* Check the direction the player must go to enter the guild.
|
|
if %direction% == east
|
|
* Stop them if they are not the appropriate class.
|
|
if %actor.class% != thief
|
|
return 0
|
|
%send% %actor% The guard humiliates you, and blocks your way.
|
|
%echoaround% %actor% The guard humiliates %actor.name%, and blocks %actor.hisher% way.
|
|
end
|
|
end
|
|
~
|
|
#25705
|
|
Blood Bank - 25704~
|
|
2 c 100
|
|
g~
|
|
* By Rumble
|
|
* Make sure the command is give, check for any abbrev of blood
|
|
if %cmd.mudcommand% == give && blood /= %arg%
|
|
* let the player stun themselves, they will recover.
|
|
if %actor.hitp% < 18
|
|
%send% %actor% You try to give blood. But, the nurse refuses since you are white as a ghost and can barely stand.
|
|
%echoaround% %actor% %actor.name% tries to give blood. But, the nurse laughs in %actor.hisher% face since he is whiate as a ghost and can barely stand.
|
|
else
|
|
%send% %actor% The nurse jabs a thick needle into your arm and quickly draws a small amount of blood. She gives you a small pile of coins.
|
|
%echoaround% %actor% The nurse jabs %actor.name% in the arm and quickly draws a small amount of blood. She then gives %actor.name% a small pile of coins.
|
|
nop %actor.gold(20)%
|
|
%damage% %actor% 20
|
|
end
|
|
else
|
|
* If it doesn't match let the command continue.
|
|
%send% %actor% Give what to who?
|
|
return 0
|
|
end
|
|
~
|
|
$~
|