on_actions = {
	on_weekly = {
		effect = {
			###############################################
			set_variable = {
				var = mils_amount_cost_rise
				value = num_of_military_factories
			}
			multiply_variable = {
				var = mils_amount_cost_rise
				value = 0.007
			}
			if = {
				limit = {
					check_variable = { mils_amount_cost_rise <-0.90 }
				}
				set_variable = {
					var = mils_amount_cost_rise
					value = -1.00
				}
			}
			###############################################
			set_variable = {
				var = civs_amount_cost_rise
				value = num_of_civilian_factories
			}
			multiply_variable = {
				var = civs_amount_cost_rise
				value = 0.005
			}
			if = {
				limit = {
					check_variable = { civs_amount_cost_rise <-0.90 }
				}
				set_variable = {
					var = civs_amount_cost_rise
					value = -1.00
				}
			}
			##############################################
			set_variable = {
				var = docks_amount_cost_rise
				value = num_of_naval_factories
			}
			multiply_variable = {
				var = docks_amount_cost_rise
				value = 0.010
			}
			if = {
				limit = {
					check_variable = { docks_amount_cost_rise <-0.75 }
				}
				set_variable = {
					var = docks_amount_cost_rise
					value = -1.00
				}
			}
			##############################################
		}
	}
}