Added NWN Dark Sun module contents

Added NWN Dark Sun module contents.
This commit is contained in:
Jaysyn904
2021-07-12 21:24:46 -04:00
parent 556224a658
commit de24f81734
10609 changed files with 146652 additions and 0 deletions

28
nwnds_module/dhd_use.nss Normal file
View File

@@ -0,0 +1,28 @@
//******************************************************************************
//* stargatish portal script put on_open for dhd
//* written by BWW aka Lord Nikon
//* 12/05/04
//* Places the Dialup Runes into the inventory and resets the code
//******************************************************************************
void main()
{
object oPC = GetLastOpenedBy();
object oSelf = OBJECT_SELF;
string sTagSelf = GetTag(oSelf);
string sCode = "";
SetCampaignString("SPENCER","sCode",sCode,oPC); // initialize portal code to null
CreateItemOnObject("a_rune",OBJECT_SELF,1); //A rune
CreateItemOnObject("a_rune001",OBJECT_SELF,1); //B rune
CreateItemOnObject("a_rune002",OBJECT_SELF,1); //C rune
CreateItemOnObject("a_rune003",OBJECT_SELF,1); //D rune
CreateItemOnObject("a_rune004",OBJECT_SELF,1); //E rune
CreateItemOnObject("a_rune005",OBJECT_SELF,1); //F rune
CreateItemOnObject("a_rune006",OBJECT_SELF,1); //G rune
CreateItemOnObject("a_rune007",OBJECT_SELF,1); //Motis trigger
}