Initial commit
Initial commit. Updated release archive.
This commit is contained in:
19
_module/nss/en_oneliner.nss
Normal file
19
_module/nss/en_oneliner.nss
Normal file
@@ -0,0 +1,19 @@
|
||||
#include "NW_I0_GENERIC"
|
||||
|
||||
int StartingConditional()
|
||||
{
|
||||
if(GetSpawnInCondition(NW_FLAG_SPECIAL_CONVERSATION))
|
||||
{
|
||||
if(!GetIsObjectValid(GetPCSpeaker()))
|
||||
{
|
||||
if (GetLocalInt(OBJECT_SELF,"OneLiner") == 0)
|
||||
{
|
||||
SetLocalInt(OBJECT_SELF,"OneLiner",1);
|
||||
SetSpawnInCondition(NW_FLAG_SPECIAL_CONVERSATION,FALSE);
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user