Difference between revisions of "Mob Function"

From The Final Challenge Wiki
Jump to navigation Jump to search
m (typo)
 
Line 1: Line 1:
A mob special function gives a mobile additional functionality.  It is specified in an area file in the #[[SPECIALS]] section, and has the following format:
A mob special function gives a mobile additional functionality.  It is specified in an area file in the #[[SPECIALS]] section, and has the following format:


M <mob vnum> <special function name> * Optional commend
M <mob vnum> <special function name> * Optional comment


For example, to give a Midgaard Cityguard of vnum 3067 the spec_guard mob function:
For example, to give a Midgaard Cityguard of vnum 3067 the spec_guard mob function:

Latest revision as of 15:08, 24 April 2016

A mob special function gives a mobile additional functionality. It is specified in an area file in the #SPECIALS section, and has the following format:

M <mob vnum> <special function name> * Optional comment

For example, to give a Midgaard Cityguard of vnum 3067 the spec_guard mob function:

#SPECIALS
M 3067 spec_guard


FROM AWG - Need to integrate


This specfun gives a mob special powers or abilities. Of the specfun class called Specials, only one special per mob is allowed. These specfuns are placed together in the SPECIALS block.


The layout of a Mob Specfun is as follows:


A: This must be a M.

B: This is the mob's vnum.

C: This is the name of a mob specfun off the approved mob specfun list. It must be appropriate to the mob, i.e. only dragons should have a dragon class specfun such as spec_sleeping_dragon.

E: This usually would contain the mob's name.


List of Mob Functions