1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-06 00:23:49 +02:00
ComfyFactorio/modules/backpack_research.lua
2019-03-13 17:09:06 +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)