forked from Aetherum17/WWU
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathArchaeology.txt
73 lines (60 loc) · 1.88 KB
/
Archaeology.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
63
64
65
66
67
68
69
70
71
72
73
country_decisions = {
start_archeological_project = {
potential = {
has_global_flag = enabled_archaeology_mechanics
NOT = { has_country_flag = excavation_decision_used }
NOT = { has_country_flag = archaeology_dig_decision_cooldown }
# Not available in only provinces are Argus/Elemental Planes
any_owned_province = {
is_valid_digsite = yes
}
}
allow = {
is_allowed_to_dig = yes
custom_trigger_tooltip = {
tooltip = HAS_NOT_STARTED_ARCHAEOLOGICAL_DIG
NOT = { has_country_flag = excavation_decision_used }
}
adm_power = 50
dip_power = 50
mil_power = 50
}
effect = {
add_adm_power = -50
add_dip_power = -50
add_mil_power = -50
country_event = { id = wwu_archaeology.1 }
hidden_effect = {
set_country_flag = excavation_decision_used
add_country_modifier = {
name = archaeology_dig_decision_cooldown
duration = 1800
hidden = yes
}
}
}
ai_will_do = {
factor = 1
modifier = {
factor = 0
# Stop after 3 artifacts
calc_true_if = {
amount = 3
has_any_artifact = yes
}
}
modifier = {
factor = 0
NOT = { adm_power = 600 }
}
modifier = {
factor = 0
NOT = { dip_power = 600 }
}
modifier = {
factor = 0
NOT = { mil_power = 600 }
}
}
}
}