1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-10 00:43:27 +02:00
ComfyFactorio/maps/modules/backpack_research.lua
2019-02-10 05:16:01 +01:00

10 lines
374 B
Lua

-- backpack research -- researching mining efficiency increases your backpack capacity (inventory slots)
local event = require 'utils.event'
local function on_research_finished(event)
event.research.force.character_inventory_slots_bonus = game.forces.player.mining_drill_productivity_bonus * 500
end
event.add(defines.events.on_research_finished, on_research_finished)