Areas and Fixes
Added CCOH and missing areas Changed some areas to be craftable, Fixed some on death issues, Fixed the Gaurd
This commit is contained in:
42
_module/nss/sloddoor1lifesha.nss
Normal file
42
_module/nss/sloddoor1lifesha.nss
Normal file
@@ -0,0 +1,42 @@
|
||||
/* Script generated by
|
||||
Lilac Soul's NWN Script Generator, v. 2.2
|
||||
|
||||
For download info, please visit:
|
||||
http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625 */
|
||||
|
||||
//Put this script OnClick or OnFailToOpen
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetClickingObject();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
object oItem;
|
||||
oItem = GetItemPossessedBy(oPC, "lifeshard1");
|
||||
|
||||
if (GetIsObjectValid(oItem))
|
||||
DestroyObject(oItem);
|
||||
|
||||
oItem = GetItemPossessedBy(oPC, "lifeshard2");
|
||||
|
||||
if (GetIsObjectValid(oItem))
|
||||
DestroyObject(oItem);
|
||||
|
||||
oItem = GetItemPossessedBy(oPC, "lifeshard3");
|
||||
|
||||
if (GetIsObjectValid(oItem))
|
||||
DestroyObject(oItem);
|
||||
|
||||
oItem = GetItemPossessedBy(oPC, "lifeshard4");
|
||||
|
||||
if (GetIsObjectValid(oItem))
|
||||
DestroyObject(oItem);
|
||||
|
||||
object oTarget;
|
||||
oTarget = GetObjectByTag("lightningdoor");
|
||||
|
||||
SetLocked(oTarget, FALSE);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user