[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 /obj/handlers/special_day.c</h2>
Handle all the special day things.  Like beards and such like.<p>Written by Pinkfish (changed into a handler by Ceres)
<h2>Includes</h2>
This class includes the following files /include/special_day.h, /include/player_handler.h, /include/move_failures.h, /include/login_handler.h and /include/armoury.h<h2>Method index</h2>
<ul>
<li><a href="#am_day_stuff">am_day_stuff</a>(object)<br/>
These ones are Discworld calendar special days.
<li><a href="#birthday_gifts">birthday_gifts</a>(object)<br/>
Check to see if it is there birthday.
<li><a href="#entering">entering</a>(string, string)<br/>
Called by the login handler for each player who enters the game.
<li><a href="#is_special_day_at_time">is_special_day_at_time</a>(int)<li><a href="#query_special_day">query_special_day</a>()<br/>
If it is a special day, return the type of special day.
<li><a href="#real_day_stuff">real_day_stuff</a>(object)<br/>
These are special days which occur based on the real world calendar.
</ul>
<h2>Public Functions</h2>
These are functions that everyone can access.<p>
<dl>
<dt class="autodocfuncname"><a name="am_day_stuff">
am_day_stuff</a><pre class="autodocfuncdef">
void am_day_stuff(object who)
</pre><dd><br />
These ones are Discworld calendar special days. This bit was written
by Deutha.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
who - the person logging in
<br />
<br />
<br /></dl>

<dt class="autodocfuncname"><a name="birthday_gifts">
birthday_gifts</a><pre class="autodocfuncdef">
void birthday_gifts(object who)
</pre><dd><br />
Check to see if it is there birthday.  This was wrtitten by Bil.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
who - the person who might have abirthday
<br />
<br />
<br /></dl>

<dt class="autodocfuncname"><a name="entering">
entering</a><pre class="autodocfuncdef">
void entering(string p_name,
              string type)
</pre><dd><br />
Called by the login handler for each player who enters the game.  This
does all the required testing for the various types of special
days, like birthday, real day stuff and am day stuff.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
p_name - the player entering<br />
the - type of entering
<br />
<br />
<br /></dl>

<dt class="autodocfuncname"><a name="is_special_day_at_time">
is_special_day_at_time</a><pre class="autodocfuncdef">
string is_special_day_at_time(int t)
</pre>
<dt class="autodocfuncname"><a name="query_special_day">
query_special_day</a><pre class="autodocfuncdef">
string query_special_day()
</pre><dd><br />
If it is a special day, return the type of special day.<br />
<br /><dl>
<dd><b>Returns:</b>
<br />the name of the special day, or 0 if it is not a special day
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="real_day_stuff">
real_day_stuff</a><pre class="autodocfuncdef">
void real_day_stuff(object who)
</pre><dd><br />
These are special days which occur based on the real world calendar.
This bit was written by Pinkfish<br />
<br /><dl>
<dd><b>Parameters:</b><br />
who - the person who is logging on
<br />
<br />
<br /></dl>

</dl>
[an error occurred while processing this directive]

