90 {
93
94 string damageZone = RepairTentActionData.Cast(action_data).m_DamageZone;
95 if (!
g_Game.IsMultiplayer())
97
98 if ( targetParent && targetParent.IsInherited(TentBase) && damageZone != "" )
99 {
100 TentBase tent = TentBase.Cast( targetParent );
101 PluginRepairing module_repairing;
102 Class.CastTo(module_repairing,
GetPlugin(PluginRepairing));
103
106 }
107 }
PluginBase GetPlugin(typename plugin_type)
ref ActionTarget m_Target
void RepairDamageTransfer(PlayerBase player, ItemBase repair_kit, ItemBase item, float specialty_weight, string damage_zone="")
string m_CurrentDamageZone