onArtifact

fun onArtifact(artifactType: Class<*>): UnlockCondition

Create a condition that unlocks when an artifact of the specified type is produced.