<- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#unit_commands|Unit Commands]] ===== SetTechArtifactType ===== ^ Arguments ^ Result ^ Notation ^ |Unit UID, Tech type|None |%%i s -- %%| === Description === SetTechArtifactType allows you to set which technology is unlocked by a tech artifact unit. It has no effect if the unit is not a tech artifact. Tech types are derived from units types, a list of all unit types can be found [[crpl:docs:getunittype|here]]. ==== Examples ==== # Create an ore mine tech artifact at position (x,y) CreateUnit("TECHARTIFACT" <-x <-y) ->unit SetTechArtifactType(<-unit "OREMINE")