Initial upload
Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
This commit is contained in:
36
_module/nss/jw_lowyaswar_e.nss
Normal file
36
_module/nss/jw_lowyaswar_e.nss
Normal file
@@ -0,0 +1,36 @@
|
||||
void main()
|
||||
{
|
||||
{
|
||||
object oObject = GetFirstObjectInArea();
|
||||
int nPCinArea=FALSE;
|
||||
location lLoc;
|
||||
|
||||
|
||||
while (GetIsObjectValid(oObject))
|
||||
{
|
||||
if (GetIsPC(oObject))
|
||||
{
|
||||
nPCinArea = TRUE;
|
||||
}
|
||||
oObject=GetNextObjectInArea();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if (nPCinArea != TRUE)
|
||||
{
|
||||
//SetLocalInt(GetObjectByTag("jw_fir2_platet"),"trapped",TRUE);
|
||||
SetLocalInt(GetObjectByTag("jw_fir2"),"Reset",1);
|
||||
|
||||
|
||||
if (!GetIsObjectValid(GetObjectByTag("jw_wrong_barrel")))
|
||||
{
|
||||
CreateObject(OBJECT_TYPE_PLACEABLE,"jw_wrong_barrel",GetLocation(GetObjectByTag("jw_wrong_barrel_wp")));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user