Space Engineers

Space Engineers

Nanite Control Factory - Automated Construction (Not working - Old Version)
Zenduin 13 Aug, 2016 @ 6:35am
NUHOL detecting and mining ores where they don't exist
On my server I have made Platinum, gold, and uranium not spawn in asteroids, but the NUHOL detects it and the factory mines it anyway... Here is how I disable them:

[MySessionComponentDescriptor(MyUpdateOrder.BeforeSimulation)]
public class CustomDefinitions : MySessionComponentBase
{
private bool IsInit = false;
public override void BeforeStart()
{
MyDefinitionManager.Static.GetVoxelMaterialDefinition("Platinum_01").SpawnsInAsteroids = false;
MyDefinitionManager.Static.GetVoxelMaterialDefinition("Gold_01").SpawnsInAsteroids = false;
MyDefinitionManager.Static.GetVoxelMaterialDefinition("Uraninite_01").SpawnsInAsteroids = false;
}
}