Aantioch_Infernum/_module/nss/door_night_lock.nss

18 lines
180 B
Plaintext
Raw Permalink Normal View History

2023-08-08 16:22:17 -04:00
//Put this Onheartbeat of door
void main()
{
object oTarget = OBJECT_SELF;
if (GetIsNight()== TRUE)
{
SetLocked(oTarget, TRUE);
}
else
{
SetLocked(oTarget, FALSE);
}
}