Fatal Dimensions

Mob Programs
Fatal Dimensions has switched from standard Merc mobprogs to TCL based mobprogs. This makes the mob programs much more flexible. If you want to see an example, go to Grum (recall) and say "Count to 5", or any other number.

TCL Mob Progs documentation, your basic reference for all you want to know about mobprograms in Fatal Dimensions.
Benedict's Mob Prog Patterns, Tips & Tricks for writing your very own mob programs for non-programmers. (Work in progress)
TCL Command Reference from the Scriptics site.
TclTutor is a program to learn the TCL script language. This language is used to program the mobs on Fatal Dimensions.

How to use these documents
Before you start to learn making mobprogs, use the TclTutor. This is an interactive tutorial for learning what TCL is about. Window 95/98/NT users should download "A TCL-Pro wrapped executable for Windows 95 and Windows NT" for a no installation version. Make sure we don't answer questions if you have not done this.

If you do not want to make a career in programming, read Benedict's Mob Prog Patterns document.

The general TCL commands can be found in the TCL Command Reference. Because the mud TCL version is secured, filesystem and network commands do not work. For mud specific commands read the TCL Mob Progs documentation. It is important to understand the part about charid, objid and location.Take a look at examples of mobprogs to understand these completely.

Experiment with the mobprogs using the Offline Editor.

User contributed notes: TCL mobprogs comments
Feb 27th 2000, 23:22
Added new options for the char, mob, room and object commands: property. It will return the property which matches the key/type pair.
Oct 12th 2000, 15:48
Added "mob iswearing" and "mob iscarrying" commands.
Oct 14th 2000, 17:54
Added "room -object " parameter, so you can search for a room with an object. Returns the first room with it in it.
Oct 19th 2000, 23:16
Added setting of properties to the property-commands in TCL.
Dec 8th 2000, 15:31
Redone the interpret-triggers, they're now, for both objects as mobs, like:
interpret_unknown, interpret_preknown, interpret_postknown.
  • interpret_unknown is triggered when you execute an invalid command
  • interpret_preknown is triggered just before a valid command is going to be executed, so it can be interrupted.
  • interpret_postknown is triggered after a valid command has been executed.