Worlds of Carnage
https://www.wocmud.org/forum/

Zone Writing Assistance
https://www.wocmud.org/forum/viewtopic.php?f=20&t=348
Page 1 of 1

Author:  Zamadhi [ Thu Apr 13, 2006 11:52:42pm ]
Post subject:  Zone Writing Assistance

On initial Area Load the following will load a mob & equip it with a belt;
At Reset, loads the mob & equips it with a belt (if the belt has left game)
Code:
M 1 119233 119224 0 * load paladin E 0 119233 13 * paladin's belt
At Reset, loads the mob & equips it with a belt (always).
Code:
M 1 119233 119224 0 * load paladin E -1 119233 13 * paladin's belt
How it was originally written, will only work for initial area load:
The '1' for E(quip) or G(ive) commands doesn't work for area resets.
Code:
M 1 119233 119224 0 * load paladin E 1 119233 13 * paladin's belt
Using '1' as the <reps> number creates a new 'group' of commands,
and when used with E/G are only valid for inital area load.

Also the following quirk, which is possibly a bug:
#reps doesn't work for O(bjects).
This loads 1 sword blank in the blacksmith's room:
Code:
O 1 121424 121423 * Load 3 swordblanks in the blacksmiths shop
This loads 1 sword blank:
Code:
O 3 121424 121423 * Load 3 swordblanks in the blacksmiths shop
All these commands will only load one sword blank:
Code:
O 3 121424 121423 * Load 3 swordblanks in the blacksmiths shop O 3 121424 121423 * Load 3 swordblanks in the blacksmiths shop O 1 121421 121423 * Load an anvil in the blacksmiths shop O 3 121424 121423 * Load 3 swordblanks in the blacksmiths shop
Doesn't appear to be any valid Zone command that can load more than one
of the same object into the same room. Thus will need to use a scripted
workaround in either the room/on_load or the object or mob.

Page 1 of 1 All times are UTC-04:00
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/