<?php
/*
0 =>
array (
'comment' => 'the priest',
'command' => 'load mobile room',
'vnum' =>
array (
'mob' => '3405',
'room' => '3405',
),
'data' => 'M 0 3405 1 3405 1',
),
*/
/*
This is an example changes.php file.
This one is made for chapel.are in the stock rom code. So you would drop this into the directory
test_world\chapel.are
.. of a stock Rom 2.4 code parse with PHP ROM MUD Area Loader.
You add a changes file to the mud to store your non-destructive changes to your areas...
The correct filename is wellermud.changes.[what you wish to change].php
eg)
wellermud.changes.resets.php
wellermud.changes.rooms.php
wellermud.changes.mobs.php
wellermud.changes.objects.php
*/
$area["chapel.are"]["resets"][] =
array (
'comment' => 'the priest',
'command' => 'load mobile room',
'vnum' =>
array (
'mob' => '3405',
'room' => '3405',
),
'data' => 'M 0 3405 1 3405 1'
);
// CAN EVEN SCRIPT WITH PHP TO HELP KILL REDUNDANCY
for($i=0;$i<5;$i++)
$area["chapel.are"]["resets"][] =
array (
'comment' => 'the priest',
'command' => 'load mobile room',
'vnum' =>
array (
'mob' => '3405',
'room' => '3405',
),
'data' => 'M 0 3405 1 3405 1'
);
|