Updated help/socials/World/ChangeLog for tbaMUD 3.51 RC. --Rumble
This commit is contained in:
@@ -379,7 +379,7 @@ switch %random.3%
|
||||
* only the person entering the room will see this.
|
||||
%send% %actor% You trip over a root as you walk into the room.
|
||||
* everyone in the room except the actor will see this.
|
||||
%echoaround% %actor% %actor.name% trips on a root walking into the room.
|
||||
%echoaround% %actor% %actor.name% trips on a root while walking into the room.
|
||||
* everyone in the room will see this.
|
||||
%echo% The root suddenly springs to life and attacks!
|
||||
* let everyone in the zone hear about this.
|
||||
@@ -403,7 +403,7 @@ done
|
||||
AT Example~
|
||||
2 b 100
|
||||
~
|
||||
%at% 1233 %echo% at'd to a room
|
||||
%at% 33 %echo% at'd to a room
|
||||
%at% Rumble %echo% at'd to Rumble
|
||||
~
|
||||
#20
|
||||
@@ -1562,6 +1562,17 @@ end
|
||||
Room Speech Example~
|
||||
2 d 1
|
||||
*~
|
||||
* By Rumble
|
||||
*
|
||||
* .car returns the first word in a string.
|
||||
* .cdr returns the remaining string.
|
||||
*
|
||||
%echo% The first word is: %speech.car%
|
||||
%echo% The rest of the string is: %speech.cdr%
|
||||
*
|
||||
* To go through a long string of text looking at each word you can
|
||||
* use a while loop. You could also check for matching text.
|
||||
*
|
||||
* evaluate the first word
|
||||
eval word %speech.car%
|
||||
* evaluate the rest of the speech string
|
||||
@@ -2194,111 +2205,111 @@ if %actor.is_pc% && %actor.level% < 3
|
||||
wait 2 sec
|
||||
if !%actor.eq(*)%
|
||||
say get some clothes on! Here, I will help.
|
||||
%load% obj 200 %actor% light
|
||||
%load% obj 201 %actor% rfinger
|
||||
%load% obj 202 %actor% lfinger
|
||||
%load% obj 203 %actor% neck1
|
||||
%load% obj 204 %actor% neck2
|
||||
%load% obj 205 %actor% body
|
||||
%load% obj 206 %actor% head
|
||||
%load% obj 207 %actor% legs
|
||||
%load% obj 208 %actor% feet
|
||||
%load% obj 209 %actor% hands
|
||||
%load% obj 210 %actor% arms
|
||||
%load% obj 211 %actor% shield
|
||||
%load% obj 212 %actor% about
|
||||
%load% obj 213 %actor% waist
|
||||
%load% obj 214 %actor% rwrist
|
||||
%load% obj 215 %actor% lwrist
|
||||
%load% obj 216 %actor% wield
|
||||
%load% obj 217 %actor% hold
|
||||
%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
|
||||
halt
|
||||
end
|
||||
if !%actor.eq(light)%
|
||||
Say you really shouldn't be wandering these parts without a light source %actor.name%.
|
||||
shake
|
||||
%load% obj 200
|
||||
%load% obj 50
|
||||
give generic %actor.name%
|
||||
halt
|
||||
end
|
||||
if !%actor.eq(rfinger)% || !%actor.eq(lfinger)%
|
||||
Say did you lose one of your rings?
|
||||
sigh
|
||||
%load% obj 201
|
||||
%load% obj 51
|
||||
give generic %actor.name%
|
||||
halt
|
||||
end
|
||||
if !%actor.eq(neck1)% || !%actor.eq(neck2)%
|
||||
Say you lose everything don't you?
|
||||
roll
|
||||
%load% obj 203
|
||||
%load% obj 53
|
||||
give generic %actor.name%
|
||||
halt
|
||||
end
|
||||
if !%actor.eq(body)%
|
||||
say you won't get far without some body armor %actor.name%.
|
||||
%load% obj 205
|
||||
%load% obj 55
|
||||
give generic %actor.name%
|
||||
halt
|
||||
end
|
||||
if !%actor.eq(head)%
|
||||
Say protect that noggin of yours, %actor.name%.
|
||||
%load% obj 206
|
||||
%load% obj 56
|
||||
give generic %actor.name%
|
||||
halt
|
||||
end
|
||||
if !%actor.eq(legs)%
|
||||
Say why do you always lose your pants %actor.name%?
|
||||
%load% obj 207
|
||||
%load% obj 57
|
||||
give generic %actor.name%
|
||||
halt
|
||||
end
|
||||
if !%actor.eq(feet)%
|
||||
Say you can't go around barefoot %actor.name%.
|
||||
%load% obj 208
|
||||
%load% obj 58
|
||||
give generic %actor.name%
|
||||
halt
|
||||
end
|
||||
if !%actor.eq(hands)%
|
||||
Say need some gloves %actor.name%?
|
||||
%load% obj 209
|
||||
%load% obj 59
|
||||
give generic %actor.name%
|
||||
halt
|
||||
end
|
||||
if !%actor.eq(arms)%
|
||||
Say you must be freezing %actor.name%.
|
||||
%load% obj 210
|
||||
%load% obj 60
|
||||
give generic %actor.name%
|
||||
halt
|
||||
end
|
||||
if !%actor.eq(shield)%
|
||||
Say you need one of these to protect yourself %actor.name%.
|
||||
%load% obj 211
|
||||
%load% obj 61
|
||||
give generic %actor.name%
|
||||
halt
|
||||
end
|
||||
if !%actor.eq(about)%
|
||||
Say you are going to catch a cold %actor.name%.
|
||||
%load% obj 212
|
||||
%load% obj 62
|
||||
give generic %actor.name%
|
||||
halt
|
||||
end
|
||||
if !%actor.eq(waist)%
|
||||
Say better use this to hold your pants up %actor.name%.
|
||||
%load% obj 213
|
||||
%load% obj 63
|
||||
give generic %actor.name%
|
||||
halt
|
||||
end
|
||||
if !%actor.eq(rwrist)% || !%actor.eq(lwrist)%
|
||||
Say misplace something?
|
||||
smile
|
||||
%load% obj 215
|
||||
%load% obj 65
|
||||
give generic %actor.name%
|
||||
halt
|
||||
end
|
||||
if !%actor.eq(wield)%
|
||||
Say without a weapon you will be Fido food %actor.name%.
|
||||
%load% obj 216
|
||||
%load% obj 66
|
||||
give generic %actor.name%
|
||||
halt
|
||||
end
|
||||
@@ -2311,7 +2322,7 @@ Puff - Random Advice~
|
||||
eval max %random.200%
|
||||
set text[1] My god! It's full of stars!
|
||||
set text[2] How'd all those fish get up here?
|
||||
set text[3] I'm a very female dragon.
|
||||
set text[3] Some people are like Slinkies. Not really good for anything, but still bring a smile to your face when you push them down a flight of stairs.
|
||||
set text[4] I've got a peaceful, easy feeling.
|
||||
set text[5] Ahhh, spring is in the air.
|
||||
set text[6] I'm one of those bad things that happen to good people.
|
||||
@@ -2508,7 +2519,6 @@ set text[196] It is as bad as you think and they are out to get you.
|
||||
set text[197] Isn't it scary that doctors call what they do "practice"?
|
||||
set text[198] Accept that some days you're the pigeon, and some days you're the statue.
|
||||
set text[199] I'm not crazy, I've just been in a very bad mood for years.
|
||||
set text[200] All I ask is a chance to prove money can't make me happy.
|
||||
set speech %%text[%max%]%%
|
||||
eval speech %speech%
|
||||
say %speech%
|
||||
@@ -2563,24 +2573,24 @@ has entered the game.~
|
||||
* By Rumble
|
||||
if %actor.is_pc%
|
||||
if !%actor.eq(*)%
|
||||
%load% obj 200 %actor% light
|
||||
%load% obj 201 %actor% rfinger
|
||||
%load% obj 202 %actor% lfinger
|
||||
%load% obj 203 %actor% neck1
|
||||
%load% obj 204 %actor% neck2
|
||||
%load% obj 205 %actor% body
|
||||
%load% obj 206 %actor% head
|
||||
%load% obj 207 %actor% legs
|
||||
%load% obj 208 %actor% feet
|
||||
%load% obj 209 %actor% hands
|
||||
%load% obj 210 %actor% arms
|
||||
%load% obj 211 %actor% shield
|
||||
%load% obj 212 %actor% about
|
||||
%load% obj 213 %actor% waist
|
||||
%load% obj 214 %actor% rwrist
|
||||
%load% obj 215 %actor% lwrist
|
||||
%load% obj 216 %actor% wield
|
||||
%load% obj 217 %actor% hold
|
||||
%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)%)
|
||||
@@ -2599,6 +2609,7 @@ if %actor.is_pc%
|
||||
wait 2 s
|
||||
say HELP AREAS
|
||||
end
|
||||
end
|
||||
~
|
||||
#99
|
||||
Obj Command 82 - Teleporter~
|
||||
|
||||
@@ -2081,7 +2081,7 @@ say The best advice for new builders is under @RHELP SUGGESTIONS@n.
|
||||
TBA Welcome - 18~
|
||||
0 e 1
|
||||
entered reconnected~
|
||||
if %actor.is_pc%
|
||||
if %actor.is_pc% && %actor.level% == 1
|
||||
wait 1 sec
|
||||
if %actor.varexists(TBA_mortal_greeting)%
|
||||
say Welcome back %actor.name%. Tell someone level 32 or above when you complete the application.
|
||||
@@ -2093,6 +2093,9 @@ if %actor.is_pc%
|
||||
say Please fill out the application at: geocities.com/buildersacademy/
|
||||
set TBA_mortal_greeting 1
|
||||
remote TBA_mortal_greeting %actor.id%
|
||||
if !%actor.has_item(1233)%
|
||||
%load% obj 1332 %actor% inv
|
||||
end
|
||||
end
|
||||
end
|
||||
~
|
||||
|
||||
@@ -54,12 +54,16 @@ board~
|
||||
if board /= %cmd% && cloud /= %arg% && %arg%
|
||||
%send% %actor% You jump onto the cloud and take a seat.
|
||||
%echoaround% %actor% %actor.name% jumps up onto nimbus.
|
||||
wait 3 sec
|
||||
%send% %actor% The nimbus cloud takes off down the tower.
|
||||
%echoaround% %actor% The nimbus cloud takes off down the tower.
|
||||
%teleport% %actor% 10306
|
||||
wait 10 sec
|
||||
%echoaround% %actor% The cloud lands and %actor.name% steps off.
|
||||
%echoaround% %actor% The cloud flies off to the top of the tower.
|
||||
%send% %actor% The cloud lands and you jump off landing safely on the ground.
|
||||
wait 2 sec
|
||||
%force% %actor% look
|
||||
%send% %actor% You jump off the nimbus cloud.
|
||||
else
|
||||
%send% %actor% board what?
|
||||
end
|
||||
@@ -121,6 +125,7 @@ wait 2 sec
|
||||
say Master Vegeta is in his atire.
|
||||
wait 1 sec
|
||||
say And there is a fighter here to help you train.
|
||||
end
|
||||
~
|
||||
#10315
|
||||
Newbie Fighter Sacrifice - 10318~
|
||||
|
||||
@@ -164,9 +164,14 @@ if %object.vnum% == 10429
|
||||
wait 2 s
|
||||
say Hmmm, this looks like the armor.
|
||||
wait 2 s
|
||||
say You may have this.
|
||||
say If you obtained this armor, you must be strong.
|
||||
wait 2 s
|
||||
%send% %actor% You watch as %self.name% rummages through a bag on his side and pulls out some coins.
|
||||
say The armor is yours, take it.
|
||||
%load% obj 10434 %actor% inv
|
||||
wait 2 sec
|
||||
%send% %actor% The Village Elder hands you the armor then you watch as %self.name% rummages through a bag on his side and pulls out some coins.
|
||||
wait 2 s
|
||||
say You may also have this.
|
||||
wait 2 s
|
||||
%send% %actor% %self.name% hands you the coins, you feel a slight surge of energy.
|
||||
%echoaround% %actor% %self.name% rummages through a bag and pulls out a couple coins.
|
||||
@@ -191,22 +196,32 @@ whats the weather~
|
||||
eval here %self.room%
|
||||
eval today %here.weather%
|
||||
say The weather eh? Give me a little.
|
||||
%echo The Weatherman looks up into the sky and pulls a notepad out of his pocket.
|
||||
wait 1 sec
|
||||
%echo% The Weatherman begins to jot down something on his notepad.
|
||||
wait 1 sec
|
||||
%echo% The Weatherman sctatches his head then looks a %actor.name%
|
||||
%echo %self.name% looks up into the sky and pulls a notepad out of his pocket.
|
||||
wait 3 sec
|
||||
%echo% %self.name% begins to jot down something on his notepad.
|
||||
wait 3 sec
|
||||
%echo% %self.name% scratches his head then looks a %actor.name%.
|
||||
wait 10 sec
|
||||
if %today% == rainy
|
||||
%echo% The Weatherman places a raincoat on, then pulls out an umbrella.
|
||||
%echo% %self.name% places a raincoat on, then pulls out an umbrella.
|
||||
wait 2 sec
|
||||
say It's pouring out today.
|
||||
elseif %today% == sunny
|
||||
%echo% The Weatherman puts on some sunglasses and places some sunscreen on his nose.
|
||||
%echo% %self.name% puts on some sunglasses and places some sunscreen on his nose.
|
||||
wait 2 sec
|
||||
say I just might go to the beach today.
|
||||
wait 2 sec
|
||||
say Well, my forecast for taday is simple, it is bright and clear.
|
||||
elseif %today% == lightning
|
||||
%echo% The Weatherman watches the flashing lights in the sky smiling.
|
||||
%echo% %self.name% watches the flashing lights in the sky smiling.
|
||||
wait 2 sec
|
||||
say Pretty ain't it?
|
||||
wait 2 sec
|
||||
say Well, my forecast is simple, we have scattered lighting, with a slight chance of rain.
|
||||
elseif %today% == cloudy
|
||||
%echo% The Weatherman takes cover under a tree.
|
||||
%echo% %self.name% takes cover under a tree.
|
||||
wait 2 sec
|
||||
say Looks like it might rain today, thoase clouds are rather dark.
|
||||
else
|
||||
say I cannot tell you the weather while Im indoors.
|
||||
|
||||
@@ -290,6 +290,25 @@ else
|
||||
%send% %actor% The feather seems powerless.
|
||||
end
|
||||
~
|
||||
#1218
|
||||
Multiple Command Example Trig~
|
||||
2 c 100
|
||||
test~
|
||||
if %cmd% == test
|
||||
* Careful not to use Arguments * or this trig will freeze you.
|
||||
* evaluate the first arg
|
||||
eval command %arg.car%
|
||||
* evaluate the rest of the arg string
|
||||
eval therest %arg.cdr%
|
||||
* while there is an arg keep going
|
||||
while %command%
|
||||
%echo% the first arg is: %command%
|
||||
%echo% the remaining arg is: %therest%
|
||||
eval command %therest.car%
|
||||
eval therest %therest.cdr%
|
||||
done
|
||||
end
|
||||
~
|
||||
#1220
|
||||
book keeping~
|
||||
2 c 100
|
||||
|
||||
@@ -34,15 +34,34 @@ else
|
||||
end
|
||||
~
|
||||
#202
|
||||
Free Trig~
|
||||
0 b 100
|
||||
~
|
||||
if %mhunt_target.room% == %self.room%
|
||||
mkill %mhunt_target%
|
||||
%echo% killing %mhunt_target.name%.
|
||||
else
|
||||
%echo% hunting %mhunt_target.name%
|
||||
mhunt %mhunt_target%
|
||||
Object Spells~
|
||||
1 c 1
|
||||
c~
|
||||
* if command is cast and arg is fireshield (and all abbrevs of each)
|
||||
if %cmd.mudcommand% == cast && fireshield /= %arg%
|
||||
switch %random.1%
|
||||
case 1
|
||||
if %actor.class% == Magic User
|
||||
%echoaround% %actor% %self.shortdesc% that %actor.name% is wearing glows brightly for a moment.
|
||||
%send% %actor% Your %self.shortdesc% glows brightly for a moment.
|
||||
dg_cast 'armor' %actor%
|
||||
end
|
||||
break
|
||||
default
|
||||
%send% %actor% reached default case.
|
||||
break
|
||||
eval ward_major %ward_major%+1
|
||||
if %ward_major% == 2
|
||||
detach all %self.id%
|
||||
end
|
||||
global ward_major
|
||||
done
|
||||
end
|
||||
~
|
||||
#203
|
||||
free~
|
||||
2 bg 100
|
||||
~
|
||||
* No Script
|
||||
~
|
||||
$~
|
||||
|
||||
@@ -1428,7 +1428,7 @@ end
|
||||
(2719) memlin asks if hungry~
|
||||
0 gh 100
|
||||
~
|
||||
if %self.has_item(2763)
|
||||
if %self.has_item(2763)%
|
||||
if %actor.is_pc%
|
||||
wait 1 s
|
||||
smile %actor.name%
|
||||
|
||||
@@ -423,6 +423,7 @@ if %actor.is_pc%
|
||||
remote 3_napalm_done %actor.id%
|
||||
end
|
||||
end
|
||||
end
|
||||
~
|
||||
#336
|
||||
Room Contents Test~
|
||||
|
||||
Reference in New Issue
Block a user