[an error occurred while processing this directive]
[<a href="index.shtml">Package Index</a></code> | <a href="index_std.shtml">Mudlib Index</a></code> | <a href="index_eff.shtml">Effect Index</a></code>]<br><h2>File /std/room/inherit/carriage/carriage.c</h2>
This creates the default bell.  This method can be overridden to create
custom bells<h2>Inherits</h2>
This class inherits the following classes <a href="std.room.basic_room.c.shtml">/std/room/basic_room.c</a><h2>Includes</h2>
This class includes the following files <a href="include.room.carriage.h.shtml">/include/room/carriage.h</a><h2>Method index</h2>
<dl><ul>
<li><a href="#check_can_leave">check_can_leave</a>(string, object)<li><a href="#co">co</a>()<li><a href="#create_bell">create_bell</a>()<li><a href="#create_carriage_driver">create_carriage_driver</a>()<br/>
This method should be overriden by higher level carriages to setup
the driver correctly.
<li><a href="#create_fake_carriage">create_fake_carriage</a>()<br/>
This creates the default fake carriage object (moved to rooms that the 
carriage stops at).
<li><a href="#do_ring">do_ring</a>()<li><a href="#give_warning">give_warning</a>(string, string)<li><a href="#make_carriage">make_carriage</a>(string, class route_details, object)<br/>
This is called by the handler to originaly setup the current route
information.
<li><a href="#make_stop">make_stop</a>()<br/>
Stop at the next location.
<li><a href="#move_on">move_on</a>()<li><a href="#query_carriage_name">query_carriage_name</a>()<br/>
This method returns the name of the route the carriage is on.
<li><a href="#query_current_stop">query_current_stop</a>()<br/>
This method returns the details of the current stop.
<li><a href="#query_environ_long">query_environ_long</a>()<li><a href="#query_moving_chats">query_moving_chats</a>()<br/>
Returns the default carriage-moving chats - can be overriden by higher
level carriages for default ones)
<li><a href="#query_next_stop">query_next_stop</a>()<br/>
This method returns the details of the next stop.
<li><a href="#query_outside">query_outside</a>()<br/>
This method returns the object that is the outside of us.
<li><a href="#query_route_map">query_route_map</a>()<br/>
This method returns the entire details of the route used by this
carriage.
<li><a href="#query_stop_info">query_stop_info</a>()<br/>
This method returns the indexes of the current stop and the
next stop.
<li><a href="#set_bell">set_bell</a>(object)<br/>
Sets the bell object for the carriage
<li><a href="#set_fake_carriage">set_fake_carriage</a>(object)<br/>
Sets the fake carriage object (moved to rooms that the carriage stops at)
<li><a href="#update_route">update_route</a>(string, class route_details, object)<br/>
This is called by the handler to update the current route information
</ul><h2>Public Functions</h2>
These are functions that everyone can access.<p>
.<ul><a name="check_can_leave">
check_can_leave</a><pre>
int check_can_leave(string exit,
                    object person)
</pre>
<ul><a name="co">
co</a><pre>
mixed * co()
</pre>
<ul><a name="create_bell">
create_bell</a><pre>
object create_bell()
</pre>
<ul><a name="create_carriage_driver">
create_carriage_driver</a><pre>
object create_carriage_driver()
</pre></br>
This method should be overriden by higher level carriages to setup
the driver correctly.
<br/><ul>
<li><b>Returns:</b>
<br/>the driver to use for this carriage

</dl>

<ul><a name="create_fake_carriage">
create_fake_carriage</a><pre>
object create_fake_carriage()
</pre></br>
This creates the default fake carriage object (moved to rooms that the 
carriage stops at).  This method can be overriden to create a custom
fake carriage
<br/><ul>
<li><b>Returns:</b>
<br/>the fake carriage object 

</dl>

<ul><a name="do_ring">
do_ring</a><pre>
int do_ring()
</pre>
<ul><a name="give_warning">
give_warning</a><pre>
void give_warning(string this_stop_name,
                  string next_stop_name)
</pre>
<ul><a name="make_carriage">
make_carriage</a><pre>
int make_carriage(string name,
                  class route_details new_route_info,
                  object handler)
</pre></br>
This is called by the handler to originaly setup the current route
information.
<br/><ul>
<li><b>Parameters:</b>
<br/>name - the name of the rotue
<br/>new_route_info - the new route to use
<br/>handler - the handler for the carriage

</dl>

<ul><a name="make_stop">
make_stop</a><pre>
void make_stop()
</pre></br>
Stop at the next location.


<ul><a name="move_on">
move_on</a><pre>
void move_on()
</pre>
<ul><a name="query_carriage_name">
query_carriage_name</a><pre>
string query_carriage_name()
</pre></br>
This method returns the name of the route the carriage is on.
<br/><ul>
<li><b>Returns:</b>
<br/>the name of the carriage route.

</dl>

<ul><a name="query_current_stop">
query_current_stop</a><pre>
class stop_list_details query_current_stop()
</pre></br>
This method returns the details of the current stop.
<br/><ul>
<li><b>Returns:</b>
<br/>the details of the current stop

</dl>

<ul><a name="query_environ_long">
query_environ_long</a><pre>
string query_environ_long()
</pre>
<ul><a name="query_moving_chats">
query_moving_chats</a><pre>
string * query_moving_chats()
</pre></br>
Returns the default carriage-moving chats - can be overriden by higher
level carriages for default ones)
<br/><ul>
<li><b>Returns:</b>
<br/>An array of room chats to play during carriage movement

</dl>

<ul><a name="query_next_stop">
query_next_stop</a><pre>
class stop_list_details query_next_stop()
</pre></br>
This method returns the details of the next stop.
<br/><ul>
<li><b>Returns:</b>
<br/>the details of the next stop

</dl>

<ul><a name="query_outside">
query_outside</a><pre>
object query_outside()
</pre></br>
This method returns the object that is the outside of us.
<br/><ul>
<li><b>Returns:</b>
<br/>the environment of the carriage

</dl>

<ul><a name="query_route_map">
query_route_map</a><pre>
class route_details query_route_map()
</pre></br>
This method returns the entire details of the route used by this
carriage.
<br/><ul>
<li><b>Returns:</b>
<br/>the entire route details

</dl>

<ul><a name="query_stop_info">
query_stop_info</a><pre>
int * query_stop_info()
</pre></br>
This method returns the indexes of the current stop and the
next stop.
<br/><ul>
<li><b>Returns:</b>
<br/>({ current stop, next stop })

</dl>

<ul><a name="set_bell">
set_bell</a><pre>
void set_bell(object bell)
</pre></br>
Sets the bell object for the carriage
<br/><ul>
<li><b>Parameters:</b>
<br/>the - bell object

</dl>

<ul><a name="set_fake_carriage">
set_fake_carriage</a><pre>
void set_fake_carriage(object carriage)
</pre></br>
Sets the fake carriage object (moved to rooms that the carriage stops at)
<br/><ul>
<li><b>Parameters:</b>
</dl>

<ul><a name="update_route">
update_route</a><pre>
void update_route(string name,
                  class route_details new_route_info,
                  object handler)
</pre></br>
This is called by the handler to update the current route information
<br/><ul>
<li><b>Parameters:</b>
<br/>name - the name of the rotue
<br/>new_route_info - the new route to use
<br/>handler - the handler for the carriage

</dl>


[an error occurred while processing this directive]

