###CYBERNETIC GRACE INTERACTION DECISIONS FOR THE OFFMAP EMPIRE###

#Add the decisions in a nice order which will make sense in the menu! For example, ranked by cost/reward.

#REQUESTING BOON DECISIONS (PENDING GRACE)
offmap_decisions = {
	
	#If your grace decisions will spawn a character then give them an appropriate flag eg: is_chinese_administrator and add them to the JD.60310 trigger switch to refund grace if they die early

	chinese_cybernetic = {
		only_playable = yes
		button_name = offmap_boons
		ai_check_interval = 60

		from_potential = {
			has_dlc = "Jade Dragon"
			mercenary = no
			holy_order = no
			is_landed = yes
		}

		potential = {
			is_offmap_tag = offmap_china
		}
	
		allow = {
			show_only_failed_conditions = yes
			FROM = {
				show_scope_change = no
				has_offmap_currency = { offmap = offmap_china value = 500 }
				prisoner = no
				NOT = { trait = incapable }
				is_inaccessible_trigger = no
			}
			china_offmap_boon_decisions_enabled_trigger = yes
			custom_tooltip = {
				text = chinese_artifact_has_all_tt
				hidden_tooltip = {
					FROM = {
						NAND = {
							has_artifact = chinese_artwork
							has_artifact = chinese_calligraphy
							has_artifact = chinese_sculpture
							has_artifact = chinese_ceremonial_robes
							OR = {
								has_artifact = chinese_prev_emperor_sculpture
								offmap_china = {
									offmap_prev_ruler = {
										always = no
									}
								}
							}
							has_artifact = chinese_arm_protector
							has_artifact = chinese_serpent_spear
							has_artifact = chinese_ji
							has_artifact = chinese_crossbow
							has_artifact = chinese_bronze_sculpture
							has_artifact = chinese_book_health
							has_artifact = chinese_book_law
							has_artifact = chinese_book_history
							has_artifact = chinese_book_economy
							has_artifact = chinese_painting_of_glitterhoof
							has_artifact = chinese_tapestry
							has_artifact = chinese_tapestry_grand
						}
					}
				}
			}
		}

		effect = {
			FROM = {
				show_scope_change = no
				
				sound_effect = china_grace_spend

				add_offmap_currency = {
					offmap = offmap_china
					value = -500
				}
				custom_tooltip = { text = chinese_artifact_effect_tt }
				random_list = {
					10 = {
						trigger = {
							NOR = {
								trait = iaei_mk_i
								trait = iaei_mk_ii
								trait = iaei_mk_iii
							}
						}
						add_trait = iaei_mk_i
					}
					10 = {
						trigger = {
							NOR = {
								trait = odin_mk_i
								trait = odin_mk_ii
								trait = odin_mk_iii
							}
						}
						add_trait = odin_mk_i
					}
					10 = {
						trigger = {
							NOR = {
								trait = pci_mk_i
								trait = pci_mk_ii
								trait = pci_mk_iii
							}
						}
						add_trait = pci_mk_i
					}
					10 = {
						trigger = {
							NOR = {
								trait = pluto_mk_i
								trait = pluto_mk_ii
								trait = pluto_mk_iii
							}
						}
						add_trait = pluto_mk_i
					}
					10 = {
						trigger = {
							NOR = {
								trait = thoth_mk_i
								trait = thoth_mk_ii
								trait = thoth_mk_iii
							}
							offmap_china = {
								offmap_prev_ruler = {
									always = yes
								}
							}
						}
						offmap_china = {
							offmap_prev_ruler = {
								save_event_target_as = prev_emperor
							}
						}
						add_trait = thoth_mk_i
					}
					10 = {
						trigger = {
							NOR = {
								trait = iaei_mk_ii
								trait = iaei_mk_iii
							}
						}
						add_trait = iaei_mk_ii
						remove_trait = iaei_mk_i
					}
					10 = {
						trigger = {
							NOT = {
								trait = odin_mk_ii
							}
						}
						add_trait = odin_mk_ii
					}
					10 = {
						trigger = {
							NOT = {
								trait = pci_mk_ii
							}
						}
						add_trait = pci_mk_ii
					}
					10 = {
						trigger = {
							NOT = {
								trait = pluto_mk_ii
							}
						}
						add_trait = pluto_mk_ii
					}
					10 = {
						trigger = {
							NOT = {
							}
						}
						add_trait = thoth_mk_ii
					}
					10 = {
						trigger = {
							NOT = {
								trait = iaei_mk_iii
							}
						}
						add_trait = iaei_mk_iii
					}
					10 = {
						trigger = {
							NOT = {
								trait = odin_mk_iii
	
							}
						}
						add_trait = odin_mk_iii
					}
					10 = {
						trigger = {
							NOT = {
								trait = pci_mk_iii
							}
						}
						add_trait = pci_mk_iii
					}
					10 = {
						trigger = {
							NOT = {
								trait = pluto_mk_iii
							}
						}
						add_trait = pluto_mk_iii
					}
					10 = {
						trigger = {
							NOT = {
								trait = thoth_mk_iii
							}
						}
						add_trait = thoth_mk_iii
					}
					10 = {
						trigger = {
							NOT = {
								trait = dni
							}
						}
						add_trait = dni
					}
					10 = {
						trigger = {
							NOT = {
								trait = hiver_implant
							}
						}
						add_trait = hiver_implant
		
					}
				}
			}
		}

		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 0.2 # slow down
			}
			modifier = {
				factor = 0.1
				NOT = {
					trait = greedy
				}
			}
		}
	}
	
	chinese_cybernetic_iaei_mk = {
		only_playable = yes
		button_name = offmap_boons
		ai_check_interval = 60

		from_potential = {
			has_dlc = "Jade Dragon"
			mercenary = no
			holy_order = no
			is_landed = yes
		}

		potential = {
			is_offmap_tag = offmap_china
		}
	
		allow = {
			show_only_failed_conditions = yes
			FROM = {
				show_scope_change = no
				has_offmap_currency = { offmap = offmap_china value = 150 }
				prisoner = no
				NOT = { trait = incapable }
				is_inaccessible_trigger = no
			}
			china_offmap_boon_decisions_enabled_trigger = yes
			custom_tooltip = {
				text = chinese_artifact_has_all_tt
				hidden_tooltip = {
					FROM = {
						NOT = { trait = iaei_mk_v }
					}
				}
			}
		}

		effect = {
			FROM = {
				show_scope_change = no
				
				sound_effect = china_grace_spend

				add_offmap_currency = {
					offmap = offmap_china
					value = -150
				}
				custom_tooltip = { text = chinese_artifact_effect_tt }
				if = {
					limit = {
						trait = iaei_mk_iv
					}
					remove_trait = iaei_mk_iv
					add_trait = iaei_mk_v
				}
				if = {
					limit = {
						trait = iaei_mk_iii
					}
					remove_trait = iaei_mk_iii
					add_trait = iaei_mk_iv
				}
				if = {
					limit = {
						trait = iaei_mk_ii
					}
					remove_trait = iaei_mk_ii
					add_trait = iaei_mk_iii
				}
				if = {
					limit = {
						trait = iaei_mk_i
					}
					remove_trait = iaei_mk_i
					add_trait = iaei_mk_ii
				}
				if = {
					limit = {
						NOR = {
							trait = iaei_mk_i
							trait = iaei_mk_ii
							trait = iaei_mk_iii
							trait = iaei_mk_iv
							trait = iaei_mk_v
							
						}	
					}
					add_trait = iaei_mk_i
				}				
			}
		}

		ai_will_do = {
			factor = 0 # Better for performance for AI to use generic Request Cybernetic Instead
			
			#modifier = {
			#	factor = 0.1 # slow down
			#}
			#modifier = {
			#	factor = 0.05
			#	NOT = {
			#		trait = greedy
			#	}
			#}
		}
	}
	chinese_cybernetic_odin_mk = {
		only_playable = yes
		button_name = offmap_boons
		ai_check_interval = 60

		from_potential = {
			has_dlc = "Jade Dragon"
			mercenary = no
			holy_order = no
			is_landed = yes
		}

		potential = {
			is_offmap_tag = offmap_china
		}
	
		allow = {
			show_only_failed_conditions = yes
			FROM = {
				show_scope_change = no
				has_offmap_currency = { offmap = offmap_china value = 150 }
				prisoner = no
				NOT = { trait = incapable }
				is_inaccessible_trigger = no
			}
			china_offmap_boon_decisions_enabled_trigger = yes
			custom_tooltip = {
				text = chinese_artifact_has_all_tt
				hidden_tooltip = {
					FROM = {
						NOT = { trait = odin_mk_v }
					}
				}
			}
		}

		effect = {
			FROM = {
				show_scope_change = no
				
				sound_effect = china_grace_spend

				add_offmap_currency = {
					offmap = offmap_china
					value = -150
				}
				custom_tooltip = { text = chinese_artifact_effect_tt }
				if = {
					limit = {
						trait = odin_mk_iv
					}
					remove_trait = odin_mk_iv
					add_trait = odin_mk_v
				}
				if = {
					limit = {
						trait = odin_mk_iii
					}
					remove_trait = odin_mk_iii
					add_trait = odin_mk_iv
				}
				if = {
					limit = {
						trait = odin_mk_ii
					}
					remove_trait = odin_mk_ii
					add_trait = odin_mk_iii
				}
				if = {
					limit = {
						trait = odin_mk_i
					}
					remove_trait = odin_mk_i
					add_trait = odin_mk_ii
				}
				if = {
					limit = {
						NOR = {
							trait = odin_mk_i
							trait = odin_mk_ii
							trait = odin_mk_iii
							trait = odin_mk_iv
							trait = odin_mk_v
							
						}	
					}
					add_trait = odin_mk_i
				}				
			}
		}

		ai_will_do = {
			factor = 0 # Better for performance for AI to use generic Request Cybernetic Instead
			
			#modifier = {
			#	factor = 0.1 # slow down
			#}
			#modifier = {
			#	factor = 0.05
			#	NOT = {
			#		trait = greedy
			#	}
			#}
		}
	}
	chinese_cybernetic_pci_mk = {
		only_playable = yes
		button_name = offmap_boons
		ai_check_interval = 60

		from_potential = {
			has_dlc = "Jade Dragon"
			mercenary = no
			holy_order = no
			is_landed = yes
		}

		potential = {
			is_offmap_tag = offmap_china
		}
	
		allow = {
			show_only_failed_conditions = yes
			FROM = {
				show_scope_change = no
				has_offmap_currency = { offmap = offmap_china value = 150 }
				prisoner = no
				NOT = { trait = incapable }
				is_inaccessible_trigger = no
			}
			china_offmap_boon_decisions_enabled_trigger = yes
			custom_tooltip = {
				text = chinese_artifact_has_all_tt
				hidden_tooltip = {
					FROM = {
						NOT = { trait = pci_mk_v }
					}
				}
			}
		}

		effect = {
			FROM = {
				show_scope_change = no
				
				sound_effect = china_grace_spend

				add_offmap_currency = {
					offmap = offmap_china
					value = -150
				}
				custom_tooltip = { text = chinese_artifact_effect_tt }
				if = {
					limit = {
						trait = pci_mk_iv
					}
					remove_trait = pci_mk_iv
					add_trait = pci_mk_v
				}
				if = {
					limit = {
						trait = pci_mk_iii
					}
					remove_trait = pci_mk_iii
					add_trait = pci_mk_iv
				}
				if = {
					limit = {
						trait = pci_mk_ii
					}
					remove_trait = pci_mk_ii
					add_trait = pci_mk_iii
				}
				if = {
					limit = {
						trait = pci_mk_i
					}
					remove_trait = pci_mk_i
					add_trait = pci_mk_ii
				}
				if = {
					limit = {
						NOR = {
							trait = pci_mk_i
							trait = pci_mk_ii
							trait = pci_mk_iii
							trait = pci_mk_iv
							trait = pci_mk_v
							
						}	
					}
					add_trait = pci_mk_i
				}				
			}
		}

		ai_will_do = {
			factor = 0 # Better for performance for AI to use generic Request Cybernetic Instead
			
			#modifier = {
			#	factor = 0.1 # slow down
			#}
			#modifier = {
			#	factor = 0.05
			#	NOT = {
			#		trait = greedy
			#	}
			#}
		}
	}
	chinese_cybernetic_pluto_mk = {
		only_playable = yes
		button_name = offmap_boons
		ai_check_interval = 60

		from_potential = {
			has_dlc = "Jade Dragon"
			mercenary = no
			holy_order = no
			is_landed = yes
		}

		potential = {
			is_offmap_tag = offmap_china
		}
	
		allow = {
			show_only_failed_conditions = yes
			FROM = {
				show_scope_change = no
				has_offmap_currency = { offmap = offmap_china value = 150 }
				prisoner = no
				NOT = { trait = incapable }
				is_inaccessible_trigger = no
			}
			china_offmap_boon_decisions_enabled_trigger = yes
			custom_tooltip = {
				text = chinese_artifact_has_all_tt
				hidden_tooltip = {
					FROM = {
						NOT = { trait = pluto_mk_v }
					}
				}
			}
		}

		effect = {
			FROM = {
				show_scope_change = no
				
				sound_effect = china_grace_spend

				add_offmap_currency = {
					offmap = offmap_china
					value = -150
				}
				custom_tooltip = { text = chinese_artifact_effect_tt }
				if = {
					limit = {
						trait = pluto_mk_iv
					}
					remove_trait = pluto_mk_iv
					add_trait = pluto_mk_v
				}
				if = {
					limit = {
						trait = pluto_mk_iii
					}
					remove_trait = pluto_mk_iii
					add_trait = pluto_mk_iv
				}
				if = {
					limit = {
						trait = pluto_mk_ii
					}
					remove_trait = pluto_mk_ii
					add_trait = pluto_mk_iii
				}
				if = {
					limit = {
						trait = pluto_mk_i
					}
					remove_trait = pluto_mk_i
					add_trait = pluto_mk_ii
				}
				if = {
					limit = {
						NOR = {
							trait = pluto_mk_i
							trait = pluto_mk_ii
							trait = pluto_mk_iii
							trait = pluto_mk_iv
							trait = pluto_mk_v
							
						}	
					}
					add_trait = pluto_mk_i
				}				
			}
		}

		ai_will_do = {
			factor = 0 # Better for performance for AI to use generic Request Cybernetic Instead
			
			#modifier = {
			#	factor = 0.1 # slow down
			#}
			#modifier = {
			#	factor = 0.05
			#	NOT = {
			#		trait = greedy
			#	}
			#}
		}
	}
	chinese_cybernetic_thoth_mk = {
		only_playable = yes
		button_name = offmap_boons
		ai_check_interval = 60

		from_potential = {
			has_dlc = "Jade Dragon"
			mercenary = no
			holy_order = no
			is_landed = yes
		}

		potential = {
			is_offmap_tag = offmap_china
		}
	
		allow = {
			show_only_failed_conditions = yes
			FROM = {
				show_scope_change = no
				has_offmap_currency = { offmap = offmap_china value = 150 }
				prisoner = no
				NOT = { trait = incapable }
				is_inaccessible_trigger = no
			}
			china_offmap_boon_decisions_enabled_trigger = yes
			custom_tooltip = {
				text = chinese_artifact_has_all_tt
				hidden_tooltip = {
					FROM = {
						NOT = { trait = thoth_mk_v }
					}
				}
			}
		}

		effect = {
			FROM = {
				show_scope_change = no
				
				sound_effect = china_grace_spend

				add_offmap_currency = {
					offmap = offmap_china
					value = -150
				}
				custom_tooltip = { text = chinese_artifact_effect_tt }
				if = {
					limit = {
						trait = thoth_mk_iv
					}
					remove_trait = thoth_mk_iv
					add_trait = thoth_mk_v
				}
				if = {
					limit = {
						trait = thoth_mk_iii
					}
					remove_trait = thoth_mk_iii
					add_trait = thoth_mk_iv
				}
				if = {
					limit = {
						trait = thoth_mk_ii
					}
					remove_trait = thoth_mk_ii
					add_trait = thoth_mk_iii
				}
				if = {
					limit = {
						trait = thoth_mk_i
					}
					remove_trait = thoth_mk_i
					add_trait = thoth_mk_ii
				}
				if = {
					limit = {
						NOR = {
							trait = thoth_mk_i
							trait = thoth_mk_ii
							trait = thoth_mk_iii
							trait = thoth_mk_iv
							trait = thoth_mk_v
							
						}	
					}
					add_trait = thoth_mk_i
				}				
			}
		}

		ai_will_do = {
			factor = 0 # Better for performance for AI to use generic Request Cybernetic Instead
			
			#modifier = {
			#	factor = 0.1 # slow down
			#}
			#modifier = {
			#	factor = 0.05
			#	NOT = {
			#		trait = greedy
			#	}
			#}
		}
	}
	chinese_cybernetic_leg = {
		only_playable = yes
		button_name = offmap_boons
		ai_check_interval = 60

		from_potential = {
			has_dlc = "Jade Dragon"
			mercenary = no
			holy_order = no
			is_landed = yes
		}

		potential = {
			is_offmap_tag = offmap_china
		}
	
		allow = {
			show_only_failed_conditions = yes
			FROM = {
				show_scope_change = no
				has_offmap_currency = { offmap = offmap_china value = 500 }
				prisoner = no
				NOT = { trait = incapable }
				is_inaccessible_trigger = no
				OR = {
					trait = one_legged
					AND = { 
						trait = lunatic
						NOT = { trait = cybernetic_leg }
					}
					AND = { 
						trait = possessed
						NOT = { trait = cybernetic_leg }
					}
				}
			}
			china_offmap_boon_decisions_enabled_trigger = yes
		}

		effect = {
			FROM = {
				show_scope_change = no
				
				sound_effect = china_grace_spend

				add_offmap_currency = {
					offmap = offmap_china
					value = -500
				}
				custom_tooltip = { text = chinese_artifact_effect_tt }
				if = {
					limit = {
						OR = {
							trait = one_legged
							trait = lunatic
							trait = possessed
						}
					}
					add_trait = cybernetic_leg
					remove_trait = one_legged
				}
				if = {
					limit = {
						trait = one_legged
						trait = cybernetic_leg
					}
					remove_trait = one_legged
				}				
			}
		}

		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 0.2 # slow down
			}
			modifier = {
				factor = 0.1
				NOT = {
					trait = greedy
				}
			}
				modifier = {
				factor = 0.5
				OR = {
					trait = lunatic
					trait = possessed
				}
			}
		}
	}
	chinese_cybernetic_limb = {
		only_playable = yes
		button_name = offmap_boons
		ai_check_interval = 60

		from_potential = {
			has_dlc = "Jade Dragon"
			mercenary = no
			holy_order = no
			is_landed = yes
		}

		potential = {
			is_offmap_tag = offmap_china
		}
	
		allow = {
			show_only_failed_conditions = yes
			FROM = {
				show_scope_change = no
				has_offmap_currency = { offmap = offmap_china value = 500 }
				prisoner = no
				NOT = { trait = incapable }
				is_inaccessible_trigger = no
				OR = {
					trait = one_handed
					AND = { 
						trait = lunatic
						NOT = { trait = cybernetic_limb }
					}
					AND = { 
						trait = possessed
						NOT = { trait = cybernetic_limb }
					}
				}
			}
			china_offmap_boon_decisions_enabled_trigger = yes
		}

		effect = {
			FROM = {
				show_scope_change = no
				
				sound_effect = china_grace_spend

				add_offmap_currency = {
					offmap = offmap_china
					value = -500
				}
				custom_tooltip = { text = chinese_artifact_effect_tt }
				if = {
					limit = {
						OR = {
							trait = one_handed
							trait = lunatic
							trait = possessed
						}
					}
					add_trait = cybernetic_limb
					remove_trait = one_handed
				}
				if = {
					limit = {
						trait = one_handed
						trait = cybernetic_limb
					}
					remove_trait = one_handed
				}				
			}
		}

		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 0.2 # slow down
			}
			modifier = {
				factor = 0.1
				NOT = {
					trait = greedy
				}
			}
				modifier = {
				factor = 0.5
				OR = {
					trait = lunatic
					trait = possessed
				}
			}
		}
	}
	chinese_cybernetic_skeleton = {
		only_playable = yes
		button_name = offmap_boons
		ai_check_interval = 60

		from_potential = {
			has_dlc = "Jade Dragon"
			mercenary = no
			holy_order = no
			is_landed = yes
		}

		potential = {
			is_offmap_tag = offmap_china
		}
	
		allow = {
			show_only_failed_conditions = yes
			FROM = {
				show_scope_change = no
				has_offmap_currency = { offmap = offmap_china value = 1000 }
				prisoner = no
				NOT = { trait = incapable }
				is_inaccessible_trigger = no
				OR = {
					trait = incapable
					AND = { 
						trait = lunatic
						NOT = { trait = cybernetic_skeleton }
					}
					AND = { 
						trait = possessed
						NOT = { trait = cybernetic_skeleton }
					}
				}
			}
			china_offmap_boon_decisions_enabled_trigger = yes
		}

		effect = {
			FROM = {
				show_scope_change = no
				
				sound_effect = china_grace_spend

				add_offmap_currency = {
					offmap = offmap_china
					value = -1000
				}
				custom_tooltip = { text = chinese_artifact_effect_tt }
				if = {
					limit = {
						OR = {
							trait = incapable
							trait = lunatic
							trait = possessed
						}
					}
					add_trait = cybernetic_skeleton
					remove_trait = incapable
				}
				if = {
					limit = {
						trait = incapable
						trait = cybernetic_skeleton
					}
					remove_trait = incapable
				}				
			}
		}

		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 0.2 # slow down
			}
			modifier = {
				factor = 0.1
				NOT = {
					trait = greedy
				}
			}
				modifier = {
				factor = 0.5
				OR = {
					trait = lunatic
					trait = possessed
				}
			}
		}
	}
	chinese_hiver_implant = {
		only_playable = yes
		button_name = offmap_boons
		ai_check_interval = 60

		from_potential = {
			has_dlc = "Jade Dragon"
			mercenary = no
			holy_order = no
			is_landed = yes
		}

		potential = {
			is_offmap_tag = offmap_china
		}
	
		allow = {
			show_only_failed_conditions = yes
			FROM = {
				show_scope_change = no
				has_offmap_currency = { offmap = offmap_china value = 1000 }
				prisoner = no
				NOT = { trait = incapable }
				is_inaccessible_trigger = no
				OR = {
					trait = infirm
					AND = { 
						trait = lunatic
						NOT = { trait = hiver_implant }
					}
					AND = { 
						trait = possessed
						NOT = { trait = hiver_implant }
					}
				}
			}
			china_offmap_boon_decisions_enabled_trigger = yes
		}

		effect = {
			FROM = {
				show_scope_change = no
				
				sound_effect = china_grace_spend

				add_offmap_currency = {
					offmap = offmap_china
					value = -1000
				}
				custom_tooltip = { text = chinese_artifact_effect_tt }
				if = {
					limit = {
						OR = {
							trait = incapable
							trait = lunatic
							trait = possessed
						}
					}
					add_trait = hiver_implant
					remove_trait = infirm
				}
				if = {
					limit = {
						trait = incapable
						trait = hiver_implant
					}
					remove_trait = incapable
				}				
			}
		}

		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 0.2 # slow down
			}
			modifier = {
				factor = 0.1
				NOT = {
					trait = greedy
				}
			}
				modifier = {
				factor = 0.5
				OR = {
					trait = lunatic
					trait = possessed
				}
			}
		}
	}

	
	chinese_clone = {
		only_playable = yes
		button_name = offmap_boons
		ai_check_interval = 60

		from_potential = {
			has_dlc = "Jade Dragon"
			mercenary = no
			holy_order = no
			is_landed = yes
		}

		potential = {
			is_offmap_tag = offmap_china
		}
	
		allow = {
			show_only_failed_conditions = yes
			FROM = {
				show_scope_change = no
				has_offmap_currency = { offmap = offmap_china value = 750 }
				prisoner = no
				NOT = { trait = incapable }
				is_inaccessible_trigger = no
			}
			china_offmap_boon_decisions_enabled_trigger = yes
		}

		effect = {
			FROM = {
				show_scope_change = no
				
				sound_effect = china_grace_spend

				add_offmap_currency = {
					offmap = offmap_china
					value = -750
				}
				custom_tooltip = { text = chinese_artifact_effect_tt }
				character_event = { id = clone.0 }
			}
		}

		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 0.2 # slow down
			}
			modifier = {
				factor = 0.1
				NOR = {
					trait = genius
					trait = quick
					trait = strong
					trait = beautiful
					trait = agile
					trait = tall
					trait = heavy_worlder
				}
			}
		}
	}

	chinese_vatborn = {
		only_playable = yes
		button_name = offmap_boons
		ai_check_interval = 60

		from_potential = {
			has_dlc = "Jade Dragon"
			mercenary = no
			holy_order = no
			is_landed = yes
		}

		potential = {
			is_offmap_tag = offmap_china
		}
	
		allow = {
			show_only_failed_conditions = yes
			FROM = {
				show_scope_change = no
				has_offmap_currency = { offmap = offmap_china value = 1000 }
				prisoner = no
				NOT = { trait = incapable }
				is_inaccessible_trigger = no
			}
			china_offmap_boon_decisions_enabled_trigger = yes
		}

		effect = {
			FROM = {
				show_scope_change = no
				
				sound_effect = china_grace_spend

				add_offmap_currency = {
					offmap = offmap_china
					value = -1000
				}
				custom_tooltip = { text = chinese_artifact_effect_tt }
				character_event = { id = clone.110 }
			}
		}

		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 0.3 # slow down
			}
			modifier = {
				factor = 0.1
				NOR = {
					trait = genius
					trait = quick
					trait = strong
					trait = beautiful
					trait = agile
					trait = tall
					trait = heavy_worlder
				}
			}
		}
	}
}