Initial commit

Initial commit
This commit is contained in:
Jaysyn904
2024-09-13 09:10:39 -04:00
parent 09dc8aec92
commit d1c309ae63
8437 changed files with 8727659 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
/* Script generated by
Lilac Soul's NWN Script Generator, v. 2.3
For download info, please visit:
http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625 */
//Goes on creature's OnHeartbeat. Fires when not fighting or talking.
void main()
{
int DoOnce = GetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF));
if (DoOnce==TRUE) return;
SetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF), TRUE);
SetLocalInt(OBJECT_SELF, "iLocked", GetLocked(OBJECT_SELF));
SetLocalInt(OBJECT_SELF, "iLockDC", GetLockLockDC(OBJECT_SELF));
SetLocalInt(OBJECT_SELF, "iLockUnlockDC", GetLockUnlockDC(OBJECT_SELF));
SetLocalInt(OBJECT_SELF, "iLockKeyRequired", GetLockKeyRequired(OBJECT_SELF));
SetLocalInt(OBJECT_SELF, "iLockLockable", GetLockLockable(OBJECT_SELF));
SetLocalString(OBJECT_SELF, "sLockKeyTag", GetLockKeyTag(OBJECT_SELF));
SetLocalInt(OBJECT_SELF, "iIsTrapped", GetIsTrapped(OBJECT_SELF));
SetLocalInt(OBJECT_SELF, "iTrapActive", GetTrapActive(OBJECT_SELF));
SetLocalInt(OBJECT_SELF, "iTrapBaseType", GetTrapBaseType(OBJECT_SELF));
if (!GetTrapActive(OBJECT_SELF) == TRUE)
SetLocalInt(OBJECT_SELF, "iTrapBaseType", -1);
SetLocalInt(OBJECT_SELF, "iTrapDetectable", GetTrapDetectable(OBJECT_SELF));
SetLocalInt(OBJECT_SELF, "iTrapDetectDC", GetTrapDetectDC(OBJECT_SELF));
SetLocalInt(OBJECT_SELF, "iTrapDisarmable", GetTrapDisarmable(OBJECT_SELF));
SetLocalInt(OBJECT_SELF, "iTrapDisarmDC", GetTrapDisarmDC(OBJECT_SELF));
SetLocalInt(OBJECT_SELF, "iTrapFlagged", GetTrapFlagged(OBJECT_SELF));
SetLocalString(OBJECT_SELF, "sTrapKeyTag", GetTrapKeyTag(OBJECT_SELF));
SetLocalInt(OBJECT_SELF, "iTrapOneShot", GetTrapOneShot(OBJECT_SELF));
SetLocalInt(OBJECT_SELF, "iTrapRecoverable", GetTrapRecoverable(OBJECT_SELF));
}