Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUDs
➜ General
➜ Some major questions about coding new features
Some major questions about coding new features
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Nova
(1 post) Bio
|
Date
| Sun 05 Oct 2003 09:25 PM (UTC) |
Message
| Not sure if this belongs in this forum, but whatever.
I want to implement a more interesting mail system on my fast-growing MUSH, Quant (not public just yet, I have it limited to a few people right now but it'll go public soon). I'd like to explain the changes I want to make and then you all can tell me whether or not I'll need to hack at the hardcode to implement them, or just write some MUSHcode, or if such a system already exists that I can work from.
First of all, I want players to only be able to get and send mail at computers. Basically I want it so that a player can go out and buy a computer, which automatically sets all rooms in their personal "house" so that as long as the player is in their house then mail would work just as it normally does, but when they're not there mail doesn't work. My questions are, does such a system already exist that I can take a look at, and also if I want to do this should the USE_MAIL thing be defined before I compile or not? And will this need to be written into the source?
Furthermore, I want a player to be able to buy and carry with them a pager, which will allow them to send messages of limited size to anyone else carrying a pager, but with a drawback: pager messages will cost a credit to send. How can I implement this system, and again will I need to hack at the source?
The biggest addition I want to make is something called a "post office", which will allow objects that are marked with some kind of MAILABLE flag to be brought to a post office and shipped to another player, at which time the object in question will be held in an invisible room somewhere and every so often a "mail truck" will drive along a set path through some rooms that are roads and when it arrives at the destination post office the shipped objects will automagically appear at the destination post office and only the player they're addressed to can pick them up. Primarily what I need to know for this is how to stick some kind of property on an object that says if it's mailable, and also how to implement that mail truck (plus I want players to be able to hop on top of the truck and get a ride, just as a little surprise for people to find :))
I also want to be able to give a player a maximum amount of endurance points, then define an endurance drain for each room they might pass through (for example, climbing a mountain uses more endurance than walking across the tile floor of an air-conditioned department store) and have it so the player might lose consciousness and find himself in the hospital with a hefty bill to pay for heat stroke treatment. But then I want the player to also be able to gain back a few endurance points for every 10 seconds spent doing nothing, and I also want the amount of endurance gain to be inversely proportional to the endurance drain of the room (such that sitting on a mountain top in 93 degree weather gives you maybe 2 endurance points per 10 seconds whereas sitting on a couch with a fan blowing on you gets you 7 per 10 seconds). Any hints on implementing that?
Also, I'd like some tips on implementing a weather/time-of-day system, which could affect what non-player characters are available in what weather and suchlike, as well as globally affecting the endurance drain in all rooms. A big part of this would be being able to stick a special property on an NPC so that he/she will automatically go away at a certain time or if it's raining, etc. and be in different places on different days.
Thanks for any help.
Also, as you can see, I've got a lot of very interesting coding projects that need doing so if anyone would like to assist... :) | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
6,240 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top