[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/shops/player_shop/mgr_office.c</h2>
The standard inheritable object for player-run shop manager offices.

<p><b>Description</b></p>
<p>The managers' office provides a front-end to the manager commands,
although these are mainly handled by the _office_. It also provides a
place of refuge for managers since only they have access to this room,
as well as allowing them to send and read their mail. Finally, it allows
them to claim a manager's handbook. 
</p>
<p>From here, managers can vote on employment applications and policy
suggestions. They can make personnel decisions such as commendations,
warnings, bonus suspensions, firing and demoting employees. They can
place employees on leave for a certain period if they know that employee
is away. They can view the ordinary, accounts, personnel and chart logs.
They can rent or remove additional stock cabinets. They can ban or unban
people from the shop. They can transfer monies between the profit account,
bonus account and cash register (see below). Finally, they can retire and
stay on as a retired manager, taking no further active role in the shop
other than voting on policy suggestions. 
</p>

<p><b>Accounts</b></p>
<p>There are three accounts in the shop, the first of which is the
register. This contains the 'float' - the money used for buying and
selling stock. The register is located behind the counter and is
accessible to every employee. 
</p>
<p>The profit account contains the funds used to pay operating expenses
such as cabinet rentals and employee pay. 
</p>
<p>The bonus account holds the funds used to pay the monthly bonus. 
</p>
<p>Monies can be transferred between all three accounts at any time, as
long as none would go negative as a result. 
</p>
<p><b>See also:</b><br><a href="include.player_shop.h.shtml">/include/player_shop.h</a>, <a href="std.shops.player_shop.office.c.shtml">/std/shops/player_shop/office.c</a>, <a href="std.shops.player_shop.counter.c.shtml">/std/shops/player_shop/counter.c</a>, <a href="std.shops.player_shop.storeroom.c.shtml">/std/shops/player_shop/storeroom.c</a>, <a href="std.shops.player_shop.shop_front.c.shtml">/std/shops/player_shop/shop_front.c</a> and <a href="std.shops.player_shop.shopkeeper.c.shtml">/std/shops/player_shop/shopkeeper.c</a><p>Written by Ringo<p>Started 1st August 1999
<h3>Example</h3>
<pre>#include "path.h"

inherit "/std/shops/player_shop/mgr_office";

void setup()
{
   set_light(60);
   set_office( PATH+ "office" );

   set_short( "Tarnach Fendertwin's office" );
   set_long( "This room is the office of Tarnach Fendertwin himself.  "
    "Since he rarely visits this branch of the chain, it is more "
     "commonly used by the shop's managers.\n" );
   add_exit( "north", PATH +"office", "door" );
}
</pre>
<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 /include/shops/bank.h, <a href="include.money.h.shtml">/include/money.h</a>, <a href="include.move_failures.h.shtml">/include/move_failures.h</a>, <a href="include.player_shop.h.shtml">/include/player_shop.h</a>, <a href="include.mail.h.shtml">/include/mail.h</a> and /std/shops/player_shop/patterns.h<h2>Method index</h2>
<dl><ul>
<li><a href="#set_office">set_office</a>(string)<br/>
Set the path of the main office.
</ul><h2>Protected Functions</h2>
These are functions that only objects inheriting the class can access.<p>
<ul><a name="set_office">
set_office</a><pre>
void set_office(string path)
</pre></br>
Set the path of the main office.
<br/><ul>
<li><b>Parameters:</b>
<br/>path - The full path & filename.

<li><b>Example:</b>
<br/><pre>set_office( PATH+ "office" );</pre></dl>


[an error occurred while processing this directive]

