******************************************************************************
File Name   : glad_license.txt
Description : Glad license version 2.
******************************************************************************
Copyright 2000-2001 Richard Woolcock.  All rights reserved.  This document may
be copied and distributed, but not modified or appended to in any way.
******************************************************************************

Having spent many hours developing the Glad codebase, I'd now like to share it 
with others so that they can expand on what I've done.  Although very basic in 
terms of features, Glad is relatively clean and well documented, and provides 
a solid framework upon which to build a game.  There are no restrictions in 
terms of commercial use - how you run the game is your own concern, not mine.  
What I am concerned about, however, is giving credit where it is due.  The 
general gist of this license is therefore:

1. Give me credit for my work.

2. Label your own changes (so that I am not mistakenly given credit for them).

3. Don't call your derivative "Glad x.y" (otherwise people will mistake it as 
   one of my releases).

You may add your own licenses, but you may not remove any licenses which have 
been added for previous derivatives (including, but not limited to, the Glad 
license itself).

******************************************************************************
Definition of terms
******************************************************************************

1. The term "you" refers to the licensee.

2. The term "Codebase" refers to any part of the official distribution.

3. The term "MUD" may refer to either the Codebase itself, or to any of it's 
   derivative works under copyright law (including but not limited to any MUD 
   which contains the Codebase or a portion of it, either copied exactly or 
   with modifications and/or converted to another programming language).

4. The term "player" refers to anyone connecting or connected to a running 
   MUD, either locally or remotely.

******************************************************************************
Terms and Conditions
******************************************************************************

1. This license applies to any file which contains a notice placed by the 
   copyright holder stating that it is distributed under the Glad license.

2. You may copy and distribute exact copies of the Codebase provided that all 
   copyright notices and references to this license remain intact and 
   unmodified in any way.  You must also include a copy of this license with 
   your distribution.

3. You may use the Codebase or MUD derived from it as long as you adhere to all 
   of the following conditions:

   a) The "glad" help file must be available at all times to any player who 
      types "help glad".  It shall display the appropriate copyright notice 
      exactly as provided with the Codebase distribution, with no further 
      modifications or additions other than might be reasonably expected for 
      formatting purposes.

   b) You must have a "credits" command which is available to every player and 
      which displays the following:

      Based on the Glad codebase by Richard Woolcock (aka KaVir).  See 'help glad'.

      You may list your own credits AFTER the above line, but must not change 
      the line itself, nor add anything before it.

   c) If you are running a Diku MUD derivative and wish to incorporate any or 
      all of the Codebase into it, then section 3.b (above) shall not apply.  
      You will now be bound by both the Diku license and the Glad license.

4. You may modify a copy of the MUD or any portion of it - thus creating a 
   derivative work based upon the MUD - and copy and distribute such work 
   under the terms and conditions of section 2, provided that each modified 
   file contains an appropriate notice stating that you changed that file.  
   In addition, the MUD must - when compiled and used "as is" - adhere to 
   all terms and conditions specified within this license.  Finally, if you 
   create a new MUD derivative, it must not contain the text "Glad" within 
   it's title or distribution filename.

5. If you contribute independent files which contain no dependancies upon - or 
   work derived from - the Codebase, then these are considered separate works 
   and fall outside the scope of this license.  When distributed as part of a 
   whole which is a work based upon the Codebase, however, this license applies 
   to the overall amalgamation of works.  If this license is not compatible 
   with the license of other works then those works shall not be amalgamated.

6. You shall not use, copy, modify or distribute the MUD or any portion of 
   it except as provided under this license.  Any attempt to do so will 
   automatically terminate your rights under this license.  Any other 
   licensees who have received copies or rights from you under this license 
   will not have their licenses terminated so long as they remain in full 
   compliance with all portions of this license.

7. This Codebase is provided "as is" without warranty of any kind, either 
   expressed or implied.  By using this Codebase you accept any and all 
   risks associated with it.

8. If any portion of this license is deemed invalid or unenforceable as a 
   consequence of a court judgment, the remaining portions of the license 
   shall still apply.

9. By using, copying, modifying or distributing the MUD you indicate your 
   acceptance of this license, along with all of its terms and conditions.