-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
227 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
data:extend({ | ||
|
||
-- Create new intermediary products unique to science pack creation. | ||
-- =================================================================== | ||
|
||
-- Blue-Science Intermediary products. | ||
-- ============================= | ||
-- Quantum Plating | ||
{ | ||
type = "item", | ||
name = "sct-bm4-plating", | ||
icon = "__ScienceCostTweaker__/graphics/icons/iron-core.png", | ||
flags = {"goes-to-main-inventory"}, | ||
subgroup = "intermediate-product", | ||
order = "a[bm4-plating]", | ||
stack_size = 200 | ||
}, | ||
|
||
|
||
-- Old cost = 1x Express transport belt = 21.5x Iron plate, 2x Heavy Oil (5 steps) | ||
-- New cost = Carbon + Cobalt Steel + Invar ( steps) | ||
{ | ||
type = "recipe", | ||
name = "sct-bm4-plating", | ||
category = "crafting-with-fluid", | ||
enabled = false, | ||
energy_required = 20.5, | ||
ingredients = | ||
{ | ||
{"iron-plate", 8}, | ||
{type="fluid", name="lubricant", amount=2}, | ||
{"invar-alloy", 1}, | ||
{"cobalt-steel-alloy", 1}, | ||
{"carbon", 2}, | ||
}, | ||
results = | ||
{ | ||
{type="item", name="sct-bm4-plating", amount=1}, | ||
}, | ||
}, | ||
|
||
-- Particle Injector | ||
{ | ||
type = "item", | ||
name = "sct-bm4-injector", | ||
icon = "__ScienceCostTweaker__/graphics/icons/magnet-coils.png", | ||
flags = {"goes-to-main-inventory"}, | ||
subgroup = "intermediate-product", | ||
order = "a[bm4-injector]", | ||
stack_size = 200 | ||
}, | ||
|
||
-- Old cost = 1x Processing Unit = ( steps) | ||
-- New cost = 1x Processing Unit, ( steps) | ||
{ | ||
type = "recipe", | ||
name = "sct-bm4-injector", | ||
enabled = false, | ||
energy_required = 20.5, | ||
ingredients = | ||
{ | ||
{"processing-unit", 1}, | ||
}, | ||
results = | ||
{ | ||
{type="item", name="sct-bm4-injector", amount=1}, | ||
}, | ||
}, | ||
|
||
-- Superconductive Coils | ||
{ | ||
type = "item", | ||
name = "sct-bm4-supercoils", | ||
icon = "__ScienceCostTweaker__/graphics/icons/iron-core.png", | ||
flags = {"goes-to-main-inventory"}, | ||
subgroup = "intermediate-product", | ||
order = "a[bm4-supercoils]", | ||
stack_size = 200 | ||
}, | ||
|
||
-- Old cost = 1x Silicon Nitride = ( steps) | ||
-- New cost = ( steps) | ||
{ | ||
type = "recipe", | ||
name = "sct-bm4-supercoils", | ||
enabled = false, | ||
energy_required = 20.5, | ||
ingredients = | ||
{ | ||
{"silicon-nitride", 1}, | ||
}, | ||
results = | ||
{ | ||
{type="item", name="sct-bm4-supercoils", amount=1}, | ||
}, | ||
}, | ||
|
||
-- Energy Bank | ||
{ | ||
type = "item", | ||
name = "sct-bm4-capbank", | ||
icon = "__ScienceCostTweaker__/graphics/icons/magnet-coils.png", | ||
flags = {"goes-to-main-inventory"}, | ||
subgroup = "intermediate-product", | ||
order = "a[bm4-capbank]", | ||
stack_size = 200 | ||
}, | ||
|
||
-- Old cost = ( steps) | ||
-- New cost = ( steps) | ||
{ | ||
type = "recipe", | ||
name = "sct-bm4-capbank", | ||
enabled = false, | ||
energy_required = 20.5, | ||
ingredients = | ||
{ | ||
{"lithium-ion-battery", 1}, | ||
}, | ||
results = | ||
{ | ||
{type="item", name="sct-bm4-capbank", amount=1}, | ||
}, | ||
}, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
-- Make technology research enable the new BobsMods tiers | ||
-- =================================================================== | ||
-- Tier BobsMod 4, enabled by the "Advanced Research" research | ||
table.insert(data.raw.technology["advanced-research"].effects,{type = "unlock-recipe", recipe = "sct-bm4-plating"}) | ||
table.insert(data.raw.technology["advanced-research"].effects,{type = "unlock-recipe", recipe = "sct-bm4-injector"}) | ||
table.insert(data.raw.technology["advanced-research"].effects,{type = "unlock-recipe", recipe = "sct-bm4-supercoils"}) | ||
table.insert(data.raw.technology["advanced-research"].effects,{type = "unlock-recipe", recipe = "sct-bm4-capbank"}) | ||
|
||
-- Update the Bob's Mods Tech labs and science packs | ||
-- =================================================================== | ||
-- Change the recipe for new lab. | ||
data.raw.recipe["lab-2"].ingredients = | ||
{ | ||
{"sct-lab-4", 1}, | ||
{"advanced-circuit", 10}, | ||
{"smart-inserter", 4}, | ||
{"copper-cable", 400} | ||
} | ||
|
||
-- Make Lab Mk2 consume more power than Quantum lab. | ||
data.raw["lab"]["lab-2"].energy_usage = "3MW" | ||
-- Make Lab Mk2 research at normal speed. | ||
data.raw["lab"]["lab-2"].researching_speed = 1 -- Normally 2 | ||
-- Make Lab Mk2 not have any module slots. | ||
data.raw["lab"]["lab-2"].module_specification.module_slots = 0 | ||
|
||
-- Change the recipe for Science-Pack-4 (Dark Blue). | ||
data.raw.recipe["science-pack-4"].ingredients = | ||
{ | ||
{"sct-bm4-plating", 1}, | ||
{"sct-bm4-injector", 1}, | ||
{"sct-bm4-supercoils", 1}, | ||
{"sct-bm4-capbank", 1} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
local science_packs_and_intermediates = { | ||
"science-pack-1", | ||
"science-pack-2", | ||
"science-pack-3", | ||
"alien-science-pack", | ||
"science-pack-4", | ||
"science-pack-gold", | ||
"sct-t1-ironcore", | ||
"sct-t1-magnet-coils", | ||
"sct-t2-reaction-nodes", | ||
"sct-t2-instruments", | ||
"sct-t2-microcircuits", | ||
"sct-t2-micro-wafer", | ||
"sct-t2-wafer-stamp", | ||
"sct-t3-flash-fuel", | ||
"sct-t3-laser-foci", | ||
"sct-t3-laser-emitter", | ||
"sct-t3-femto-lasers", | ||
"sct-t3-atomic-sensors", | ||
"sct-t4-bioprocessor", | ||
"sct-t4-overclocker", | ||
"sct-bm4-plating", | ||
"sct-bm4-injector", | ||
"sct-bm4-supercoils", | ||
"sct-bm4-capbank" | ||
} | ||
|
||
local finallist = {} | ||
|
||
-- Go through all the recipes defined in the science pack and intermidate list. | ||
-- For any of them that exist, add them to the final list of things to limit. | ||
for j, recipeName in pairs(science_packs_and_intermediates) do | ||
if data.raw.recipe[recipeName] then | ||
table.insert(finallist, recipeName) | ||
end | ||
end | ||
bobmods.lib.add_productivity_limitations(finallist) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
-- Use the new labs new tiered labs. | ||
require("tweaks.newlabs") | ||
require("tweaks.tweakedsciencepacks") | ||
require("tweaks.newIntermediates.newlabs") | ||
require("tweaks.newIntermediates.tweakedsciencepacks") |