Mob Reset

From TFCWiki - The Final Challenge MUD's Player Information Resource
Jump to: navigation, search

This reset loads a mobile into a room.

Syntax

A B C D E F


A: This must be an M.

B: This is a 1 or a 0. 1 signifies that the MUD should run this reset every reset cycle, a 0 signifies that the MUD should run this reset only if the area is deserted. In theory anyhow. Merc tends to ignore the setting and resets according to its own built in methods. Use the specs, though, when writing the resets - it makes them easier for me to debug.

C: This is the vnum of the mobile to load.

D: This is the TOTAL number of this mobile type allowed in THE GAME.

E: This is the vnum of the room the mobile will load into.

F: Commonly, this comment would say the mobile's name and the room name it was loaded into.

Multi-mob Examples

The below examples show the methods for resting multiple instances of a given mobile (i.e., same vnum) depending on what the author wishes to achieve.

Same Room / All Pop on Zone Reset

In the editor you would create three resets with a count of three. The resets would look like the below example. This would pop three mobs all at the same time, per zone reset.

The "M" in the below example tells the mud this is a mob reset. "2109" is the mob vnum. The "3" is the mob reset count. "1297" is the room to load the mob in.

M 0 2109 3 1297  Minotaur ring-keeper
E 1 2161 20 1 7  Huge Spiked Seste
M 0 2109 3 1297  Minotaur ring-keeper
E 1 2161 20 1 7  Huge Spiked Seste
M 0 2109 3 1297  Minotaur ring-keeper
E 1 2161 20 1 7  Huge Spiked Seste

The mob would be loaded and it would wield the Huge Spiked Seste.

Same Room / One Pops on each Zone Reset

In the editor you would create one reset with a count of three. The reset would look like the below example. This would pop three mobs, one mob per zone reset.

M 0 2109 3 1297  Minotaur ring-keeper
E 1 2161 20 1 7  Huge Spiked Seste

Multiple Rooms / Three Pop per Room on each Zone Reset

In the editor you would create three resets with a count of nine. This would pop three mobs per room, per reset.

M 0 2109 9 1297  Minotaur ring-keeper
E 1 2161 20 1 7  Huge Spiked Seste
M 0 2109 9 1298  Minotaur ring-keeper
E 1 2161 20 1 7  Huge Spiked Seste
M 0 2109 9 1299  Minotaur ring-keeper
E 1 2161 20 1 7  Huge Spiked Seste

Quest Mobile

There is also a special 'Q' reset for mobs. The difference between a normal 'M' reset and 'Q' reset is that the 'Q' reset will load a special Quest Mob that matches the name specified with the mob vnum (#MOBILES section). If the Quest Mob has not been created, or the Quest Mob filename does not match the name in the mob template, a mob will not be loaded. The 'M' and 'Q' resets are identical in all other ways.