Home

[Package Index | Mudlib Index | Effect Index]

File /std/room/safe_room.c

This is the object that is the keeper of the safe room. This should " be an NPC.

Inherits

This class inherits the following classes /std/room/basic_room.c

Includes

This class includes the following files /include/armoury.h

Method index

Public Functions

These are functions that everyone can access.

.

    do_dream
    int do_dream(string str)
    
      do_rest
      int do_rest(string str)
      
        event_enter
        void event_enter(object ob,
                         string stringy,
                         string stringy2)
        
          event_exit
          void event_exit(object ob,
                          string message,
                          object to)
          
            event_fight_in_progress
            void event_fight_in_progress(object ob1,
                                         object ob2)
            
              make_calm
              void make_calm(object blue)
              
                query_calm_mess
                string query_calm_mess()
                

                This returns the message given to the player when they are calmed.
                  query_dream_chats
                  string * query_dream_chats()
                  

                  This returns the chats given to the player when they dream.
                    query_keeper
                    object query_keeper()
                    

                    This returns the object that is the keeper of the safe room.
                      query_keeper_stop_emote
                      string query_keeper_stop_emote()
                      

                      This returns the emote made by the room's keeper, should there be one, when an active fight is stopped.
                        query_rest_mess
                        string query_rest_mess()
                        

                        This returns the message given to the player when they rest.
                          query_room_stop_mess
                          string query_room_stop_mess()
                          

                          This returns the message given to the player when they are calmed.
                            query_sneak_stop_mess
                            string query_sneak_stop_mess()
                            

                            This returns the message given when the player attempts to sneak into the room.
                              query_violent_action_mess
                              string query_violent_action_mess()
                              

                              This returns the message given when the player attempts an action which is not permitted by the room.
                                set_calm_mess
                                void set_calm_mess(string mess)
                                

                                This sets the message given to the player when they are calmed.
                                • Parameters:
                                  mess - The calmed message.
    set_dream_chats
    void set_dream_chats(string * chats)
    

    This sets the array of chats given to the player when they dream in here.
    • Parameters:
      chats - The chat array, which is just a list of strings.
        set_keeper
        void set_keeper(object ob)
        
          set_keeper_stop_emote
          void set_keeper_stop_emote(string mess)
          

          This sets the emote made by the room's keeper, should there be one, when an active fight is stopped. If this is set and the keeper does not exist, the room stop message (set_room_stop_mess) will be used. The initial : to emote is not required.
          • Parameters:
            mess - The calmed emote.
              set_rest_mess
              void set_rest_mess(string mess)
              

              This sets the message given to the player when they rest.
              • Parameters:
                mess - The rest message.
                  set_room_stop_mess
                  void set_room_stop_mess(string mess)
                  

                  This sets the message the room gives to a player when an active fight is stopped. This will only be used if the room has no keeper.
                  • Parameters:
                    mess - The calmed message.
                      set_sneak_stop_mess
                      void set_sneak_stop_mess(string mess)
                      

                      This sets the message given when the player attempts to sneak into the room.
                      • Parameters:
                        mess - The end of sneak message.
                          set_violent_action_mess
                          void set_violent_action_mess(string mess)
                          

                          This sets the message given when the player attempts an action which is not permitted by the room.
Valid HTML 4.01 Transitional
Valid CSS!
Read More