-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathdata-updates.lua
22 lines (18 loc) · 1.15 KB
/
data-updates.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
local Recipe = require('__stdlib__/stdlib/data/recipe')
require('prototypes/technology/shortcuts')
-- bobmods recipe changes
if mods['boblibrary'] then
local key = 'bobmods-logistics-disableroboports'
if settings["startup"][key] and settings["startup"][key].value then
Recipe('roboport-interface'):replace_ingredient('roboport', 'bob-logistic-zone-expander')
end
Recipe('gun-nano-emitter'):replace_ingredient('electronic-circuit', 'basic-circuit-board')
Recipe('ammo-nano-constructors'):replace_ingredient('electronic-circuit', 'basic-circuit-board')
Recipe('ammo-nano-termites'):replace_ingredient('electronic-circuit', 'basic-circuit-board')
Recipe('equipment-bot-chip-items'):add_ingredient('robot-brain-construction')
Recipe('equipment-bot-chip-trees'):add_ingredient('robot-brain-construction')
Recipe('equipment-bot-chip-nanointerface'):add_ingredient('robot-brain-construction')
Recipe('equipment-bot-chip-nanointerface'):add_ingredient('gun-nano-emitter')
Recipe('equipment-bot-chip-launcher'):add_ingredient('robot-brain-combat')
Recipe('equipment-bot-chip-feeder'):add_ingredient('robot-brain-combat')
end