Mob Record

From The Final Challenge Wiki
Revision as of 14:24, 12 February 2011 by Thor (talk | contribs) (Created page with "An individual mob is laid out in the following format: A B C D E F G H I J K L M N O P Q R S T U V W A: The mob's vnum. B: The mob's name. C: The mo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

An individual mob is laid out in the following format:


A

B

C

D

E

F G H I

J K L M N

O P

Q R S

T

U

V

W


A: The mob's vnum.

B: The mob's name.

C: The mob's short description.

D: The mob's long description.

E: The mob's look description.

F: The mob's actions.

G: Things affecting the mob.

H: The mob's alignment.

I: This must be an S.

J: The mob's level.

K: Set this to 0.

L: Set this to 0.

M: Set this to 0d0+0.

N: Set this to 0d0+0.

O: Set this to 0.

P: Set this to 0.

Q: Set this to 8.

R: Set this to 8.

S: The mob's sex.

T: The mob's language. [Optional]

U: The Animal flag.

V: The No-Wear flag.

W: The spec_one_spell entry


A: The mob's vnum

This number identifies the mob to the MUD for loading purposes and other functions. The Syntax is:

#XXYY

XX is the number assigned to your area. YY is a number between 00 and 99 identifying a particular mob in the area. No duplicates vnum's are allowed.


Example: #4710

This is mob 10 in area 47.


B: The mob's name

This is the keyword (or words) used by mortals to interact with a mob. Generally, the name field should have no more than 2 or 3 words in it. The field should be all in lower case, and the last character must be a tilde (the squiggly hyphen).

If the mob is an ogre named herman, "herman" and "ogre" are the 2 words you would put in the name field. Do not put articles or prepositions in this field, and make sure one of the keywords is also used in the long description.


C: The mob's short description

This is the phrase the MUD uses when the mob does something. If the mob's short description is "herman", then if it bows it might read as: Herman bows in your presence.

The short description should be a phrase that makes grammatical sense, and it must be followed by the tilde. Also make sure you do NOT capitalize leading prepositions, such as in "The ogre". Instead use "the ogre". This allows the messages the mud generates using this description to look right, such as "Your slash hits the ogre."


D: The mob's long description

This is the sentence that the MUD displays for mobs standing in a room. If a mob has the long description "Herman stands here idly.", then when you enter the room, following the room description the MUD would display:

Herman stands here idly.

The long description gets preceded by things like aura's and other spell effects, so take that into account when you write the description. In general, this sentence should be approximately 70 characters in maximum length if the mob has no affects on him. If the mob has affects, take the auras into consideration, making sure the description and auras all fit on ONE line, like this:

(Hide)(Invis)(Sanctuary)(Translucent)(Red Aura) An ogre stands here.

The sentence should be grammatically correct and following it, on a separate line by itself, should be a tilde.


E: The mob's look description

This is the paragraph describing the mob that you would see when you look at him. If the mob had the name "herman" and the look description of "Herman is a fat, ugly ogre. He stands here swatting flies, picking his nose, and wondering whether you would make a good lunch.", then when you type LOOK HERMAN, the MUD would display:

Herman is a fat, ugly ogre. He stands here swatting flies, picking his nose, and wondering whether you would make a good lunch.

The lines in the paragraph should be no more than 70-75 characters in length so line wrap problems don't occur. On a separate line following the paragraph should be a tilde.


F: The mob's actions

Refer to the flag list for legal values which are used to define how a mob interacts with the world. If you use nothing out of the list, enter a 0.


G: Things affecting the mob

Refer to the flag list for legal values which are used to define what things are affecting the mob. If you use nothing out of the list, enter a 0.


H: The mob's alignment

This is a number between -1000 (super evil) and 1000 (super good). For a mob to register as either evil or good, the absolute value of the alignment must be at least 350.


I: This field MUST be an S

There is no why. An S and nothing but an S is acceptable.


J: The mob's level

This is the level of the mob, a non-negative number. Maximum level should generally be 50. Remember that mob levels differ from player levels, with a mob's level equating to a player's level some 3 to 10 player levels higher. Also remember that specfuns often cause a mob to be capable of fighting several levels above their own level. Consider thesr facts when designing mob levels with respect to your assigned/chosen area level range.


K through R: Set these to "whatever" is listed in the diagram legend.

There is no why. Just set them to what is indicated.


S: The mob's sex

This number indicates if the mob is male(1), female(2), or an it(0).


T: The mob's language (optional)

Mobs can be set to speak a language. If none is set, they speak the universal god-tongue. Language has the format:


1

2 3


1: This is a L.

2: This is the languages a mob KNOWS. Refer to the flag list for values.

3: This is the what the mob prefers speaking. Refer to the list for values. Only ONE value is allowed - do NOT combine values in this field.


U: The Animal flag (optional)

If the mob is a animal, put a single A on this line. If this is omitted, do NOT put in a blank line.


V: The No-Wear flag (optional)

If the mob is not allowed to wear equipment, enter a N on this line. If this is omitted, do NOT put in a blank line. Most animals should receive this flag with dragons being a notable exception to that rule.


W. The spec_one_spell block (optional) (requires *Special Permission*)

The spec_one_spell block sets the single spell a mob knows. To use a spec_one_spell in an area, the mob must have this block AS WELL AS an associated entry in the #SPECIALS section. If a mob is not receiving this specfun, do NOT put in blank lines. The block has the format:


1

23


1. This is the letter O.

2. This is the NAME of the spell being given to the mob.

3. This is a tilde. It must be on the same line as, and begin immediately after, the spell text with NO spaces.

An example of a Mobile record follows:

#4710

herman ogre~

Herman~

Herman stands here idly.

~

Herman is a fat, ugly ogre. He stands here swatting flies, picking

his nose, and wondering whether you would make a good lunch.

~

96 0 -350 S

21 0 0 0d0+0 0d0+0

0 0

8 8 1

L

256 256