Scriptname MS37GladeDoorScript
begin OnActivate
if ( IsActionRef Player ) == 1
if ( GetStage MS37 >= 10 ) && ( GetStage MS37 < 70 ) && ( Player.GetItemCount MS37FrostSalts == 1 )
Player.RemoveItem MS37FrostSalts 1
Unlock
Activate
elseif ( GetStage MS37 >= 70 )
Activate
else
Messagebox "This door cannot be opened."
endif
endif
endif
end |