public MassGiverVanilla(ModCreateSegmentEntityParameters parameters) : base(parameters) { maxItems = 1; droneSpeed = 1; batch = 1; drone = new DroneComputer(droneSpeed); droneColor = Color.white; }
public MassGiverMk2(ModCreateSegmentEntityParameters parameters) : base(parameters) { maxItems = 5; droneSpeed = 3; batch = 5; drone = new DroneComputer(droneSpeed); droneColor = new Color(48 / 256f, 135 / 256f, 223 / 256f); droneSize = new Vector3(1.1f, 1.1f, 1.1f); }
public MassGiverMk3(ModCreateSegmentEntityParameters parameters) : base(parameters) { maxItems = 30; droneSpeed = 2; batch = 30; drone = new DroneComputer(droneSpeed); droneColor = new Color(20 / 256f, 42 / 256f, 204 / 256f); droneSize = new Vector3(1.4f, 1.4f, 1.4f); }
public MassTakerMk1(ModCreateSegmentEntityParameters parameters) : base(parameters) { maxItems = 5; droneSpeed = 1; batch = 5; drone = new DroneComputer(droneSpeed); droneColor = new Color(77 / 256f, 214 / 256f, 31 / 256f); droneSize = new Vector3(1.2f, 1.2f, 1.2f); }
public MassGiverMk4(ModCreateSegmentEntityParameters parameters) : base(parameters) { maxItems = 10; droneSpeed = 5; batch = 10; drone = new DroneComputer(droneSpeed); droneColor = new Color(102 / 256f, 50 / 256f, 159 / 256f); droneSize = new Vector3(1f, 1f, 1f); currentPower = 0; powerPerJump = 256; maxPower = powerPerJump * 10; }
public MassTakerMk5(ModCreateSegmentEntityParameters parameters) : base(parameters) { maxItems = 1; droneSpeed = 0; batch = 1; drone = new DroneComputer(droneSpeed); droneColor = new Color(248 / 256f, 49 / 256f, 42 / 256f); droneSize = new Vector3(0.6f, 0.6f, 0.6f); currentPower = 0; powerPerJump = 512; maxPower = powerPerJump * 10; // 2 seconds }
public MassGiver(ModCreateSegmentEntityParameters parameters) : base(eSegmentEntity.Mod, SpawnableObjectEnum.MassStorageOutputPort, parameters.X, parameters.Y, parameters.Z, parameters.Cube, parameters.Flags, parameters.Value, parameters.Position, parameters.Segment) { mbNeedsLowFrequencyUpdate = true; mbNeedsUnityUpdate = true; batch = 1; forwards = SegmentCustomRenderer.GetRotationQuaternion(parameters.Flags) * Vector3.forward; forwards.Normalize(); drone = new DroneComputer(droneSpeed); LookForAttachedModules(); droneSize = new Vector3(1, 1, 1); }