Initial upload
Initial upload
This commit is contained in:
57
_module/nss/afx_mod_spawn.nss
Normal file
57
_module/nss/afx_mod_spawn.nss
Normal file
@@ -0,0 +1,57 @@
|
||||
// Modified by AW Olorin on 6-11-2004
|
||||
// Added Module Version string Constant
|
||||
// Added Announcement period Constant (How many HB's between announcemnts)
|
||||
|
||||
#include "afx_sfunc"
|
||||
|
||||
const string POA_VERSION = "This server is running PoA version 1.3.5";
|
||||
const int ANNOUNCE_PERIOD = 600;
|
||||
void main() {
|
||||
|
||||
// each area affected must be tagged and bagged then place the enter and exit scripts in each area.
|
||||
object oArea002 = GetObjectByTag("CavernsofUnderdark");
|
||||
SetLocalInt(oArea002,"afx_flags",AFX_FLAG_DARK);
|
||||
|
||||
object oArea003 = GetObjectByTag("DrowSewers");
|
||||
SetLocalInt(oArea003,"afx_flags",AFX_FLAG_DARK);
|
||||
|
||||
object oArea004 = GetObjectByTag("HouseFenLiss");
|
||||
SetLocalInt(oArea004,"afx_flags",AFX_FLAG_DARK);
|
||||
|
||||
object oArea005 = GetObjectByTag("housedenat");
|
||||
SetLocalInt(oArea005,"afx_flags",AFX_FLAG_DARK);
|
||||
|
||||
object oArea006 = GetObjectByTag("HermitsDen");
|
||||
SetLocalInt(oArea002,"afx_flags",AFX_FLAG_DARK);
|
||||
|
||||
object oArea007 = GetObjectByTag("Manatakloss");
|
||||
SetLocalInt(oArea007,"afx_flags",AFX_FLAG_DARK);
|
||||
|
||||
object oArea008 = GetObjectByTag("DrowSlum1");
|
||||
SetLocalInt(oArea008,"afx_flags",AFX_FLAG_DARK);
|
||||
|
||||
object oArea009 = GetObjectByTag("DrowSlum2");
|
||||
SetLocalInt(oArea009,"afx_flags",AFX_FLAG_DARK);
|
||||
|
||||
object oArea010 = GetObjectByTag("DrowSlum3");
|
||||
SetLocalInt(oArea010,"afx_flags",AFX_FLAG_DARK);
|
||||
|
||||
object oArea011 = GetObjectByTag("DrowArcaneAcademy");
|
||||
SetLocalInt(oArea011,"afx_flags",AFX_FLAG_DARK);
|
||||
|
||||
object oArea012 = GetObjectByTag("HouseGuratsz");
|
||||
SetLocalInt(oArea012,"afx_flags",AFX_FLAG_DARK);
|
||||
|
||||
object oArea013 = GetObjectByTag("HouseKhuraan");
|
||||
SetLocalInt(oArea013,"afx_flags",AFX_FLAG_DARK);
|
||||
|
||||
object oArea014 = GetObjectByTag("QueensPalace");
|
||||
SetLocalInt(oArea014,"afx_flags",AFX_FLAG_DARK);
|
||||
|
||||
object oArea015 = GetObjectByTag("PalaceVault");
|
||||
SetLocalInt(oArea015,"afx_flags",AFX_FLAG_DARK);
|
||||
|
||||
SetLocalString(GetModule(),"Version",POA_VERSION);
|
||||
SetLocalInt(GetModule(),"iAnnounce_Period",ANNOUNCE_PERIOD);
|
||||
|
||||
}
|
Reference in New Issue
Block a user