init()
{
    /* if too many creatures are in here (EXCEPT WIZARDS)
     * we bust their asses out!
     */
    if(this_player() &&
       room() &&
       !safely_occupied())
    {
        tell_object(this_player(), "There are too many people inside " +
            this_object()->query_alias() + "!\nYou are booted out!\n");
        tell_outside(this_player()->query_name() + " arrives, flying out of the " + this_object()->query_alias() + "!\n");
        move_object(this_player(), room());
        tell_inside(this_player()->query_name() + " cannot fit onboard and leaves falling out.\n");
        return 1;
    }

    /* call our super */
    ::init();



}




safely_occupied()
{
    object ob;
    int i;

    /* reset */
    i = 0;

    /* if max occupants isnt set, we return okay by default. */
    if(!maximum_occupants) return 1;

    /* wizards are ok by default */
    else if(this_player() && this_player()->query_level() >= 21) return 1;

    else if(this_player())
    {
        /* count up our livings */
        ob = first_inventory(this_object());
        while(ob)
        {
            if(living(ob)) i++;
            ob = next_inventory(ob);
        }

        if(i >= maximum_occupants)
            return 0;
        else return 1;
    }
    else return 0;
}
/* end function safely_occupied() */


