File size: 1,964 Bytes
37a34fd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# Override TGE's choices if asked
CM_override_tge_trade_goods = {
  # Cloth
  every_province = {
    limit = {
      has_province_flag = CM_use_cloth_if_overridden
    }
    change_trade_goods = cloth
  }
  # Iron
  every_province = {
    limit = {
      has_province_flag = CM_use_iron_if_overridden
    }
    change_trade_goods = iron
  }
}

# Use TGE's goods for all provinces
CM_use_tge_trade_goods = {
  # Horses
  if = {
    limit = {
      NOT = { has_global_flag = No_Horses }
    }
    every_province = {
      limit = {
        has_province_flag = CM_use_tge_horses
      }
      change_trade_goods = horses
    }
  }
  # Cheese
  if = {
    limit = {
      NOT = { has_global_flag = No_Cheese }
    }
    every_province = {
      limit = {
        has_province_flag = CM_use_tge_cheese
      }
      change_trade_goods = cheese
    }
  }
  # Beer
  if = {
    limit = {
      NOT = { has_global_flag = No_Beer }
    }
    every_province = {
      limit = {
        has_province_flag = CM_use_tge_beer
      }
      change_trade_goods = beer
    }
  }
  # Apiculture
  if = {
    limit = {
      NOT = { has_global_flag = No_Apiculture }
    }
    every_province = {
      limit = {
        has_province_flag = CM_use_tge_apiculture
      }
      change_trade_goods = apiculture
    }
  }
  # Lumber
  if = {
    limit = {
      NOT = { has_global_flag = No_Lumber }
    }
    every_province = {
      limit = {
        has_province_flag = CM_use_tge_lumber
      }
      change_trade_goods = lumber
    }
  }
  # Seafood
  if = {
    limit = {
      NOT = { has_global_flag = No_Seafood }
    }
    every_province = {
      limit = {
        has_province_flag = CM_use_tge_seafood
      }
      change_trade_goods = seafood
    }
  }
  # Amber
  if = {
    limit = {
      NOT = { has_global_flag = No_Amber }
    }
    every_province = {
      limit = {
        has_province_flag = CM_use_tge_amber
      }
      change_trade_goods = amber
    }
  }
}