Vote for Our Mud on TMC!
Home Getting Started Forum World Information Builders Support FK
home » builders » builder's lessons » header flags lesson

HEADER FLAGS LESSON

The typical area file has the following main headers in it. I am using the Waterdeep area as an example. These are the headers that come before the #MOBILES section of the area file. They set alot of the overall and general settings for the area file.

#AREA Waterdeep~
#AUTHOR Blythe~
#RANGES
1 65 0 65
$
#RESETMSG {A0}You hear the marching of soldiers patroling the streets.~
#FLAGS
0 0
#ECONOMY 100000 100000
#WEATHER 5 5
#JUSTICE
CourtRoom 8859
Dungeon 8115
Judge 8210
Crime CRIME_HIGH_MURDER PUNISHMENT_DEATH
Crime CRIME_LOW_MURDER PUNISHMENT_SEVER
Crime CRIME_ASSAULT PUNISHMENT_JAIL
Crime CRIME_MUGGING PUNISHMENT_RANDOM_ITEM
$
#MINING MATERIAL_TIN
#LOGGING MATERIAL_WOOD 

Lets break this up line by line in order to understand what each one means a bit better.

#AREA Waterdeep~ The area name can be any text. This is the name your area will be known as. When someone types 'areas' on the game this is what they will see as the name of the area. You must finish the area name with a tilda ~.

#AUTHOR Blythe~ This is the name you choose as the builder of the area. If the area has more than one builder you can put them in as follows:

#AUTHOR Blythe Jaxom~ - Depending on the length of the names both names can appear on the area listing. If they are too wide then it will make the listing go out of balance. When you are testing your area, be sure to type area to make sure that your author and area name fits into the allotted space in the area listing in game.

#RANGES
1 65 0 65
$
The first two numbers are the recommended level ranges of the area. There are 50 mortal levels on FKmud. 51 is the hero level and the rest are for immortals. The second two numbers are the enforced levels. For instance the newbie training area is limited up to level 9 by typing 1 9. You must end the #RANGES section with a $.

#RESETMSG {A0}You hear the marching of soldiers patroling the streets.~ This is the echo heard whenever the area resets. If none is put in then the default messages for each sector are echoed to the room. Note that you can colourise this message.

#FLAGS
0 0
The first number isnt to be used by regular builders and should be left at 0. (It is used for the wilderness areas). The second number is how long in minutes it takes an area to reset. An area like the newbie temple that resets frequently is set at 3. If left at 0 the game decides on the reset time which is quite a long period of time. A typical value is 15. Areas that are set to -1 never reset (until mud reboots).

#ECONOMY 100000 100000 The economy of an area is the total amount of copper that all the mobs in the area have available to buy goods from characters (via a player's sell command). Buying goods from a character will add the cost of the object to the economy and selling an object to a mob will subtract the cost from the economy. Small villages and guild/temple type areas should be in the range of 5k-20k. Medium sized towns and cities should range from 20k to 40k. Large cities might range from 40k to 100k.

#WEATHER 5 5 With these two fields you can set the weather for your area. The first number is the humidity of the area. Humidity is defined in a range from 1 - 10, where 1 is desert and 10 is rain forest. The second number is temperature. Temperature like humidity is defined in a range from 1 - 10, where 1 is frozen and 10 is hot. The default is 5 5.

#JUSTICE This denotes the beginning of the justice section of the area file. It consists of 9 lines all up.

Note that you can change the punishment to fit the crime of the area. More information about how to set up a justice system can be found here.

#MINING MATERIAL_TIN This sets the material that can be mined in an area. This header does not always need to be used. Its purpose is for underground mining areas where a set metal can be found.

#LOGGING MATERIAL_WOOD This sets the material that can be logged in an area. This header does not always need to be used. Its purpose is for forested areas where a set type of tree can be logged.