NWNDS/nwnds_module/ds_merchdoors.nss
Jaysyn904 de24f81734 Added NWN Dark Sun module contents
Added NWN Dark Sun module contents.
2021-07-12 21:24:46 -04:00

14 lines
343 B
Plaintext

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;
}