﻿gold_button_init
{
	scope = country
	
	saved_scopes = {
		player
	}
	ai_is_valid = {
		always = no
	}

	effect = {
		add_treasury = 100

		every_subject = {
			root = {
				add_to_variable_list = { 
					name = player_subjects
					target = prev
				}
			}
		}
	}
}

gold_button_test
{
	scope = country
	
	saved_scopes = {
		player
	}
	ai_is_valid = {
		always = no
	}
	is_valid = 
	{
		is_target_in_variable_list = { 
			name = player_subjects 
			target = root 
		}
	}

	effect = {
		add_treasury = 1000		
	}
}