	GrantConditionOnBotOwner@air:
		Bots: air
		Condition: enable-air-ai
	GrantConditionOnBotOwner@raid:
		Bots: raid
		Condition: enable-raid-ai
	GrantConditionOnBotOwner@tech:
		Bots: tech
		Condition: enable-tech-ai
	GrantConditionOnBotOwner@base:
		Bots: base
		Condition: enable-base-ai
	GrantConditionOnBotOwner@horde:
		Bots: horde
		Condition: enable-horde-ai


    michael.dgg.2 — 23:41
You could try creating to separate HARV actors, one enabled only for bots and one enabled only for human players. Each actor would have its own Harvester configuration (like you have in your example)
by enabled I mean using appropriate prerequisite in Prerequisites:  on the Buildable  trait. Plus configuring the correct actor type in the AI bot configuration (HarvesterBotModule.HarvesterTypes) 


	GrantConditionOnTerrain:
		Condition: deposits
		TerrainTypes: Ore
	Miner:
		TerrainTypes: Ore
		Colors:
			iron: 878787
			gold: F07000
	Transforms:
		PauseOnCondition: !deposits
		IntoActor: miner2
		Facing: 750
		Offset: 0,-2
		NoTransformNotification: BuildingCannotPlaceAudio
		NoTransformTextNotification: notification-cant-place-building
		TransformNotification: MinerReady
		TransformTextNotification: notification-miner-ready
		TransformSounds: miner_transform.ogg
		Voice: Deploying

https://github.com/OpenHV/OpenHV/blob/22dbf44cb6b21dc7c850d9bb65b7991c59e62d2c/mods/hv/rules/aircraft.yaml

			AutoTarget:
		InitialStance: Defend
		InitialStanceAI: AttackAnything
	AutoTargetPriority:
		InvalidTargets: Structure



Sorry for the late response. You can add them to a map by unzipping the .oramap, adding "Rules: rules.yaml" to your map.yaml file, then creating a rules.yaml file in the map with the contents of your ai.yaml. Then rezip the file as .oramap (the easiest is to use the Map Editor to save the map as unpacked, and then afterwards save it again as packed).



