Service#
Provides functionality to interact with Kerbal Alarm Clock.
- available#
Whether Kerbal Alarm Clock is available.
- Attribute:
Read-only, cannot be set
- Return type:
bool
- alarms#
A list of all the alarms.
- Attribute:
Read-only, cannot be set
- Return type:
list(
Alarm)- Game Scenes:
Space Center, Flight, Tracking Station, Editor Vab, Editor Sph, Astronaut Complex, Mission Control, Research And Development, Administration
- static alarm_with_name(name)#
Get the alarm with the given name, or
Noneif no alarms have that name. If more than one alarm has the name, only returns one of them.- Parameters:
name (str) – Name of the alarm to search for.
- Return type:
Alarmor None- Game Scenes:
Space Center, Flight, Tracking Station, Editor Vab, Editor Sph, Astronaut Complex, Mission Control, Research And Development, Administration
- static alarms_with_type(type)#
Get a list of alarms of the specified type.
- static create_alarm(type, name, ut)#
Create a new alarm and return it.
- Parameters:
type (AlarmType) – Type of the new alarm.
name (str) – Name of the new alarm.
ut (float) – Time at which the new alarm should trigger.
- Return type:
- Game Scenes:
Space Center, Flight, Tracking Station, Editor Vab, Editor Sph, Astronaut Complex, Mission Control, Research And Development, Administration