mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Factorio: no longer lock starting_items behind free_samples
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user