prev | toc | next
 

Overview: Rooms and the Environment Tree (cont'd)

The position of a room within the environment tree can be changed (that is, it can be `re-parented') with the @teleport command: teleport the daughter room to its new parent room. For example, if another player wanted to begin a new area — an African village say — she could start off from the pier in Sinshe, and use the @teleport command to position the new rooms correctly.

====================================
> @dig Environment: Afurica
  Environment: Afurica created with room number #5266.
  Parent set to Sinshe Parent Room(#635RA).
> @tel #5266 = #101
  Parent set.
> @dig Kapiti Plain Environment Room
  Kapiti Plain Environment Room created with room number #5435.
  Parent set to Sinshe Parent Room(#635RA).
> @tel #5435 = #5266
  Parent set.
> @dig Kapiti Plain -- By the Watering Hole
  Kapiti Plain -- By the Watering Hole created with room
  number #5433.
  Parent set to Sinshe Parent Room(#635RA).
> @tel #5433 = #5435
  Parent set.
> @act kap = me
  Action created with number #5435 and attached.
> @link kap = #5433
> kap
  Kapiti Plain -- By the Watering Hole(#5433R)
> @trace here
  Kapiti Plain -- By the Watering Hole(#5433R)
  Kapiti Plain Environment Room(#5435R)
  Environment: Afurica(#5266R)
  Master Environment(#101RA)
  **Missing**
  ***End of List***
====================================

The new environment rooms do not have an Abode flag. In order to make #5435 and #5266 appear for other players in a @trace, and in order for player-created rooms to be correctly parented, they will need to be set Abode. Once Kenya has moved to Kapiti Plain -- By the Watering Hole(#5433), any new rooms she digs from there will be correctly parented to Kapiti Plain Environment Room(#5435).

Alternately, the parent room can be declared at the time the room is created.

====================================
> @dig Environment: Afurica = #101
  Environment: Afurica created with room number #5266.
  Trying to set parent...
  Parent set to Master Environment(#101RA).
====================================

Registered names also can be declared when the room is created.

====================================
> @dig Kapiti Plain -- By the Watering Hole = #5435 = kap
  Kapiti Plain -- By the Watering Hole created with room
  number #5433.
  Trying to set parent...
  Parent set to Sinshe Parent Room(#635RA).
  Room registered as $kap
 
  or...

> @dig Kapiti Plain -- By the Watering Hole == kap
  Kapiti Plain -- By the Watering Hole created with room
  number #5433.
  Parent set to Sinshe Parent Room(#635RA).
  Room registered as $kap
====================================

prev | toc | top | next