A
          / \      _              Play Now                         Nemesis on 
          | |     | |  _______   _        _   _______    _______   _    _______
          | |\    | | |   ____| |  \    /  | |   ____|  /   ____| | |  /   ____|
 /-------/-------------------------------------------------------------------,
O= Home <=XX|  About  News  Pics  Adventurers  Wizards  Download  Connect     >
 \-------\-------------------------------------------------------------------'
          | |   \   | |  |____  | |      | | |  |____   ___ \  \  | |  ___ \  \
          | |     \_| |_______| |_|      |_| |_______| |_______/  |_| |_______/
          \ /
           V  

Documentation Area

Document Path: /doc/room2/page9


<
                                  CHAPTER 1                                     
Day & Night Descriptions:

   Normally players get "It is too dark." if it is night and they don't
   have a light source with them. This is rather boring and even if it is
   night, people can see a lot of things. Therefore you can set different
   descriptions if it is day and night.

   The functions you can use are set_day_desc(str) and set_night_desc(str),
   take the same argument like the set_long function, a string, where every
   line is terminated by a newline '\n'.

   The day desc is added to the long desc, if it is day, the night desc is
   added to the long desc if it is night. Normally it is night from 22:30 pm
   to 4:00 am, see 'man weather' for more information.

   Change the line set_long by set_day_desc (Kiri hmms.) and think about a
   moody night desc for your room. At the moment you can't simulate night,
   but you can wait an hour or two until it is night again in Nemesis.

   Annotation by Kiri: I'm not sure if it is fine to have no long descrition
   at all. I am still thinking about. So we put at least a "short" long desc
   in every room in the new Nemesis Village - one line with an '\n' at the
   end and set more detailed day_desc and and night_desc. My hesitation is
   technical: getting '0' on query_long() that should return the long desc
   e.g. of a room - but without day_desc or night_desc. Sounds trivial but
   it isn't :-( So still thinking - now more ;-)

   Changed/modified/modernised in August 2016.

See also:
>

This page was generated in LPC

Imprint / Impressum