-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinventions.txt
62 lines (53 loc) · 851 Bytes
/
inventions.txt
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
namespace = invention
invention.1 = {
type = country_event
hidden = yes
trigger = {
NOT = {
has_variable = inv_check
}
OR = {
military_tech = 0
mil_tech_check = 0
ora_tech_check = 0
civ_tech_check = 0
rel_tech_check = 0
}
}
immediate = {
if = {
limit = {
OR = {
military_tech = 0
OR = {
military_tech >= 5
oratory_tech >= 5
civic_tech >= 5
religious_tech >= 5
}
}
}
#debug_log = "add inventions"
add_innovation = 4
set_variable = {
name = inv_check
value = 1
}
}
}
}
invention.2 = {
type = country_event
hidden = yes
trigger = {
has_variable = inv_check
mil_tech_check > 0
ora_tech_check > 0
civ_tech_check > 0
rel_tech_check > 0
}
immediate = {
#debug_log = "remove inventions"
remove_variable = inv_check
}
}