** Teacher mobs help file V1.1
** 8/11/99 -Rikuo
**
** -- NOTE FROM SHALLA --
** -- NOTE FROM SHALLA --
**
** 2003-02-08
**
** This file is UGLY AS SIN, and we don't do teachers like this at all
** anymore. If you want to make a teacher, read how mobprogs work. Or
** better yet, ask a builder (or me) to send you some example teacher code
** you can cut and paste.
**
** Please ignore this file. I am only leaving it here because it is so
** horrible that I can't bear to read it long enough to double-check that
** there's nothing important in it.
**
** Thanks.
**
** -- NOTE FROM SHALLA --
** -- NOTE FROM SHALLA --
TEACHERS.TXT INDEX:
1......First Steps
2......Teacher Guidelines
3......Format
3.1....Submission Format
4......Examples
4.1....Oracle
1......First Steps
-----------------------------------------------------------------
Get the builder docs, and read them. For teachers mobs, the only
files you will not need to know how to do are the .wld files, the
.shp files, and possibly the .obj files, depending on whether you
plan to have the teachers wearing original objects.
2......Teacher Guidelines
-----------------------------------------------------------------
First thing to do is think of a concept for the mob you are
going to build, based on the skill that the mob will teach, and
the location in the world that the mob will reside in.
Examples of this are a huge battle scarred orc in the swamps east
of Moraelin, that teaches berserk. Or a knight at his camp near
Dunsane, who offers to teach parry.
Find a good spot in the world for the teacher of the skill and
record the room vnum.
Make a mob using the rules found in mobile.txt.
Additional guidelines for making the mob are these:
The mob should make sense in terms of what skill it will teach.
Make it suited to the area that it will be teaching a skill in.
DO NOT make it agro.
DO NOT make it no-kill.
For most teachers make them stationary, but wandering teachers
are good where appropriate.
Mob stats dont matter a great deal, but if you plan on the mob
loading equipment also, make sure its not too easy for what it
loads.
3......Format
-----------------------------------------------------------------
To make a mob teach a skill to someone, make a quest file entry
for the mob you want to teach something.
QST ENTRY FORMAT:
comments in <> brackets are not part of the qst entry.
#20060
20060
0
~
$n smiles happily.~
M
0
teach~
For 10 gold I will teach you how to sap people!~
R
0
10
Thanks buddy.~
G
6
256
E
$n says 'Hello there!'
3.1......Submission Format
---------------------------------------------------------------------------------
Format rikuo wants these in:
Rikuo should give you a list of skills to make teachers for, a list of mob vnums,
and a general area in the world that the mob should reside.
Put the entries in a file in this format:
------------------------------------------------------
Your name
Date
Zone commands to load the mobs and any eq they should have. i.e. M 0 22601 1 22005 *load the mob 22601 in room 22005
Mob entries E 1 1230 1 0 *load a torch on last loaded mob in the wear_torch slot
Quest entries
Object entries (if any)
------------------------------------------------------
name the file as your name, with the number of the assignment this is for you, with the suffix tch.
Ex: rikuo1.tch
------------------------------------------------------
4.......Examples
Teacher mob qst entry examples:
#19729
19729
0
~
~
M
0
hello~
Hrm, hello there, what do you want? Are
you another little person looking to learn?~
M
0
teach~
If you bring me something, I will try to
teach you how to become yell and become enraged in battle.~
M
0
yell~
Yes, I can teach how to enrage yourself
in battle with a focused yell. Only those who truly exalt
in battle can I teach.~
M
0
battlecry~
Yes, I can teach how to enrage yourself
in battle with a focused yell. Only those who truly exalt
in battle can I teach.~
M
0
something~
I need a helmet, if you can bring me the
helm worn by the leader of the rebels, I will teach you.~
R
1
19711
~
G
6
134
#20101
20101
0
~
~
M
0
hello~
*Grunt* Are you here to learn from me?~
M
0
yes~
Alright, for 500 coins I will teach
you berserk.~
M
0
learn~
Alright, for 500 coins I will teach
you berserk~
R
0
500
~
G
6
130
#19718
19718
0
~
~
M
0
hello~
Are you interested in learning from me?~
M
0
yes~
ok, for 20000 coins I will teach
you lore~
R
0
20000
~
G
6
267
#19719
19719
0
~
~
M
0
hello~
Are you interested in learning from me?~
M
0
yes~
ok, for 1000 coins I will teach
you scout~
R
0
1000
~
G
6
266
#19722
19722
0
~
~
M
0
hello~
Hmm, what a tasty looking morsal you are...
Too bad I just ate. Hrm, what could you be here for? Are you
interested in learning from me?~
M
0
yes~
I see... Then for two hundred thousand coins I
will teach you the major globe spell.~
R
0
200000
~
G
6
114
#2600
2600
0
~
~
M
0
hello~
Hi there! If your interested, I can
teach you something usefull.~
M
0
interested~
Alright! Ill teach you how to lunge in
battle if you bring me a mug of ale.~
M
0
teach~
Alright! Ill teach you how to lunge in
battle if you bring me a mug of ale.~
R
1
2633
~
G
6
199
#2687
2687
0
~
~
M
0
hello~
Greeting. Ive been everywhere and
learned many things. Are you interested in learning from me?~
M
0
yes~
ok, for 500 coins I will teach
you block~
R
0
500
~
G
6
69
#2663
2663
0
~
~
M
0
hello~
Eh? Hello there, what you be wantin
with Granny Ogg?~
M
0
teach~
Teach you? Well I suppose I could...
If you pay me 500 coins I could teach you the restore sight spell.~
R
0
500
~
G
6
14
#22643
22601
0
~
~
M
0
hello~
Hello stranger, my name is Jara~
M
0
stranger~
Bah!! Don't be surprised, I don't fear strangers.~
M
0
fear~
Fear? Of course not. I am confident in my abilities~
M
0
abilities~
My abilities? Well, I have many, but my most renown is the
ability to inspire my comrades in battle.~
M
0
inspire~
It's really simple actually, I cry out to the gods in
my strongest voice and that seems to inspire everyone on
my side in the battle.~
M
0
cry~
Yes i believe you may call it a battlecry. I like you,
therefore i might consider teaching you to battlecry.~
M
0
teach~
Yes, all you have to provide is 50000 coins to help rebuild
my childhood training center. Surely you can spare such an
for this vast knowledge!~
R
0
50000
As you Cry to inspire your comrads, may you will also
inspire youself to noble deeds~
G
6
134
E
$n looks at you, stretches her arms and yawns~
#22644
22602
0
~
~
M
0
hello~
Ugh. You disgust me!~
M
0
disgust~
What do you expect? You're a weakling! I bet
you'd meet Death when the first sword comes your way. You need some
serious help.~
M
0
help~
Oh! Groveling, that suits you well! But you
wont get any help from me unless you pay a price first~
M
0
price~
All you have to do to prove to me that I
should help you is to bring me a trophy to prove you fight to further the
evil in the world.~
M
0
trophy~
Yes i believe if you raid a town on the
shores of Rhun and return to me with a surcoat of the local militia I will
teach you how to block. That might just help you keep your head
attached to your body.~
R
1
1915
May you live long enough to kill more
followers of the false gods than I have!~
G
6
69
E
$n scoffs at your presence~
#22645
22603
0
~
~
M
0
hello~
Greetings, how can i be of service.~
M
0
service~
Well I try to help out weaker adventurers like
yourself, maybe I can help you with your fighting skills.~
M
0
skills~
It is true that i don't know many fighting skills that will help
you vanquish your foes, but i can teach you a skill that will help you from
getting killed.~
M
0
teach~
I will teach you how to properly use your shield to repel blows
that would otherwise kill you. All you have to do is bring me a shield made
of silver from a follower of the Order of the Crescent.~
R
1
7615
Use your head and a shield will not let you down.
G
6
69
E
$n swings a massive shield around as if blocking unseen blows.~
#22646
22604
0
~
~
M
0
hello~
Greetings you uncouth, unskilled, rogue.~
M
0
rogue~
You have no honor in a battle. You are no better than
a common criminal with a sharp object in your grubby hands.~
M
0
honor~
True honor in battle comes from taking on foes on an
even battlefield and besting them on their own terms. Charging a much
larger opponent truly demonstrates your heart and courage.~
M
0
charge~
To charge is an art form. You must be nimble, strong,
skillful and above all, fearless. I think i might just show you how it's
done. If nothing else I will get a laugh from seeing one as pathetic as
you attempt such a refined skill. But there will be a price.~
M
0
price~
Of course there's a price, I will not give you
knowledge for nothing. I demand the token sum of 25000 coins for this skill.
R
0
25000
Remember if you fail the skill, as you most certainly
will, you must recover quickly or all is lost for you.
G
6
53
E
$n looks at you and quickly dismisses you as a threat.~
#22647
22605
0
~
~
M
0
hello~
Greetings friend. What can I do for you? Perhaps you wish for
me to teach you something?~
M
0
teach~
I can teach you how to charge at your opponents while in battle
to suprise them and inflict great damamge upon them.~
M
0
charge~
I can teach you how to charge if you are worthy. You must have
a lust for battle and my fee, which is 1000 gold coins.~
R
0
1000
~
G
6
53
#22648
22606
0
~
~
M
0
hello~
Bah, another nosey adventurer. Well, what do you want? Can't you
see I'm a busy man? Either state your request or be off with you, I
don't have time to waste on the likes of you.~
M
0
teach~
Oh sure, another one. Yea, I can teach you. I can give you knowledge
of the ability to circle your victim in combat, and then plant your
dagger deep within his spine. Of course, this kind of training is going
to cost you.~
M
0
circle~
By circling your opponent in combat you gain a bit of surprise and are
sometimes able to stab them in a vulnerable spot. But this knowledge is
not without a cost.~
M
0
cost~
Ahh, to the point. I like that in a person. Well, if you really want to
learn there is something you can do for me. I have a contract for the
slaying of the prince of Glennwood. If you can bring me proof that he
is dead it will save me a great deal of time, and I will teach you how
to circle.~
M
0
proof~
How should I know what kind of proof to bring. His head, his whole corpse,
whatever suits you. I do think he has a royal signet ring that he has
vowed never to remove. That should do as well.~
R
1
31409
~
G
6
133
#22649
22607
0
~
~
M
0
hello~
Hail friend and well met! Have you come to best the unbeatable
Emerald Knight? Or perhaps you would like for me to teach you
something of what I have learned over the years?~
M
0
teach~
Of course, of course! I am skilled in all forms of combat, but
perhaps my specialty is finding my opponent's weaknesses and
exploiting them buy striking in those areas. The skill of using
a critical hit against your foe is a deadly one.~
M
0
critical hit~
I'd be glad to teach you how to strike your foe in a weak spot,
but first I require you to accomplish a task to prove yourself
worthy of such a boon.~
M
0
task prove~
Very well. Bring me the severed head of a gorgon and I shall
teach you all I know.~
R
1
31606
~
G
6
198
4.1......Oracle File Format
--------------------------------------------------------------
- Note from Rall: This was posted on the builder board
by Llwyst, but I thought it prudent to add this to the
builder docs as well.
Llwyst Writes:
I've re-written the oracle so that it now reads from
a text file (lib/text/oracle) instead of out of the
code. This means that Danar or I will no longer need
to be around for the oracle to get updated. The
format of the file is as follows:
M
Number
Teacher message~
...
$$~
where Number = the sinfo number of the skill/spell
the message is what you want the oracle to say, note
that he'll automatically start w/: Ah the (skill/spell)
of 'name'.
To make a carriage return, use #N