local gettext = require("i_18n")
_ = gettext.translate

device_timer_dt		= 0.01

HYD_PUMP_1_FAIL_025 = 1
HYD_PUMP_1_FAIL_050 = 2
HYD_PUMP_1_FAIL_075 = 3
HYD_PUMP_1_FAIL_100 = 4
HYD_PUMP_2_FAIL_025 = 5
HYD_PUMP_2_FAIL_050 = 6
HYD_PUMP_2_FAIL_075 = 7
HYD_PUMP_2_FAIL_100 = 8
HYD_PUMP_3_FAIL_100 = 9

Damage = {	
	-- Hydraulic System
	{Failure = HYD_PUMP_1_FAIL_025,  Failure_name = "HYD_PUMP_1_FAIL_025",  Failure_editor_name = _("Hydraulic Pump 1 Failure 25%"),     Element = -1, Integrity_Treshold = 0.0, work_time_to_fail_probability = 0.5, work_time_to_fail = 3600*300},
	{Failure = HYD_PUMP_1_FAIL_050,  Failure_name = "HYD_PUMP_1_FAIL_050",  Failure_editor_name = _("Hydraulic Pump 1 Failure 50%"),     Element = -1, Integrity_Treshold = 0.0, work_time_to_fail_probability = 0.5, work_time_to_fail = 3600*300},
	{Failure = HYD_PUMP_1_FAIL_075,  Failure_name = "HYD_PUMP_1_FAIL_075",  Failure_editor_name = _("Hydraulic Pump 1 Failure 75%"),     Element = -1, Integrity_Treshold = 0.0, work_time_to_fail_probability = 0.5, work_time_to_fail = 3600*300},
	{Failure = HYD_PUMP_1_FAIL_100,  Failure_name = "HYD_PUMP_1_FAIL_100",  Failure_editor_name = _("Hydraulic Pump 1 Failure 100%"),    Element = -1, Integrity_Treshold = 0.0, work_time_to_fail_probability = 0.5, work_time_to_fail = 3600*300},
	{Failure = HYD_PUMP_2_FAIL_025,  Failure_name = "HYD_PUMP_2_FAIL_025",  Failure_editor_name = _("Hydraulic Pump 2 Failure 25%"),     Element = -1, Integrity_Treshold = 0.0, work_time_to_fail_probability = 0.5, work_time_to_fail = 3600*300},
	{Failure = HYD_PUMP_2_FAIL_050,  Failure_name = "HYD_PUMP_2_FAIL_050",  Failure_editor_name = _("Hydraulic Pump 2 Failure 50%"),     Element = -1, Integrity_Treshold = 0.0, work_time_to_fail_probability = 0.5, work_time_to_fail = 3600*300},
	{Failure = HYD_PUMP_2_FAIL_075,  Failure_name = "HYD_PUMP_2_FAIL_075",  Failure_editor_name = _("Hydraulic Pump 2 Failure 75%"),     Element = -1, Integrity_Treshold = 0.0, work_time_to_fail_probability = 0.5, work_time_to_fail = 3600*300},
	{Failure = HYD_PUMP_2_FAIL_100,  Failure_name = "HYD_PUMP_2_FAIL_100",  Failure_editor_name = _("Hydraulic Pump 2 Failure 100%"),    Element = -1, Integrity_Treshold = 0.0, work_time_to_fail_probability = 0.5, work_time_to_fail = 3600*300},
	{Failure = HYD_PUMP_3_FAIL_100,  Failure_name = "HYD_PUMP_3_FAIL_100",  Failure_editor_name = _("Hydraulic Emergency Pump Failure"), Element = -1, Integrity_Treshold = 0.0, work_time_to_fail_probability = 0.5, work_time_to_fail = 3600*300},
	}

need_to_be_closed = true
