Updated World and files for 3.53 release, take 2 --Rumble

This commit is contained in:
Rumble
2007-06-19 22:49:43 +00:00
parent fb0cc1f450
commit 254a746657
27 changed files with 1906 additions and 1170 deletions

View File

@@ -8,7 +8,9 @@ Non-attachable trigger~
Mob Tutorial Example Quest Offer - M14~
0 g 100
~
* we don't want him to tell this to mobs. Check if actor is a player.
* By Rumble of The Builder Academy builderacademy.net 9091
* A very basic 3 trigger receive quest. Trigs 1-3.
* Make sure the actor is a player first.
if %actor.is_pc%
* only greet players coming from the south.
if %direction% == south
@@ -28,27 +30,32 @@ end
Mob Tutorial Example Kill Ogre - 16~
0 f 100
~
* By Rumble of The Builder Academy builderacademy.net 9091
* A very basic 3 trigger receive quest. Trigs 1-3.
say you got the best of me %actor.name%. But I'll be back.
* load the wings
* Load the wings to be returned to the questmaster.
%load% obj 1
* reload the mob for the next questor
* Reload the mob for the next questor.
%load% mob 16
~
#3
Mob Tutorial Example Completion - 14~
0 j 100
~
* check if this was indeed the right object
* By Rumble of The Builder Academy builderacademy.net 9091
* A very basic 3 trigger receive quest. Trigs 1-3.
* Check if this was indeed the right object.
if %object.vnum% == 1
wait 1 sec
say Thank you, %actor.name%
%send% %actor% %self.name% gives you a gold piece.
%echoaround% %actor% %actor.name% is rewarded for his valor.
* Reward the actor with an entire gold coin!
nop %actor.gold(1)%
wait 5 sec
%purge% obj 1
else
* this wasn't the right object - don't accept it
* This isn't the right object - don't accept it.
say I don't want that - bring me back my wings.
return 0
end
@@ -57,26 +64,31 @@ end
Tutorial II Guard Greet - 24~
0 g 100
~
if %direction% == south
wait 1 sec
emote snaps to attention as you approach.
wait 1 sec
say Admittance to the city is 10 coins.
end
* By Rumble of The Builder Academy builderacademy.net 9091
* A basic guard bribe trigger. Trigs 4, 5, 7, 8.
* This is a N S road so only greet players arriving from the south.
if %direction% == south && %actor.is_pc%
wait 1 sec
emote snaps to attention.
wait 1 sec
say Admittance to the city is 10 coins.
end
~
#5
Tutorial II Guard Bribe 10 - 24~
0 m 1
~
* This is a comment. Always use amplifying comment to explain your Triggers!
* If actor gives 10 coins or more
* By Rumble of The Builder Academy builderacademy.net 9091
* A basic guard bribe trigger. Trigs 4, 5, 7, 8.
* This is a comment. Always use amplifying comments to explain your Triggers!
* If actor gives 10 coins or more.
if %amount% >= 10
* if actor gives more than 10 then give them change
* If more than 10 give them change.
if %amount% > 10
eval change %amount% - 10
give %change% coin %actor.name%
end
* otherwise they must have given exactly 10 coins, open the gate.
* Otherwise they must have given exactly 10 coins, open the gate.
say thank you.
wait 1 sec
unlock gateway
@@ -86,7 +98,7 @@ if %amount% >= 10
close gateway
wait 1 sec
lock gateway
* else they gave too few! be nice and refund them
* Else they gave too few! be nice and refund them.
else
say only %amount% coins, I require 10.
give %amount% coin %actor.name%
@@ -96,7 +108,7 @@ end
Obj Command Magic Eight Ball - O47~
1 c 2
shake~
* By Rumble of The Builder Academy builderacademy.net 9091
* By Rumble of The Builder Academy builderacademy.net 9091
* Numeric Arg: 2 means in character's carried inventory.
* Command trigs do not work for level 32 and above.
* There are 20 possible answers that the Magic Eight Ball can give.
@@ -191,26 +203,36 @@ end
Tutorial II Guard Closes Gate - 24~
0 e 0
The gate is opened from~
* By Rumble of The Builder Academy builderacademy.net 9091
* A basic guard bribe trigger. Trigs 4, 5, 7, 8.
* This is required to close the gate after someone opens it from the other
* side.
wait 5 sec
close gate
wait 1 sec
lock gate
lock gate
~
#8
Tutorial II Guard Closes Gate 2 - 24~
0 e 0
leaves north.~
wait 5 sec
* By Rumble of The Builder Academy builderacademy.net 9091
* A basic guard bribe trigger. Trigs 4, 5, 7, 8.
* This is required to close the gate after the guard is bribed and someone
* leaves to the north.
wait 5 sec
close gate
wait 1 sec
lock gate
lock gate
~
#9
Tutorial Quest 1317 - Starter~
0 g 100
~
* By Rumble of The Builder Academy builderacademy.net 9091
* Quest Trigs 9-12. If the player comes from the south and has not done the quest.
if %direction% == south
if %actor.varexists(solved_example_quest_zone_14)%
if %actor.varexists(solved_tutorial_quest_zone_0)%
wait 1 sec
say you have already completed this quest.
halt
@@ -225,9 +247,9 @@ end
Tutorial Quest 1317 - Accept~
0 d 1
yes~
if %actor.varexists(solved_example_quest_zone_14)%
halt
else
* By Rumble of The Builder Academy builderacademy.net 9091
* Quest Trigs 9-12. If the player has not done the quest give them a hint.
if !%actor.varexists(solved_tutorial_quest_zone_0)%
wait 1 sec
say Perfect, %actor.name%. I'll make this easy. It is to the east.
wait 3 sec
@@ -239,12 +261,9 @@ end
Tutorial Quest 1317 - Completion~
0 j 100
~
if %actor.varexists(solved_example_quest_zone_14)%
halt
end
*
wait 1 sec
if %object.vnum% == 1394
* By Rumble of The Builder Academy builderacademy.net 9091
* Quest Trigs 9-12. If the player returns the right object reward them.
if !%actor.varexists(solved_tutorial_quest_zone_0)% && %object.vnum% == 1394
dance
wait 1 sec
say Thank you, %actor.name%.
@@ -255,8 +274,8 @@ if %object.vnum% == 1394
emote shakes the magic eight ball vigorously.
wait 1 sec
emote does not seem too pleased with his answer.
set solved_example_quest_zone_14 1
remote solved_example_quest_zone_14 %actor.id%
set solved_tutorial_quest_zone_0 1
remote solved_tutorial_quest_zone_0 %actor.id%
%purge% %object%
else
say I don't want that!
@@ -267,7 +286,9 @@ end
Tutorial Quest 1441 - Load 8ball~
2 g 100
~
wait 2 sec
* By Rumble of The Builder Academy builderacademy.net 9091
* Quest Trigs 9-12. Drop the 8ball on their head when they enter.
wait 1 sec
%echoaround% %actor.name% A magic eight ball drops from the sky striking %actor.name% on the head.
%send% %actor% A magic eight ball drops from the sky striking you on the head.
%load% obj 1394
@@ -310,7 +331,7 @@ end
Damage Example~
2 g 100
~
* By Rumble
* By Rumble of The Builder Academy builderacademy.net 9091
* First put a wait in so the echo waits for the player to get into the room.
wait 1 sec
%echo% As %actor.name% enters the room a bolt of lightning smites %actor.himher%.
@@ -1988,8 +2009,7 @@ end
Obj Timer Example~
1 f 100
~
* %echo% The trigger fires now!
* otimer 3
* This object will disappear once its timer value reaches 0.
%echo% The ice cream melts away.
%purge% %self%
~
@@ -2042,10 +2062,9 @@ end
~
#87
Obj Remove Example~
1 l 100
1 l 90
~
return 0
%send% %actor% You can't remove it.
~
#88
Obj Load Example~
@@ -2540,9 +2559,48 @@ end
~
#98
Mob Act - 98 Teleporter Give~
0 g 100
~
whisper %actor% this is a crash test
0 e 0
has entered the game.~
* By Rumble
if %actor.is_pc%
if !%actor.eq(*)%
%load% obj 50 %actor% light
%load% obj 51 %actor% rfinger
%load% obj 52 %actor% lfinger
%load% obj 53 %actor% neck1
%load% obj 54 %actor% neck2
%load% obj 55 %actor% body
%load% obj 56 %actor% head
%load% obj 57 %actor% legs
%load% obj 58 %actor% feet
%load% obj 59 %actor% hands
%load% obj 60 %actor% arms
%load% obj 61 %actor% shield
%load% obj 62 %actor% about
%load% obj 63 %actor% waist
%load% obj 64 %actor% rwrist
%load% obj 65 %actor% lwrist
%load% obj 66 %actor% wield
%load% obj 67 %actor% hold
end
wait 2 sec
if !(%actor.inventory(82)%)
wait 1 s
say You are not prepared to travel these realms to their fullest.
wait 1 s
say Maybe I can help you.
%load% obj 82
give teleporter %actor.name%
*could actor carry the weight?
if !%actor.inventory(82)%
drop teleporter
end
wait 2 s
say With this you may teleport to areas that may not be accessible in any other way.
wait 2 s
say HELP AREAS
end
end
~
#99
Obj Command 82 - Teleporter~

View File

@@ -1,4 +1,12 @@
#1200
General trigger keeper. Only for use in room 0.~
2 a 100
~
* Not used for anything but variable storage. No Script!
* Without this trig attached you will get the error:
* Trying to access Global var list of void. Apparently this has not been set up!
~
#1201
Calculator By Mordecai~
2 d 100
*~
@@ -57,13 +65,6 @@ if %actor.is_pc%
end
end
~
#1201
No Recall~
1 c 100
recall~
*This trigger prevents people from recalling.
%send% %actor% Divine forces prevent you from doing that.
~
#1202
Justice sword~
1 j 100

View File

@@ -199,7 +199,7 @@ elseif %cmd% == test
return 0
elseif %cmd% == gozz
return 0
elseif %cmd.mudcommand% == tell
elseif %cmd.mudcommand% == gossip
return 0
elseif %cmd% == who
return 0
@@ -274,6 +274,277 @@ end
~
%load% obj 1900
~
#1926
(99) deliverer takes name~
0 d 100
*~
if %1999_place% == 2
set age1 %speech%
eval age2 %age1%+2
eval age3 %age2%-2
set 1999_age %age3%
global 1999_age
wait 2s
%echo% %self.name% scribbles in a notepad.
wait 2s
if %1999_age% > 0
%echo% %self.name% mumbles "Ok, %1999_recip% is... %1999_age% years old."
else
%echo% %self.name% mumbles "Ok, you don't know how old %1999_recip% is.
end
wait 2s
set 1999_place 3
global 1999_place
say Aaaand, you've got two choices...
wait 2s
say who will deliver your telegram?
wait 2s
say A man in a gorilla suit?
wait 2s
say Or a sexy stripper?
elseif %1999_place% == 3
wait 2s
if %speech.contains(sexy)% || %speech.contains(stripper)%
say Ok then! Thats one sexy stripper.. about to deliver a special something to %1999_recip%.
set 1999_choice stripper
global 1999_choice
set 1999_place 0
global 1999_place
wait 2s
say If everything sounds right to you, nod your head. Or you can shake to start over.
attach 1927 %self.id%
detach 1926 %self.id%
elseif %speech.contains(man)% || %speech.contains(gorilla)%
say Ok then! Thats one hairy gorilla.. about to deliver a special something to %1999_recip%.
set 1999_choice gorilla
global 1999_choice
set 1999_place 0
global 1999_place
wait 2s
say If everything sounds right to you, nod your head. Or you can shake to start over.
attach 1927 %self.id%
detach 1926 %self.id%
else
say I'm sorry, thats not one of your choices.
wait 2s
say You can choose a sexy stripper, or a man in a gorilla suit.
end
else
set 1999_recip %speech%
global 1999_recip
wait 2s
if %1999_recip.is_pc%
%echo% %self.name% scribbles in a notepad.
wait 2s
%echo% %self.name% mumbles "Ok, thats for... %1999_recip%."
set 1999_place 2
global 1999_place
wait 2s
say "And how old will they be? Say 0 if you don't know."
else
say I'm sorry, according to our records "%1999_recip%" is not accepting telegrams right now.
wait 2s
say Feel free to call again if you get someone in mind.
wait 1s
%echo% %self.name% bows low and disappears into thin air.
%purge% %self%
end
end
~
#1927
(99) deliverer confirms~
0 c 100
*~
if %cmd% == nod
say Ok %actor.name%, that telegram is on its way now!
if %1999_choice% == gorilla
%at% %1999_recip% %load% mob 1998
elseif %1999_choice% == stripper
%at% %1999_recip% %load% mob 1997
end
%at% %1999_recip% xxrecipxx %1999_recip%
%at% %1999_recip% xxagexx %1999_age%
detach 1927 %self.id%
%purge% %self%
elseif %cmd% == shake
say Ok %actor.name%, lets just start all over again shall we!
%load% %self.vnum%
%purge% %self%
else
return 0
say If everything sounds right to you, nod your head. Or you can shake to start over.
end
~
#1928
(99) testing~
0 d 100
*~
set tar %speech%
%echo% Target vnum: %tar.vnum%
if %tar.is_pc%
%echo% Target is a PC
else
%echo% Target is not a PC.
end
~
#1929
(67) lipstick disappears when removed~
1 l 100
~
%send% %actor% You wipe away %self.shortdesc%.
%echoaround% %actor% %actor.name% wipes away %self.shortdesc%.
%purge% %self%
~
#1930
(97) stripper enters~
0 c 0
xxrecipxx~
set 1999_recip %arg%
global 1999_recip
%load% obj 1965 %self% body
%load% obj 1966 %self% legs
%load% obj 1968 %self% feet
eval tar %1999_recip%
if %tar.sex% == male
set nick1 hunk o'man
set nick2 you big beast
set nick3 stud
elseif %tar.sex% == female
set nick1 gorgeous beauty
set nick2 my princess
set nick3 siren
else
set nick1 gorgeous creature
set nick2 my lovely
set nick3 thing
end
%echo% You hear the clacking of stilettos as %self.name% struts saucily into the room.
wait 4s
say Oooh %tar.name%, I've been looking for a %nick1% like you.
wait 4s
%load% obj 1967 %tar% neck1
%send% %tar% %self.name% wraps her arms around you and plants a big kiss on your neck.
%echoaround% %tar% %self.name% wraps her arms around %tar.name% and plants a big kiss on %tar.hisher% neck.
wait 4s
say And now %nick2%, I've got a present for you!
wait 4s
%echo% %self.name% starts to sing as she unfastens her top.
wait 4s
say Happy birthday to you...
wait 2s
remove top
wait 4s
say Happy birthday to you...
wait 2s
%load% obj 1965 %tar% inv
%purge% top
%send% %tar% %self.name% twirls her bikini top in the air and throws it to you.
%echoaround% %tar% %self.name% twirls her bikini top in the air and throws it to %tar.name%.
wait 4s
say Happy birthday... dear %tar.name%...
wait 2s
remove thong
wait 4s
say Happy birthday to you!
wait 2s
%load% obj 1966 %tar% inv
%purge% thong
%send% %tar% %self.name% does a little twirl and throws you her thong.
%echoaround% %tar% %self.name% does a little twirl and throws %tar.name% her thong.
wait 2s
if %1999_age% > 0
say This sexy %nick3% %tar.name% is %1999_age% years old everybody!
else
say Congratulations %tar.name%, you sexy %nick3%!
end
wait 4s
%send% %tar% %self.name% blows you a kiss, and runs away giggling.
%echoaround% %tar% %self.name% blows %tar.name% a kiss, and runs away giggling.
%teleport% %self% 1900
%purge% %self%
~
#1931
(97) command gives recip~
0 c 100
xxrecipxx~
set 1999_recip %arg%
global 1999_recip
%echo% recip is %1999_recip%
~
#1932
(97) mob takes age from deliverer~
0 c 100
xxagexx~
set 1999_age %arg%
global 1999_age
~
#1933
(98) gorilla sequence~
0 c 100
xxrecipxx~
set 1999_recip %arg%
global 1999_recip
%load% obj 1969 %self% about
eval tar %1999_recip%
if %tar.sex% == male
set nick1 hunk o'man
set nick2 you big beast
set nick3 stud
elseif %tar.sex% == female
set nick1 gorgeous beauty
set nick2 my princess
set nick3 siren
else
set nick1 gorgeous creature
set nick2 my lovely
set nick3 thing
end
%echo% You hear some loud grunting and thumping as %self.name% crashes into the room.
wait 4s
say Oooh %tar.name%, I've been looking for a %nick1% like you.
wait 4s
%load% obj 1969 %tar% about
%send% %tar% %self.name% gives you a bear-hug, rubbing his big sweaty body against you.
%echoaround% %tar% %self.name% gives %tar.name% a bear-hug, rubbing his big sweaty body against %tar.himher%.
wait 4s
say And now %nick2%, I've got a present for you!
wait 4s
%send% %tar% %self.name% grabs your hand and twirls you around.
%echoaround% %tar% %self.name% grabs %tar.name%'s hand and twirls %tar.himher% around.
wait 4s
say Happy birthday to you...
wait 2s
wink %tar.name%
wait 4s
say Happy birthday to you...
wait 2s
%send% %tar% %self.name% bends you low in a sweeping dance move.
%echoaround% %tar% %self.name% bends %tar.name% low in a sweeping move.
wait 4s
say Happy birthday... dear %tar.name%...
wait 2s
lick
wait 4s
say Happy birthday to you!
wait 2s
%load% obj 1971 %tar% neck1
%send% %tar% %self.name% straightens you up and gives you a big slobbery kiss.
%echoaround% %tar% %self.name% straightens %tar.name% up and gives %tar.himher% a big slobbery kiss.
wait 2s
if %1999_age% > 0
say This sexy %nick3% %tar.name% is %1999_age% years old everybody!
else
say Congratulations %tar.name%, you sexy %nick3%!
end
wait 4s
%load% obj 1970
give %tar.name% rose
drop rose
%send% %tar% %self.name% grunts a goodbye, and stomps away.
%echoaround% %tar% %self.name% grunts a goodbye, and stomps away.
%teleport% %self% 1900
%purge% %self%
~
#1935
(1993) person dies if not freed~
2 c 100
@@ -470,21 +741,18 @@ end
%door% 1982 north purge
~
#1949
test load 2~
2 c 100
xxtestxx~
%load% obj 1923
%load% obj 1924
%load% obj 1934
%load% obj 1935
%load% obj 1936
%load% obj 1937
%load% obj 1938
%load% obj 1939
%load% obj 1960
%load% obj 1961
%load% obj 1962
%echo% An incredible force sweeps from your hands, summoning a great gift from the air as if by magic.
(99) delivery mob loads~
0 n 100
~
wait 2s
%echo% %self.name% bows with a flourish.
wait 1s
say Hi! I'm a singing telegram mob!
wait 2s
say I'm guessing you'd like to send a telegram...
wait 2s
say so why don't you give me the name of the lucky recipient?
attach 1926 %self.id%
~
#1950
(1945) red vial effects~
@@ -895,52 +1163,52 @@ switch %random.15%
%echo% You hear a rustling sound as some animal scrambles frantically away.
break
case 1
%echo% A fine mist wafts on the air, coating your body with sticky moisture.
%echo% A fine mist wafts on the air, coating your body with sticky moisture.
break
case 2
%echo% You feel a stab of pain as an engorged leech releases its grip on your skin.
%echo% You feel a stab of pain as an engorged leech releases its grip on your skin.
break
case 3
%echo% A swarm of midges dances momentarily around your head before moving on.
%echo% A swarm of midges dances momentarily around your head before moving on.
break
case 4
%echo% The awful sound of some animal's dying shrieks pierces the air.
%echo% The awful sound of some animal's dying shrieks pierces the air.
break
case 5
%echo% You feel a tickling sensation as some insect runs down your back.
%echo% You feel a tickling sensation as some insect runs down your back.
break
case 6
%echo% The distant sound of primal war drums pounds out a rhythm.
%echo% The distant sound of primal war drums pounds out a rhythm.
break
case 7
%echo% A long black centipede wriggles out of the ground, only to burrow back in.
break
case 8
%echo% You feel slightly short of breath as the air becomes muggier.
break
case 9
%echo% The sickly scent of cooking meat wafts in the sweltering air.
break
case 10
%echo% You hear the sound of several crows suddenly screeching.
break
case 11
%echo% A little firefly winks in and out of existance.
break
case 12
%echo% A putrid stench fills the air as some vile animal rustles past.
break
case 13
%echo% A fly buzzes annoyingly around your face.
break
case 14
%echo% Ribbit... ribbit... a frog's croaking call echoes through the still air.
break
case 15
%echo% A droplet of moisture runs down your forehead.
break
case 7
%echo% A long black centipede wriggles out of the ground, only to burrow back in.
break
case 8
%echo% You feel slightly short of breath as the air becomes muggier.
break
case 9
%echo% The sickly scent of cooking meat wafts in the sweltering air.
break
case 10
%echo% You hear the sound of several crows suddenly screeching.
break
case 11
%echo% A little firefly winks in and out of existance.
break
case 12
%echo% A putrid stench fills the air as some vile animal rustles past.
break
case 13
%echo% A fly buzzes annoyingly around your face.
break
case 14
%echo% Ribbit... ribbit... a frog's croaking call echoes through the still air.
break
case 15
%echo% A droplet of moisture runs down your forehead.
break
default
%echo% A fly buzzes annoyingly around your face.
%echo% A fly buzzes annoyingly around your face.
break
done
~

View File

@@ -482,15 +482,18 @@ end
%echo% @BA partially-petrified memlin gasps with his dying breath: my daughter... find her... in the Sandy... Tunn...@n
~
#2725
testrandom~
1 b 100
test for Tink~
2 b 100
~
eval actor %self.worn_by%
if !%actor%
halt
endif
%echoaround% %actor% Lightning cackles around %actor.name%
%send% %actor% Lightning cackles around you.
eval tar 2700
while %tar%
if %tar% < 2720
%at% %tar% %echo% This is a test message.
eval tar %tar%+1
else
eval tar 0
end
done
~
#2726
test randomroom~
@@ -1396,6 +1399,7 @@ switch %random.2%
wear cloth
break
done
wear all
~
#2773
(2708) Keeper gives book~
@@ -1543,7 +1547,7 @@ test corpse purge (use with 2784)~
otimer 5
~
#2788
test purge~
test time~
0 c 100
test~
%purge% %self%

View File

@@ -399,15 +399,17 @@ done
Slipping on Marbles - 27147~
1 q 100
~
* By Rumble of The Builder Academy builderacademy.net 9091
* A leave trigger that checks for low dexterity.
if %actor.is_pc%
if %random.100% + %actor.dex% > 50
%send% %actor% You slip on %self.shortdesc% and fall.
%echoaround% %actor% %actor.name% slips on %self.shortdesc% and falls.
if %actor.dex% < 15
%send% %actor% You slip on %self.shortdesc% and fall flat on your face.
%echoaround% %actor% %actor.name% slips on %self.shortdesc% and falls on his face.
return 0
%force% %actor% sit
nop %actor.pos(sitting)%
else
%send% %actor% You slip on %self.shortdesc%, but manage to retain your balance.
%echoaround% %actor% %actor.name% slips on %self.shortdesc%, but manages to retain %actor.hisher% balance.
%send% %actor% You slip on %self.shortdesc%, but manage to regain your balance.
%echoaround% %actor% %actor.name% slips on %self.shortdesc%, but manages to regain %actor.hisher% balance.
end
end
~