/*************************************************************************** * MND is copyright 2000-2002 Charles Tillery (Muerte/Ao) * * http://www.mudsanddragons.com * * 3e D&D Mud Project * * This header is not to be removed from ANY file * ***************************************************************************/ This is not a complete snippet, it will not work by just throwing everything in. You must follow these steps and adjust as needed. This code uses a MYSQL backend so you MUST know mysql to work with this, this is released to show some use of mysql and some functions using it. This is used as is and isn't resposible for any crashes. 1) You must have the mysql addon released on kyndig. (by me) 2) You must add in a SLEEP condition (Or recode around that), basically how any other condition works for a go-by get the bleed snippet from the mudsanddragons website. 3) There isn't explanations in the files, this is not a newbie snippet. You must have some knowledge to use this. The OLC stuff is easy to add in by looking for REDIT of the like. This was written with the 1.81 OLC system, so will need adjusting for 2.0 or other OLC's. 4) You must make the mysql table "dreams" with the fields id int(3) primary key, auto_increment title char(20) line1 char(200) line2 char(200) line3 char(200) line4 char(200) line5 char(200) line6 char(200) line7 char(200) line8 char(200) line9 char(200) line10 char(200) author char(20) type char(10) Default value Dream It is neccessary to put in 1 field of blank data, and to work out a way to keep track of the max dreams or adjust it in the dice check in dream.c dream_event. 5) Do not erase any reference to Muerte, MND, or mudsanddragons.com It's not much to ask for. Enjoy. If there are any MINOR questions, feel free to e-mail me muerte@mudsanddragons.com or AIM Muerte2001. If you want to see it in action or ask questions live, check out fr.mudsanddragons.com 4000 Help entry: DREAM **************************************************************************** Dreaming will be a gateway to special quests as well as something to read, as sleeping is a necessity. The dreams are original works of art submitted by past, present and future staff. Some dreams will have quests that they are tied into or "knowledge" one may benefit from. You should pay attention to them. DREAMLIST [variable]: shows the dream titles and authors listed. DREAM: While asleep you can type DREAM and it will tell which dream you are experiencing. Dream System by Muerte (www.mudsanddragons.com) ****************************************************************************