namespace = godmarket
########################
# GO TO THE GOD MARKET
########################
character_event = {
	id = "godmarket.0"
	desc = "EVTDESCgodmarket.0"
	picture = GFX_evt_god_01
	border = GFX_event_normal_frame_war
	is_triggered_only = yes
		option = {
		name = EVTOPTAgodmarket.0
                hidden_tooltip = {
                    character_event = {
							id = godmarket.1
                    }
				}		
	}
		option = {
		name = EVTOPTBgodmarket.0
                hidden_tooltip = {
                    character_event = {
							id = godmarket.2
                    }
				}		
	}
		option = {
		name = EVTOPTDgodmarket.0		
	}
}
character_event = {
	id = "godmarket.1"
	desc = "EVTDESCgodmarket.1"
	picture = GFX_evt_god_01
	border = GFX_event_normal_frame_war
	is_triggered_only = yes
		option = {
		name = EVTOPTAgodmarket.1
		trigger = {
			wealth = 270
			NOT = { trait = Silver_Sword }
		}
		hidden_tooltip = {
			remove_trait = No_Sword
		}
		add_trait = Silver_Sword
		wealth = -270
		hidden_tooltip = {
                    character_event = {
							id = godmarket.1
                    }
				}	
	}
		option = {
		name = EVTOPTBgodmarket.1
		trigger = {
			wealth = 473
			NOT = { trait = Gold_Sword }
		}
		hidden_tooltip = {
			remove_trait = No_Sword
		}
		add_trait = Gold_Sword
		wealth = -473
		hidden_tooltip = {
                    character_event = {
							id = godmarket.1
                    }
				}	
	}
		option = {
		name = EVTOPTCgodmarket.1A
		trigger = {
			wealth = 4438
			NOT = { trait = Light_Sword }
			OR = {
				trait = God
				trait = Goddess
			}
		}
		hidden_tooltip = {
			remove_trait = No_Sword
		}
		add_trait = Light_Sword
		wealth = -4438
		hidden_tooltip = {
                    character_event = {
							id = godmarket.1
                    }
				}	
	}
		option = {
		name = EVTOPTCgodmarket.1B
		trigger = {
			wealth = 4438
			NOT = { trait = Dark_Sword }
			OR = {
				trait = Fallen_God
				trait = Fallen_Goddess
			}
		}
		hidden_tooltip = {
			remove_trait = No_Sword
		}
		add_trait = Dark_Sword
		wealth = -4438
		hidden_tooltip = {
                    character_event = {
							id = godmarket.1
                    }
				}	
	}
		option = {
		name = EVTOPTDgodmarket.1
                hidden_tooltip = {
                    character_event = {
							id = godmarket.0
                    }
				}		
	}
}
character_event = {
	id = "godmarket.2"
	desc = "EVTDESCgodmarket.2"
	picture = GFX_evt_god_01
	border = GFX_event_normal_frame_war
	is_triggered_only = yes
		option = {
		name = EVTOPTAgodmarket.2
		trigger = {
			wealth = 536
			NOT = { trait = Silver_Set }
		}
		hidden_tooltip = {
			remove_trait = No_Set
		}
		add_trait = Silver_Set
		wealth = -536
		hidden_tooltip = {
                    character_event = {
							id = godmarket.2
                    }
				}	
	}
		option = {
		name = EVTOPTBgodmarket.2
		trigger = {
			wealth = 938
			NOT = { trait = Gold_Set }
		}
		hidden_tooltip = {
			remove_trait = No_Set
		}
		add_trait = Gold_Set
		wealth = -938
		hidden_tooltip = {
                    character_event = {
							id = godmarket.2
                    }
				}	
	}
		option = {
		name = EVTOPTCgodmarket.2A
		trigger = {
			wealth = 8803
			NOT = { trait = Light_Set }
			OR = {
				trait = God
				trait = Goddess
			}
		}
		hidden_tooltip = {
			remove_trait = No_Set
		}
		add_trait = Light_Set
		wealth = -8803
		hidden_tooltip = {
                    character_event = {
							id = godmarket.2
                    }
				}	
	}
		option = {
		name = EVTOPTCgodmarket.2B
		trigger = {
			wealth = 8803
			NOT = { trait = Dark_Set }
			OR = {
				trait = Fallen_God
				trait = Fallen_Goddess
			}
		}
		hidden_tooltip = {
			remove_trait = No_Set
		}
		add_trait = Dark_Set
		wealth = -8803
		hidden_tooltip = {
                    character_event = {
							id = godmarket.2
                    }
				}	
	}
		option = {
		name = EVTOPTDgodmarket.2
                hidden_tooltip = {
                    character_event = {
							id = godmarket.0
                    }
				}		
	}
}