mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-26 13:31:45 +01:00
Setting up 3.5.0 as trunk
This commit is contained in:
95
lib/world/trg/257.trg
Normal file
95
lib/world/trg/257.trg
Normal file
@@ -0,0 +1,95 @@
|
||||
#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
|
||||
* does not work for level 32 and above.
|
||||
* 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
|
||||
~
|
||||
$~
|
||||
Reference in New Issue
Block a user