Phantasmal MUD Lib for DGD

Phantasmal Site
Phantasmal API
Archive
DGD
Design
Actions & Events
Class Heirarchy
Dependencies
MUD Event Model
Mobile Actions
Mobile Code
OLC Attributes
Object Grouping
Problems
Specifying Perception
Terminology
Verbs
MUD Visibility
Development
Innsmouth MUD
Phantasmal Operation
Setup
Test module index
Phantasmal Tutorials
Comparison to Other Libs
Credits
Current Features
History
Installing Baseline Phantasmal
About

Coding Phantasmal Mobiles

Code for mobiles in Phantasmal should obey some basic guidelines.

Phantasmal has a process to allow mobiles to prevent other mobiles from taking actions. Make sure your action plays nice with this process. Make sure your action is appropriately preventable and doesn't try to get around the usual process.

Just as your mobile's actions should be preventable with the normal Phantasmal prevention process (which has priority over it), it should also play nice with the processes that are lower-priority. Make sure that your action can be prevented on certain objects, mobiles or locations so that if somebody wants to override your action for plot reasons, that can be done. Tags can be a great way to do this.