-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.go
135 lines (134 loc) · 4.05 KB
/
main.go
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
package main
func main() {
events := []Event{
{
EventType: "country_event",
Picture: "interesting_histories_southern_india",
Hidden: false,
FireOnlyOnce: false,
GotoLocation: "",
LeftPortrait: "",
RightPortrait: "",
WeightMultiplier: "",
Trigger: "",
Immediate: "",
Options: []Option{
{
Effects: "\t\tcurrent_ruler = {\n" +
"\t\t\tadd_charisma = 2\n" +
"\t\t\tadd_charisma = 2\n" +
"\t\t\tadd_zeal = 2\n" +
"\t\t\tadd_finesse = 2\n" +
"\t\t\tadd_martial = 2\n" +
"\t\t\tadd_popularity = 25\n" +
"\t\t\tadd_nickname = NICKNAME_THE_GREAT\n" +
"\t\t}\n\n" +
"\t\tadd_country_modifier = {\n" +
"\t\t\tname = restored_babylon\n" +
"\t\t\tduration = 3650\n" +
"\t\t}\n\n" +
"\t\tadd_innovation = 4\n" +
"\t\tadd_4_free_province_investments = yes\n" +
"\t\tadd_political_influence = 50\n" +
"\t\tadd_treasury = 350\n\n" +
"\t\thidden_effect = {\n" +
"\t\t\tif = {\n" +
"\t\t\t\tlimit = {\n" +
"\t\t\t\t\thas_variable = formed_babylon_inv\n" +
"\t\t\t\t}\n" +
"\t\t\t\tremove_variable = formed_babylon_inv\n" +
"\t\t\t}\n" +
"\t\t}\n",
},
},
After: "",
},
{
EventType: "country_event",
Picture: "interesting_histories_southern_india",
Hidden: false,
FireOnlyOnce: false,
GotoLocation: "",
LeftPortrait: "current_ruler",
RightPortrait: "",
WeightMultiplier: "",
Trigger: "",
Immediate: "",
Options: []Option{
{
Effects: "\t\tadd_political_influence = -65\n" +
"\t\tchange_government = babylonian_bureaucracy\n",
},
{
Effects: "\t\tadd_political_influence = 35\n",
},
},
After: "",
},
{
EventType: "country_event",
Picture: "interesting_histories_southern_india",
Hidden: false,
FireOnlyOnce: false,
GotoLocation: "",
LeftPortrait: "current_ruler",
RightPortrait: "",
WeightMultiplier: "",
Trigger: "",
Immediate: "immediate = {\n" +
" custom_tooltip = me_tylos_3_i_tt\n" +
" hidden_effect = {\n" +
" area:babylonia_area = { every_area_province = { add_claim = root } }\n" +
" }\n" +
" p:918.owner = {\n" +
" add_opinion = { modifier = declare_babylon_intent_realtion_tylos target = root }\n" +
" if = {\n" +
" limit = {\n" +
" root = {\n" +
" NOT = { is_subject_of = prev }\n" +
" }\n" +
" }\n" +
" release_subject = root\n" +
" }\n" +
" }\n" +
" random_country_culture = {\n" +
" limit = {\n" +
" is_culture = babylonian\n" +
" }\n" +
" add_country_culture_modifier = {\n" +
" name = memory_of_babylon\n" +
" duration = 9125\n" +
" }\n" +
" }\n" +
" }",
Options: []Option{
{
Effects: "\t\tcustom_tooltip = me_tylos_3_a_tt\n" +
"\t\thidden_effect = {\n" +
"\t\t\tarea:beth_daraye_area = { every_area_province = { add_claim = root } }\n" +
"\t\t\tarea:asoristan_area = { every_area_province = { add_claim = root } }\n" +
"\t\t\tarea:tigris_area = { every_area_province = { add_claim = root } }\n" +
"\t\t}\n" +
"\t\tadd_aggressive_expansion = 15\n" +
"\t\tadd_tyranny = 10\n" +
"\t\tadd_political_influence = -30\n",
},
{
Effects: "\t\tcustom_tooltip = me_tylos_3_a_tt\n" +
"\t\thidden_effect = {\n" +
"\t\t\tarea:beth_daraye_area = { every_area_province = { add_claim = root } }\n" +
"\t\t\tarea:asoristan_area = { every_area_province = { add_claim = root } }\n" +
"\t\t\tarea:tigris_area = { every_area_province = { add_claim = root } }\n" +
"\t\t}\n" +
"\t\tadd_aggressive_expansion = 15\n" +
"\t\tadd_tyranny = 10\n" +
"\t\tadd_political_influence = -30\n",
},
},
After: "",
},
}
eventFile := EventFile{"", "", "me_tylos_test"}
eventFile.makeFile(events)
eventFile.makeLocFile(events)
}