forked from github/server
eliminate kill_nonstarters
This commit is contained in:
parent
9940025a96
commit
fa256360b9
|
@ -93,7 +93,7 @@
|
|||
<skill name="taxation" 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.wormholes" value="0"/>
|
||||
<param name="modules.markets" value="1"/>
|
||||
|
|
|
@ -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)
|
||||
for idx, fno in ipairs(multis) do
|
||||
local f = get_faction(fno)
|
||||
|
|
|
@ -36,9 +36,6 @@ function process(orders)
|
|||
spawn_dragons()
|
||||
spawn_undead()
|
||||
|
||||
if get_turn()>=config.kill_after then
|
||||
kill_nonstarters()
|
||||
end
|
||||
-- post-turn updates:
|
||||
update_guards()
|
||||
update_scores()
|
||||
|
|
|
@ -42,7 +42,6 @@ function process(orders)
|
|||
-- spawn_braineaters(0.25)
|
||||
-- spawn_ents()
|
||||
|
||||
kill_nonstarters()
|
||||
-- post-turn updates:
|
||||
update_guards()
|
||||
update_scores()
|
||||
|
|
Loading…
Reference in New Issue