Amon_PRC8/_module/nss/kvalve4.nss
Jaysyn904 c5cffc37af Initial Commit
Initial Commit [v1.01]
2025-04-03 19:00:46 -04:00

16 lines
341 B
Plaintext

void main()
{
AssignCommand(OBJECT_SELF, PlaySound("as_cv_winch1"));
if (GetLocalInt(GetModule(),"KValves")==3)
{
SetLocalInt(GetModule(),"KValves",4);
object oDoor1 = GetObjectByTag("WaterTrapDoor");
DelayCommand(3.0, SetLocked (oDoor1, FALSE));
DelayCommand(3.0, ActionOpenDoor(oDoor1));
}
else
{
SetLocalInt(GetModule(),"KValves",5);
}
}