Anonymous
×
Create a new article
Write your page title here:
We currently have 7 articles on wiki.jedimud.net. Type your article name above or click on one of the titles below and start writing!



wiki.jedimud.net
Revision as of 13:46, 24 September 2021 by JediMud>Vincedq (Adding categories)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.