3 override void CreateActionComponent()
31 PluginRepairing moduleRepairing;
33 Blowtorch bt = Blowtorch.Cast(item);
35 return bt.HasEnoughEnergyForRepair(
UATimeSpent.BASEBUILDING_REPAIR_MEDIUM) && moduleRepairing && moduleRepairing.CanRepair(item, target.GetObject());
40 super.OnStartAnimationLoopServer(action_data);
42 action_data.m_MainItem.GetCompEM().SwitchOn();
47 super.OnFinishProgressServer(action_data);
52 PluginRepairing moduleRepairing;
54 moduleRepairing.Repair(action_data.m_Player, action_data.m_MainItem, targetItem,
m_SpecialtyWeight);
57 action_data.m_MainItem.GetCompEM().SwitchOff();
62 super.OnEndServer(action_data);
64 action_data.m_MainItem.GetCompEM().SwitchOff();