Skip to content

ModuleBreakableAsteroidDrill

Michael Billard edited this page Sep 2, 2017 · 1 revision

ModuleBreakableAsteroidDrill is designed to replace ModuleAsteroidDrill and interface ModuleQualityControl. When a part is declared broken, it disables the drill, and when the part is declared fixed, it re-enables it again. Almost all of the functionality is internal; all the part config designer needs to do is make sure that ModuleBreakableAsteroidDrill appears before ModuleQualityControl. In addition to the MTBF checks done over time, a quality check occurs whenever the drill is started or stopped. It is part of the BARISBridge plugin.

Fields

isBroken

Flag to indicate that the part module is broken. If broken, then it can't be declared broken again by the ModuleQualityControl.

qualityCheckSkill

What skill to use when performing the quality check. This is not always the same skill required to repair or maintain the part.

Methods

StartConverter

This method will start the asteroid drill. When starting, it will make a quality check. Use this method in place of StartResourceConverter.