Since 1998, (thanks to an idea by Steppin, implementation by Unicorn, and a bug fix in 2008 by Eniac) builders have had access to a powerful set of special procedures for item and mob loads.
To use a special procedure, use this snippet in your .zon file under the appropriate mob loading code:
<SPECIAL> [name of procedure] [flag] [flag] [flag ...] </SPECIAL>
Here is a comprehensive list, with usage examples:
| Procedure
Name |
Syntax | Example | Notes |
|---|---|---|---|
| load_item_on_death | load_item_on_death [%load] [prev_command_success] [vnum] [max_game] [max_rent] | load_item_on_death 75 0 20 2 4 |
Causes item vnum 20 to load at a 75% chance on the conditions that there are less than 2 in the game currently and less than 4 in rent regardless of the success of the previous load command. |
