Exemple #1
0
        public override void UpdateAfterSimulation100()
        {
            ResourceSink.Update();

            base.UpdateAfterSimulation100();
            m_drillBase.UpdateSoundEmitter();

            if (Sync.IsServer && IsFunctional && m_useConveyorSystem && this.GetInventory().GetItems().Count > 0)
            {
                MyGridConveyorSystem.PushAnyRequest(this, this.GetInventory(), OwnerId);
            }
        }
 public override void UpdateBeforeSimulation100()
 {
     base.UpdateBeforeSimulation100();
     m_drillBase.UpdateSoundEmitter();
     m_oreDetectorBase.Update(PositionComp.GetPosition());
 }