Aantioch_Infernum/_module/nss/door_night_lock.nss
Jaysyn904 22947ad4b6 Initial Upload
Initial Upload
2023-08-08 16:22:17 -04:00

18 lines
180 B
Plaintext

//Put this Onheartbeat of door
void main()
{
object oTarget = OBJECT_SELF;
if (GetIsNight()== TRUE)
{
SetLocked(oTarget, TRUE);
}
else
{
SetLocked(oTarget, FALSE);
}
}