INTRODUCTION

This Funeral Quest modification adds a new event, the Black Cat, to 
scripted events.  When the event occurs, players with luck scores over 75
will lose 1/3 of their total luck.  Nothing happens to players without 
the minimum threshold of luck. 


INSTALLATION

This archive should be unpacked in the folder that Funeral Quest 
installed to.  Typically, that folder is C:\Program Files\FQServer. 
Once unpacked, the black_cat.c file will be put into script\events.

YOU MUST NOW MODIFY script\script_event.c BY HAND.

Briefly, script_event.c only has one function Main() and it picks a
number between 1 and N (where the factory default is 2).  To add the 
black cat event, change this line:

    int i_random = RandomRange(1,2); 

to this:

    int i_random = RandomRange(1,3);


Now add this line just below the last if () block:

    if (i_random == 3)
    {
       RunScriptNoReturn("script/events/black_cat.c");
    } 


If you have other FQ mods, your script_event.c may be different. 

AUTHOR

This modification was written by Joe Johnston <jjohn@taskboy.com> as 
part of the effort to document the FQ Scripting Environment.  

NO WARRANTY FOR THIS SOFTWARE IS EXPRESSED OR IMPLIED.  USE IT AT 
YOUR OWN RISK. 