eliminate kill_nonstarters

This commit is contained in:
Enno Rehling 2014-06-03 06:29:33 +02:00
parent 9940025a96
commit fa256360b9
4 changed files with 1 additions and 13 deletions

View File

@ -93,7 +93,7 @@
<skill name="taxation" enable="false"/> <skill name="taxation" enable="false"/>
<skill name="trade" enable="false"/> <skill name="trade" enable="false"/>
<param name="NewbieImmunity" value="4"/>- <param name="NewbieImmunity" value="4"/>
<param name="modules.astralspace" value="0"/> <param name="modules.astralspace" value="0"/>
<param name="modules.wormholes" value="0"/> <param name="modules.wormholes" value="0"/>
<param name="modules.markets" value="1"/> <param name="modules.markets" value="1"/>

View File

@ -1,11 +1,3 @@
function kill_nonstarters()
for f in factions() do
if f.lastturn==0 then
kill_faction(f, true)
end
end
end
function kill_multis(multis, destructive) function kill_multis(multis, destructive)
for idx, fno in ipairs(multis) do for idx, fno in ipairs(multis) do
local f = get_faction(fno) local f = get_faction(fno)

View File

@ -36,9 +36,6 @@ function process(orders)
spawn_dragons() spawn_dragons()
spawn_undead() spawn_undead()
if get_turn()>=config.kill_after then
kill_nonstarters()
end
-- post-turn updates: -- post-turn updates:
update_guards() update_guards()
update_scores() update_scores()

View File

@ -42,7 +42,6 @@ function process(orders)
-- spawn_braineaters(0.25) -- spawn_braineaters(0.25)
-- spawn_ents() -- spawn_ents()
kill_nonstarters()
-- post-turn updates: -- post-turn updates:
update_guards() update_guards()
update_scores() update_scores()