using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Sandbox.ModAPI; using VRage.Collections; using VRage.Game; using VRage.Game.Components; using VRage.ModAPI; using Sandbox.Game.Entities; using VRageMath; using VRage.Utils; using VRage.Game.ModAPI.Ingame.Utilities; using Sandbox.ModAPI.Interfaces.Terminal; namespace bug_test { // mission block [MyEntityComponentDescriptor(typeof(MyObjectBuilder_BasicMissionBlock), false)] public class mission_test : MyGameLogicComponent { public override void Init(MyObjectBuilder_EntityBase objectBuilder) { MyAPIGateway.Utilities.ShowMessage("missionblock", "success"); } } // custom turret [MyEntityComponentDescriptor(typeof(MyObjectBuilder_TurretControlBlock), false)] public class turret_test : MyGameLogicComponent { public override void Init(MyObjectBuilder_EntityBase objectBuilder) { MyAPIGateway.Utilities.ShowMessage("turretblock", "success"); } } }