.. default-domain:: py .. highlight:: py .. currentmodule:: KerbalAlarmClock Service ======= .. module:: KerbalAlarmClock Provides functionality to interact with Kerbal Alarm Clock. .. attribute:: available Whether Kerbal Alarm Clock is available. :Attribute: Read-only, cannot be set :rtype: bool .. attribute:: alarms A list of all the alarms. :Attribute: Read-only, cannot be set :rtype: list(:class:`Alarm`) :Game Scenes: Space Center, Flight, Tracking Station, Editor Vab, Editor Sph, Astronaut Complex, Mission Control, Research And Development, Administration .. staticmethod:: alarm_with_name(name) Get the alarm with the given *name*, or ``None`` if no alarms have that name. If more than one alarm has the name, only returns one of them. :param str name: Name of the alarm to search for. :rtype: :class:`Alarm` or None :Game Scenes: Space Center, Flight, Tracking Station, Editor Vab, Editor Sph, Astronaut Complex, Mission Control, Research And Development, Administration .. staticmethod:: alarms_with_type(type) Get a list of alarms of the specified *type*. :param AlarmType type: Type of alarm to return. :rtype: list(:class:`Alarm`) :Game Scenes: Space Center, Flight, Tracking Station, Editor Vab, Editor Sph, Astronaut Complex, Mission Control, Research And Development, Administration .. staticmethod:: create_alarm(type, name, ut) Create a new alarm and return it. :param AlarmType type: Type of the new alarm. :param str name: Name of the new alarm. :param float ut: Time at which the new alarm should trigger. :rtype: :class:`Alarm` :Game Scenes: Space Center, Flight, Tracking Station, Editor Vab, Editor Sph, Astronaut Complex, Mission Control, Research And Development, Administration