decisions = {
	Enter_God_Market = {
		is_high_prio = no
		potential = {
			OR = {
				trait = God
				trait = Goddess
				trait = Fallen_God
				trait = Fallen_Goddess
				trait = Demi_God
				trait = Demi_Goddess
				trait = Angel
				trait = Arcangel
				trait = Dark_Angel
				trait = Dark_Arcangel
			}
			prisoner = no

		}
		allow = {
  		}	
		effect = {
			hidden_tooltip = {
				character_event = { id = godmarket.0 days = 0 }
			}
		}
		revoke_allowed = {
			always = no
		}
		ai_will_do = {
			factor = 100
		}
	}
	Create_Angel = {
		is_high_prio = no
		potential = {
			religion_group = god_group
			prisoner = no
			OR = {
				trait = God
				trait = Goddess
				}
		}
		allow = {
    		piety = 500
    		wealth = 500
  		}	
		effect = {
			wealth = -500
			piety = -500
			create_character = {
				random_traits = no
				dynasty = random
				religion = ROOT
				culture = high_god
				female = no
				age = 0
				fertility = 0.5
				trait = Angel
				trait = diligent
				trait = kind
				trait = temperate
				trait = patient
				trait = zealous
				trait = scholar
				trait = Divine_Warrior
				}
		}
		ai_will_do = {
			factor = 0
		}
	}
	Create_Female_Angel = {
		is_high_prio = no
		potential = {
			religion_group = god_group
			prisoner = no
			OR = {
				trait = God
				trait = Goddess
				}
		}
		allow = {
    		piety = 500
    		wealth = 500
  		}	
		effect = {
			wealth = -500
			piety = -500
			create_character = {
				random_traits = no
				dynasty = random
				religion = ROOT
				culture = high_god
				female = yes
				age = 0
				fertility = 0.5
				trait = Angel
				trait = diligent
				trait = kind
				trait = temperate
				trait = patient
				trait = zealous
				trait = scholar
				trait = Divine_Warrior
				}
		}
		ai_will_do = {
			factor = 0
		}
	}
	Create_Dark_Angel = {
		is_high_prio = no
		potential = {
			religion_group = god_group
			prisoner = no
			OR = {
				trait = Fallen_God
				trait = Fallen_Goddess
				}
		}
		allow = {
    		piety = 500
    		wealth = 500
  		}	
		effect = {
			piety = -500
			wealth = -500
			create_character = {
				random_traits = no
				dynasty = random
				religion = ROOT
				culture = evil_god
				female = no
				age = 0
				fertility = 0.5
				trait = Dark_Angel
				trait = diligent
				trait = cruel
				trait = temperate
				trait = patient
				trait = zealous
				trait = scholar
				trait = Divine_Warrior
				}
		}
		ai_will_do = {
			factor = 0
		}
	}
	Create_Female_Dark_Angel = {
		is_high_prio = no
		potential = {
			religion_group = god_group
			prisoner = no
			OR = {
				trait = Fallen_God
				trait = Fallen_Goddess
				}
		}
		allow = {
    		piety = 500
    		wealth = 500
  		}	
		effect = {
			piety = -500
			wealth = -500
			create_character = {
				random_traits = no
				dynasty = random
				religion = ROOT
				culture = evil_god
				female = yes
				age = 0
				fertility = 0.5
				trait = Dark_Angel
				trait = diligent
				trait = cruel
				trait = temperate
				trait = patient
				trait = zealous
				trait = scholar
				trait = Divine_Warrior
				}
		}
		ai_will_do = {
			factor = 0
		}
	}
	Create_Jotunn = {
		is_high_prio = no
		potential = {
			culture = Norse_God
			prisoner = no
			OR = {
				trait = God
				trait = Goddess
				trait = Fallen_God
				trait = Fallen_Goddess
				}
		}
		allow = {
    		prestige = 1000
    		wealth = 500
  		}	
		effect = {
			wealth = -500
			prestige = -1000
			create_character = {
				random_traits = no
				dynasty = random
				religion = ROOT
				culture = Norse_God
				female = no
				age = 0
				fertility = 0.5
				trait = Jotunn
				trait = strong
				trait = Divine_Warrior
				}
		}
		ai_will_do = {
			factor = 0
		}
	}
	Create_Titan = {
		is_high_prio = no
		potential = {
			culture = Olympic_God
			prisoner = no
			OR = {
				trait = God
				trait = Goddess
				trait = Fallen_God
				trait = Fallen_Goddess
				}
		}
		allow = {
    		prestige = 1000
    		wealth = 500
  		}	
		effect = {
			wealth = -500
			prestige = -1000
			create_character = {
				random_traits = no
				dynasty = random
				religion = ROOT
				culture = Olympic_God
				female = no
				age = 0
				fertility = 0.5
				trait = Titan
				trait = strong
				trait = Divine_Warrior
				}
		}
		ai_will_do = {
			factor = 0
		}
	}
	Create_Goddess = {
		is_high_prio = yes
		potential = {
			trait = God
			is_female = no
			is_married = no
		}
		allow = {
    		prestige = 100
    		piety = 100
    		wealth = 100
  		}	
		effect = {
			wealth = -100
			create_character = {
				dynasty = ROOT
				religion = the_light
				culture = High_God
				female = yes
				age = 16
				fertility = 0.5
				trait = Young_Goddess
				trait = diligent
				trait = kind
				trait = temperate
				trait = patient
				trait = zealous
				trait = scholar
				trait = Divine_Steward
				trait = fair
				}
			new_character = {
				add_spouse = ROOT
				if = {
					limit = {
						liege = {
							trait = Elf
						}
					}
					add_trait = Elf
				}
				if = {
					limit = {
						liege = {
							trait = Dwarf
						}
					}
					add_trait = Dwarf
				}
				if = {
					limit = {
						liege = {
							trait = Half_Elf
						}
					}
					add_trait = Half_Elf
				}
				if = {
					limit = {
						liege = {
							trait = Orc
						}
					}
					add_trait = Orc
				}
				if = {
					limit = {
						liege = {
							trait = Goblin
						}
					}
					add_trait = Goblin
				}
				if = {
					limit = {
						liege = {
							trait = Giant
						}
					}
					add_trait = Giant
				}
				if = {
					limit = {
						liege = {
							trait = Half_Giant
						}
					}
					add_trait = Half_Giant
				}
				if = {
					limit = {
						liege = {
							trait = Troll
						}
					}
					add_trait = Troll
				}
				if = {
					limit = {
						liege = {
							trait = Dragon
						}
					}
					add_trait = Dragon
				}
				if = {
					limit = {
						liege = {
							trait = Dracon
						}
					}
					add_trait = Dracon
				}
				if = {
					limit = {
						liege = {
							trait = Human
						}
					}
					add_trait = Human
				}
			}
		}
		ai_will_do = {
			factor = 0
		}
	}
	Create_God = {
		is_high_prio = yes
		potential = {
			trait = Goddess
			is_female = yes
			is_married = no
		}
		allow = {
    		prestige = 100
    		piety = 100
    		wealth = 100
  		}	
		effect = {
			wealth = -100
			create_character = {
				dynasty = ROOT
				religion = the_light
				culture = High_God
				female = no
				age = 16
				fertility = 0.5
				trait = Young_God
				trait = diligent
				trait = kind
				trait = temperate
				trait = patient
				trait = zealous
				trait = scholar
				trait = Divine_Warrior
				trait = strong
				}
			new_character = {
				add_spouse = ROOT
				if = {
					limit = {
						liege = {
							trait = Elf
						}
					}
					add_trait = Elf
				}
				if = {
					limit = {
						liege = {
							trait = Dwarf
						}
					}
					add_trait = Dwarf
				}
				if = {
					limit = {
						liege = {
							trait = Half_Elf
						}
					}
					add_trait = Half_Elf
				}
				if = {
					limit = {
						liege = {
							trait = Orc
						}
					}
					add_trait = Orc
				}
				if = {
					limit = {
						liege = {
							trait = Goblin
						}
					}
					add_trait = Goblin
				}
				if = {
					limit = {
						liege = {
							trait = Giant
						}
					}
					add_trait = Giant
				}
				if = {
					limit = {
						liege = {
							trait = Half_Giant
						}
					}
					add_trait = Half_Giant
				}
				if = {
					limit = {
						liege = {
							trait = Troll
						}
					}
					add_trait = Troll
				}
				if = {
					limit = {
						liege = {
							trait = Dragon
						}
					}
					add_trait = Dragon
				}
				if = {
					limit = {
						liege = {
							trait = Dracon
						}
					}
					add_trait = Dracon
				}
				if = {
					limit = {
						liege = {
							trait = Human
						}
					}
					add_trait = Human
				}
			}
		}
		ai_will_do = {
			factor = 0
		}
	}
	Create_Fallen_Goddess = {
		is_high_prio = yes
		potential = {
			trait = Fallen_God
			is_female = no
			is_married = no
		}
		allow = {
    		prestige = 100
    		piety = 100
    		wealth = 100
  		}	
		effect = {
			wealth = -100
			create_character = {
				random_traits = yes
				dynasty = ROOT
				religion = the_darkness
				culture = Fallen_God
				female = yes
				age = 16
				fertility = 0.5
				trait = Young_Fallen_Goddess
				trait = diligent
				trait = cruel
				trait = temperate
				trait = patient
				trait = zealous
				trait = scholar
				trait = Divine_Steward
				trait = fair
				}
			new_character = {
				add_spouse = ROOT
				if = {
					limit = {
						liege = {
							trait = Elf
						}
					}
					add_trait = Elf
				}
				if = {
					limit = {
						liege = {
							trait = Dwarf
						}
					}
					add_trait = Dwarf
				}
				if = {
					limit = {
						liege = {
							trait = Half_Elf
						}
					}
					add_trait = Half_Elf
				}
				if = {
					limit = {
						liege = {
							trait = Orc
						}
					}
					add_trait = Orc
				}
				if = {
					limit = {
						liege = {
							trait = Goblin
						}
					}
					add_trait = Goblin
				}
				if = {
					limit = {
						liege = {
							trait = Giant
						}
					}
					add_trait = Giant
				}
				if = {
					limit = {
						liege = {
							trait = Half_Giant
						}
					}
					add_trait = Half_Giant
				}
				if = {
					limit = {
						liege = {
							trait = Troll
						}
					}
					add_trait = Troll
				}
				if = {
					limit = {
						liege = {
							trait = Dragon
						}
					}
					add_trait = Dragon
				}
				if = {
					limit = {
						liege = {
							trait = Dracon
						}
					}
					add_trait = Dracon
				}
				if = {
					limit = {
						liege = {
							trait = Human
						}
					}
					add_trait = Human
				}
			}
		}
		ai_will_do = {
			factor = 0
		}
	}
	Create_Fallen_God = {
		is_high_prio = yes
		potential = {
			trait = Fallen_Goddess
			is_female = yes
			is_married = no
		}
		allow = {
    		prestige = 100
    		piety = 100
    		wealth = 100
  		}	
		effect = {
			wealth = -100
			create_character = {
				random_traits = yes
				dynasty = ROOT
				religion = the_darkness
				culture = Fallen_God
				female = no
				age = 16
				fertility = 0.5
				trait = Fallen_God
				trait = diligent
				trait = cruel
				trait = temperate
				trait = patient
				trait = zealous
				trait = scholar
				trait = Divine_Warrior
				trait = strong
				}
			new_character = {
				add_spouse = ROOT
				if = {
					limit = {
						liege = {
							trait = Elf
						}
					}
					add_trait = Elf
				}
				if = {
					limit = {
						liege = {
							trait = Dwarf
						}
					}
					add_trait = Dwarf
				}
				if = {
					limit = {
						liege = {
							trait = Half_Elf
						}
					}
					add_trait = Half_Elf
				}
				if = {
					limit = {
						liege = {
							trait = Orc
						}
					}
					add_trait = Orc
				}
				if = {
					limit = {
						liege = {
							trait = Goblin
						}
					}
					add_trait = Goblin
				}
				if = {
					limit = {
						liege = {
							trait = Giant
						}
					}
					add_trait = Giant
				}
				if = {
					limit = {
						liege = {
							trait = Half_Giant
						}
					}
					add_trait = Half_Giant
				}
				if = {
					limit = {
						liege = {
							trait = Troll
						}
					}
					add_trait = Troll
				}
				if = {
					limit = {
						liege = {
							trait = Dragon
						}
					}
					add_trait = Dragon
				}
				if = {
					limit = {
						liege = {
							trait = Dracon
						}
					}
					add_trait = Dracon
				}
				if = {
					limit = {
						liege = {
							trait = Human
						}
					}
					add_trait = Human
				}
			}
		}
		ai_will_do = {
			factor = 0
		}
	}
}
