Further file organization
Further file organization
This commit is contained in:
22
nwn/nwnprc/trunk/scripts/fdisk_onconv.nss
Normal file
22
nwn/nwnprc/trunk/scripts/fdisk_onconv.nss
Normal file
@@ -0,0 +1,22 @@
|
||||
#include "nw_i0_generic"
|
||||
|
||||
void main()
|
||||
{
|
||||
int nMatch = GetListenPatternNumber();
|
||||
object oDisk = OBJECT_SELF;
|
||||
object oShouter = GetLastSpeaker();
|
||||
|
||||
if(nMatch == -1)
|
||||
{
|
||||
// Not a match -- start an ordinary conversation
|
||||
if(GetCommandable(oDisk))
|
||||
{
|
||||
ClearActions(CLEAR_NW_C2_DEFAULT4_29);
|
||||
BeginConversation();
|
||||
}
|
||||
}
|
||||
else if(nMatch == ASSOCIATE_COMMAND_INVENTORY)
|
||||
{
|
||||
OpenInventory(oDisk, oShouter);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user