1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-08 00:39:30 +02:00
ComfyFactorio/modules/backpack_research.lua

10 lines
373 B
Lua
Raw Normal View History

2019-02-10 06:16:01 +02:00
-- 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 * 100
2019-02-10 06:16:01 +02:00
end
2019-02-10 06:16:01 +02:00
event.add(defines.events.on_research_finished, on_research_finished)