You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scripts/scr_purge_world/scr_purge_world.gml
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -160,18 +160,18 @@ function scr_purge_world(star, planet, action_type, action_score) {
160
160
if (pop_before>0) and (pop_after=0) then heres_after=0;
161
161
162
162
var nid_influence = star.p_influence[planet][eFACTION.Tyranids];
163
-
if (planet_feature_bool(star.p_feature[planet], P_features.Gene_Stealer_Cult)){
164
-
var cult = return_planet_features(star.p_feature[planet], P_features.Gene_Stealer_Cult)[0];
165
-
if (cult.hiding){
166
-
167
-
}
168
-
} else {
169
-
if (nid_influence>25){
170
-
txt1 += "Scores of mutant offspring from a genestealer infestation are burnt, while the situation is grave the mutants appear to lack the organisation of a true cult";
if (star.p_large[planet]=0) then pop_after=round(pop_after);
163
+
if (planet_feature_bool(star.p_feature[planet], P_features.Gene_Stealer_Cult)){
164
+
var cult = return_planet_features(star.p_feature[planet], P_features.Gene_Stealer_Cult)[0];
165
+
if (cult.hiding) {}
166
+
} else {
167
+
if (nid_influence > 25) {
168
+
txt1 += " Scores of mutant offspring from a genestealer infestation are burnt, while we have damaged their influence over this world, the mutants appear to lack the organisation of a true cult";
txt1 += " There are signs of a genestealer infestation but the cultists are too unorganized to do any real damage to their influence on this world";
172
+
}
173
+
}
174
+
if (star.p_large[planet]=0) then pop_after=round(pop_after);
175
175
if (pop_after<=0) and (pop_before>0) then heres_after=0;
176
176
if (star.p_large[planet]=0) then txt1+="##The planet had a population of "+string(scr_display_number(floor(pop_before)))+" and "+string(scr_display_number(floor(kill)))+" were purged over the duration of the cleansing.##Heresy has fallen down to "+string(max(0,heres_after))+"%.";
177
177
if (star.p_large[planet]=1) then txt1+="##The planet had a population of "+string(pop_before)+" billion and "+string(scr_display_number(action_score*12000))+" were purged over the duration of the cleansing.##Heresy has fallen down to "+string(max(0,heres_after))+"%.";
0 commit comments