Initial commit

Initial commit.
This commit is contained in:
Jaysyn904
2024-08-02 23:18:00 -04:00
parent 779bee26ec
commit adeff59f82
3413 changed files with 2837434 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
/* Script generated by
Lilac Soul's NWN Script Generator, v. 2.1
For download info, please visit:
http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625 */
//Put this OnEnter
void main()
{
object oPC = GetEnteringObject();
int iSleep = GetLocalInt( oPC,"sleep");
//if (!GetIsPC(oPC)) return;
object oTarget;
oTarget = oPC;
if ( iSleep <= 3 )
{
effect eEffect;
eEffect = EffectSleep();
SetLocalInt( oPC,"sleep",iSleep++);
FloatingTextStringOnCreature("The forest makes you feel sleepy.",oPC);
DelayCommand(6.0f,ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 12.0f));
}
}