Kerbal Alarm Clock#
Provides functionality to interact with the Kerbal Alarm Clock mod. Tested with Kerbal Alarm Clock 3.14.2.7. Provides the following classes:
Example#
The following example creates a new alarm for the active vessel. The alarm is set to trigger after 10 seconds have passed, and display a message.
import krpc
conn = krpc.connect(name="Kerbal Alarm Clock Example")
alarm = conn.kerbal_alarm_clock.create_alarm(
conn.kerbal_alarm_clock.AlarmType.raw,
"My New Alarm",
conn.space_center.ut + 10,
)
alarm.notes = "10 seconds have now passed since the alarm was created."
alarm.action = conn.kerbal_alarm_clock.AlarmAction.message_only