SE+K2+Bobs recipe fixes
This commit is contained in:
parent
fc3a955594
commit
0a946a2c36
3 changed files with 6 additions and 3 deletions
|
|
@ -4,6 +4,9 @@ Date: 2023-12-29
|
||||||
Fixes:
|
Fixes:
|
||||||
- Silver brazing alloy can now be handcrafted even when foundry is available.
|
- Silver brazing alloy can now be handcrafted even when foundry is available.
|
||||||
This addresses some awkward progressions.
|
This addresses some awkward progressions.
|
||||||
|
- SE + K2 + Bob's: Fix some electronics recipes including silver alternates and circuit boards.
|
||||||
|
Unfortunately, this means "mainboard" items will end up deleted from savegames using all 3 of
|
||||||
|
those mods, as there's no good way to migrate them.
|
||||||
Changes:
|
Changes:
|
||||||
- SE: Meteor/umbrella defense tech requires rocket science packs
|
- SE: Meteor/umbrella defense tech requires rocket science packs
|
||||||
- Bob's: Merge CPU/CPUs items into one. (Might need further balancing or progression changes.)
|
- Bob's: Merge CPU/CPUs items into one. (Might need further balancing or progression changes.)
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@ local util = require("data-util");
|
||||||
|
|
||||||
|
|
||||||
if util.me.silver() then
|
if util.me.silver() then
|
||||||
if mods.bobelectronics then
|
if mods.bobelectronics or mods.MDbobelectronics then
|
||||||
-- alternate electronic circuit recipe that uses silver
|
-- alternate electronic component recipe that uses silver
|
||||||
local ec = futil.table.deepcopy(data.raw.recipe["basic-electronic-components"])
|
local ec = futil.table.deepcopy(data.raw.recipe["basic-electronic-components"])
|
||||||
ec.name = "basic-electronic-components-silver"
|
ec.name = "basic-electronic-components-silver"
|
||||||
data:extend({ec})
|
data:extend({ec})
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
local util = require("data-util");
|
local util = require("data-util");
|
||||||
|
|
||||||
|
|
||||||
if not mods.bobelectronics then
|
if not (mods.bobelectronics or mods.MDbobelectronics) then
|
||||||
|
|
||||||
data:extend({
|
data:extend({
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue