03-10-2004, 02:38 AM | #1 |
New Member
Join Date: Apr 2002
Posts: 14
|
I am working on a Rom2.4 mud and was wondering if there is a way to create rare/unique items that only repop at the time of a copyover/reboot of the mud. If so, can this be set with resets or does it have to be coded into the mud?
Any help would be appreciated. Thanks in advance, Jaegar |
03-10-2004, 07:20 AM | #2 |
Member
Join Date: May 2002
Posts: 140
|
Most likely you'll have to code a new reset. It won't be a normal reset, though, you'll have to put it in the startup section of the mud only instead of the normal loop.
|
03-10-2004, 04:56 PM | #3 |
Senior Member
Join Date: Apr 2002
Location: Sweden
Home MUD: 4 Dimensions
Posts: 574
|
I am not quite sure about ROM, but here's how it can be done in CIRCLE, within the existing code. Since the codebases are similar in many ways, it just might work in ROM too:
1. Reset a container in the room. 2. Reset the object you want to load only at reboot IN the container, as a command dependant on the container to load. Normally, if you want the object in the container to load each time the zone resets, you also have to make another reset command as a first command, to remove the container: 0. Remove a container from the room. Since the event in line 2 is dependant on the event in line 1 to happen, line 0 ensures that the container will be loaded each time the zone resets. Without line 0, the container will still be in the room when the zone resets, so the item inside won't load, even if someone took it away. Not until the room is clearted by a reboot or a crash. This is one way to do it, within the existing code. You can also set a low max number in reset, but that only stops the item from loading if enough players with the object are logged on at the time when the zone resets. In Circle we also have the artifact code, where you can restrict the total number of an object loading, even if the players that have it are not logged on at present. Yet another way is to make a script with a zone reset trigger, which only loads the object in for instance 20% of the times. |
Rare and Unique Items - Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Looking for Colorful/Unique Mud | Poleris | Advertising for Players | 6 | 07-07-2006 02:39 PM |
Unique MUD idea? | tehScarecrow | Tavern of the Blue Hand | 7 | 04-25-2006 03:55 PM |
Unique Bad Guys | Milawe | MUD Builders and Areas | 2 | 04-22-2006 11:59 AM |
A Unique RPI in Development... | Jerusalem | Advertising for Staff | 2 | 08-14-2005 08:59 PM |
Unique Request | Ike | Advertising for Players | 3 | 08-31-2002 01:36 PM |
|
|