Factorio: no longer lock starting_items behind free_samples
This commit is contained in:
parent
fa24fd31d0
commit
4efd27694a
|
@ -17,9 +17,7 @@ function on_force_created(event)
|
||||||
--event.force appears to be LuaForce.name, not LuaForce
|
--event.force appears to be LuaForce.name, not LuaForce
|
||||||
game.forces[event.force].research_queue_enabled = true
|
game.forces[event.force].research_queue_enabled = true
|
||||||
local data = {}
|
local data = {}
|
||||||
if FREE_SAMPLES ~= 0 then
|
data['earned_samples'] = {{ dict_to_lua(starting_items) }}
|
||||||
data['earned_samples'] = {{ dict_to_lua(starting_items) }}
|
|
||||||
end
|
|
||||||
data["victory"] = 0
|
data["victory"] = 0
|
||||||
global.forcedata[event.force] = data
|
global.forcedata[event.force] = data
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue