Now:
override string GetAdminLogMessage(ActionData action_data) { return " built " + action_data.m_Target.GetObject().GetDisplayName() + " with " + action_data.m_MainItem.GetDisplayName(); }
Please add some info about part of object like this:
override string GetAdminLogMessage(ActionData action_data) { string part_name = BuildPartActionData.Cast(action_data).m_PartType; return " built " + part_name + " a part of " + action_data.m_Target.GetObject().GetDisplayName() + " with " + action_data.m_MainItem.GetDisplayName(); }
But change part_name to construction_part.GetName()