Skip to content

Commit dd54b61

Browse files
committed
Merge branch 'dev'
2 parents f0f7a36 + 5450ba0 commit dd54b61

File tree

191 files changed

+15400
-1479
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

191 files changed

+15400
-1479
lines changed

common/anomalies/mem_splinter_colony_cateogry.txt

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ mem_splinter_colony_category = {
66
level = 3
77

88
max_once = yes
9+
null_spawn_chance = 0.40 # 60% chance to spawn
910

10-
spawn_chance = {
11+
spawn_chance = {
1112
modifier = {
1213
OR = {
1314
is_planet_class = pc_barren
@@ -17,14 +18,16 @@ mem_splinter_colony_category = {
1718
add = 1
1819
}
1920
modifier = {
20-
AND = {
21-
habitable_planet = yes
22-
NOR = {
23-
is_planet_class = pc_relic
24-
is_planet_class = pc_city
25-
}
26-
}
27-
add = 5
21+
habitable_planet_not_urban = yes
22+
NOT = {
23+
exists = owner
24+
}
25+
add = 10
26+
}
27+
modifier = {
28+
habitable_planet_not_urban = yes
29+
exists = owner
30+
add = 1
2831
}
2932
}
3033

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Riftworld Origin
2+
mem_eden_protocol_devolve_relic_digsite = {
3+
desc = mem_eden_protocol_devolve_relic_digsite_desc
4+
picture = GFX_evt_riftworld_archsite_crater
5+
stages = 4
6+
weight = 0
7+
max_instances = 999
8+
notification_duration = 30
9+
10+
allow = {
11+
is_ship_class = shipclass_science_ship
12+
exists = leader
13+
}
14+
15+
potential = {
16+
}
17+
18+
visible = {
19+
default_site_visible_trigger = yes
20+
}
21+
22+
stage = {
23+
difficulty = 2
24+
icon = GFX_archaeology_runes_A1
25+
event = mem_eden_protocol.111
26+
}
27+
28+
stage = {
29+
difficulty = 3
30+
icon = GFX_archaeology_runes_A2
31+
event = mem_eden_protocol.112
32+
}
33+
34+
stage = {
35+
difficulty = 3
36+
icon = GFX_archaeology_runes_A3
37+
event = mem_eden_protocol.113
38+
}
39+
40+
stage = {
41+
difficulty = 4
42+
icon = GFX_archaeology_runes_A4
43+
event = mem_eden_protocol.114
44+
}
45+
46+
on_roll_failed = {
47+
from = {
48+
standard_archaeological_site_on_roll_failed = { RANDOM_EVENTS = all_random_events }
49+
}
50+
}
51+
}
Lines changed: 66 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
ap_defender_of_the_galaxy = {
2-
possible = {
3-
custom_tooltip = {
4-
fail_text = "requires_ascension_perks_3"
5-
num_ascension_perks > 2
6-
}
7-
}
8-
modifier = {
2+
possible = {
3+
custom_tooltip = {
4+
fail_text = "requires_ascension_perks_3"
5+
num_ascension_perks > 2
6+
}
7+
}
8+
modifier = {
99
description = ap_defender_of_the_galaxy_modifier_desc
10+
damage_vs_country_type_synth_queen_mult = 0.5
1011
damage_vs_country_type_swarm_mult = 0.5
1112
damage_vs_country_type_extradimensional_mult = 0.5
1213
damage_vs_country_type_extradimensional_2_mult = 0.5
@@ -15,27 +16,63 @@ ap_defender_of_the_galaxy = {
1516
damage_vs_country_type_gray_goo_mult = 0.5
1617
damage_vs_player_crisis_mult = 0.5
1718
damage_vs_country_type_mem_vazurans_mult = 0.5
18-
}
19+
}
1920

20-
on_enabled = {
21-
custom_tooltip = "ap_defender_of_the_galaxy_effect_opinion"
22-
# see triggered_opinion_ap_defender_of_the_galaxy
23-
}
24-
25-
potential = {
26-
NOT = {
27-
has_ascension_perk = ap_defender_of_the_galaxy
28-
}
29-
}
30-
31-
ai_weight = {
32-
factor = 20
33-
modifier = {
34-
factor = 0
35-
NOR = {
36-
has_global_flag = galactic_crisis_happened
37-
has_global_flag = gray_goo_crisis_active
38-
}
39-
}
40-
}
21+
on_enabled = {
22+
custom_tooltip = "ap_defender_of_the_galaxy_effect_opinion"
23+
# see triggered_opinion_ap_defender_of_the_galaxy
24+
}
25+
26+
potential = {
27+
NOT = {
28+
has_ascension_perk = ap_defender_of_the_galaxy
29+
}
30+
}
31+
32+
ai_weight = {
33+
factor = 5
34+
modifier = {
35+
factor = 5
36+
OR = {
37+
has_crisis = yes
38+
any_country = {
39+
relative_power = {
40+
who = prev
41+
value > equivalent
42+
}
43+
has_ascension_perk = ap_become_the_crisis
44+
}
45+
}
46+
}
47+
modifier = {
48+
factor = 0
49+
NOR = {
50+
is_xenophile = yes
51+
is_galactic_custodian = yes
52+
is_galactic_emperor = yes
53+
any_country = {
54+
has_crisis_level = crisis_level_5
55+
is_crisis_faction = yes
56+
}
57+
}
58+
}
59+
modifier = {
60+
factor = 100
61+
OR = {
62+
is_galactic_custodian = yes
63+
is_galactic_emperor = yes
64+
}
65+
}
66+
modifier = {
67+
factor = 0.25
68+
NOT = {
69+
any_country = {
70+
OR = {
71+
has_crisis_level = crisis_level_5
72+
is_crisis_faction = yes
73+
}
74+
}
75+
}
76+
}
77+
}
4178
}
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
mem_eden_protocol_devolve = {
2+
trigger = {
3+
owner = {
4+
OR = {
5+
has_relic = r_mem_eden_protocol_devolve_relic
6+
AND = {
7+
owner = { is_country_type = enclave_mercenary }
8+
root.controller = {
9+
has_relic = r_mem_eden_protocol_devolve_relic
10+
}
11+
}
12+
}
13+
}
14+
}
15+
16+
default = no
17+
18+
stop_when_armies_dead = no
19+
abduct_pops = no
20+
21+
planet_damage = 0.8
22+
army_damage = 1
23+
24+
kill_pop_chance = { # should kill some in the process like other bombardments
25+
base = 1
26+
#modifier = {
27+
# factor = 0
28+
# OR = {
29+
# pop_has_trait = trait_machine_unit
30+
# pop_has_trait = trait_mechanical
31+
# }
32+
#}
33+
}
34+
min_pops_to_kill_pop = 0
35+
36+
# root = fleet
37+
# from = planet
38+
ai_weight = {
39+
weight = 10
40+
modifier = {
41+
factor = 0
42+
exists = from
43+
from = {
44+
owner = { is_country_type = primitive }
45+
}
46+
}
47+
}
48+
}

common/buildings/mem_death_world_buildings.txt

Lines changed: 0 additions & 34 deletions
This file was deleted.

common/buildings/mem_disguised_planet_buildings.txt

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)