Added NWN Dark Sun module contents
Added NWN Dark Sun module contents.
This commit is contained in:
13
nwnds_module/ds_merchdoors.nss
Normal file
13
nwnds_module/ds_merchdoors.nss
Normal file
@@ -0,0 +1,13 @@
|
||||
void main()
|
||||
{
|
||||
if (GetIsNight())
|
||||
{
|
||||
ActionCloseDoor(OBJECT_SELF);
|
||||
ActionSpeakString("This door is locked. A sign on the door says, 'Closed for the night.'");
|
||||
return;
|
||||
}
|
||||
|
||||
else
|
||||
DelayCommand(20.0,ActionCloseDoor(OBJECT_SELF));
|
||||
return;
|
||||
}
|
Reference in New Issue
Block a user