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
sci1 = (pop_after / pop_before) * irandom_range(1, 3); // Make bombard corruption reduction random to encourage other forms of purging // TODO MEDIUM BOMBARD_CORRUPTION // Tweak numbers
31
+
heres_after = heres_before - sci1;
32
+
}
33
33
34
34
if (star_system.p_type[planet_number]!="Space Hulk"){
35
35
var bombard_protection=1;
@@ -231,21 +231,32 @@ function scr_bomb_world(star_system, planet_number, bombard_target_faction, bomb
231
231
if (kill>0) then kill=min(star_system.p_population[planet_number],kill);
232
232
233
233
txt3=""; // Life is the Emperor's currency. Spend it well
234
-
if (pop_before > 0 && star_system.p_type[planet_number] != "Daemon") {
txt3 += $"##The world had {_displayed_population} Imperium subjects. {_displayed_killed} died over the duration of the bombardment,##Heresy has fallen down to {max(0, heres_after)}%.";
//pip.text=txt1+txt2+txt3+" "+string(sci1)+" "+string(heres_before)+" "+string(heres_after); // TODO LOW DEBUG_INFLUENCE // Put in debug code path and make it clearer
0 commit comments