Re: [NEWBIE] Declaring a new start room

From: Ramsey Stone (RamZStone@hotmail.com)
Date: 01/28/02


----- Original Message -----
From: "Bejhan Jetha" <nhlstar6@YAHOO.COM>
To: <CIRCLE@post.queensu.ca>
Sent: Monday, January 28, 2002 8:29 PM
Subject: [CIRCLE] [NEWBIE] Declaring a new start room


> Okay I want level 1 players to enter at room 600, all i know to do is to
go
> into config.c and add "room_vnum newbie_start_room = 600;". I'm not sure
> where else to declare it and how to change mortal start room

enter the following into the shell: grep start_room *.*

Look for the places where it sticks characters in the mortal startroom, and
add:

if (GET_LEVEL(ch) == 1) {
   GET_ROOM(ch) = newbie_start_room;
} else {
   stick original code here
}

Most likely I forgot somethings, but that should give you a general idea

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT