Skip to content

Commit 6cd11d0

Browse files
authored
Merge pull request #38 from FactorioTrainwreck/master
0.18 update @FactorioTrainwreck
2 parents 1309510 + 32284d9 commit 6cd11d0

File tree

6 files changed

+69
-4
lines changed

6 files changed

+69
-4
lines changed

changelog.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
---------------------------------------------------------------------------------------------------
2+
Version: 0.18.0
3+
Date: 2. 2. 2020
4+
Changes:
5+
- Factorio 0.18 update
6+
- Add second flash fuel cell recipe to fix issues with recent base game oil changes
7+
Bugfixes:
8+
- Add bobtech dependency to fix lab accepting A.I. science pack
9+
- Reset some overridden localization strings fixes ATMOS science pack name
10+
---------------------------------------------------------------------------------------------------
211
Version: 0.17.10
312
Date: 27. 5. 2019
413
Changes:

info.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "ScienceCostTweakerM",
3-
"version": "0.17.10",
4-
"factorio_version":"0.17",
3+
"version": "0.18.0",
4+
"factorio_version":"0.18",
55
"title": "ScienceCostTweaker Mod (mexmer)",
66
"author": "mexmer",
7-
"dependencies": ["base >= 0.17.0", "? omnimatter_science >= 3.0.3", "? pycoalprocessing >= 1.2.0" ],
7+
"dependencies": ["base >= 0.17.0", "? omnimatter_science >= 3.0.3", "? pycoalprocessing >= 1.2.0", "? bobtech" ],
88
"contact": "mexmer@github.com",
99
"homepage": "https://github.com/mexmer/ScienceCostTweakerM",
10-
"description": "Allows the cost of research to be tweaked, in terms of count, science packs and time. Edit its configs costs *.lua to tweak the multipliers. - Original mod made by UberWafe, this is adopted 0.17 version"
10+
"description": "Allows the cost of research to be tweaked, in terms of count, science packs and time. Edit its configs costs *.lua to tweak the multipliers. - Original mod made by UberWafe, this is adopted 0.18 version"
1111
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
for _, force in pairs(game.forces) do
2+
if force.recipes['sct-t3-flash-fuel'].enabled then
3+
force.recipes['sct-t3-flash-fuel2'].enabled = true
4+
end
5+
end
6+

prototypes/recipes/sciencepacks-intermediates.lua

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,43 @@ data:extend({
495495
},
496496
},
497497

498+
{
499+
type = "recipe",
500+
name = "sct-t3-flash-fuel2",
501+
category = "chemistry",
502+
always_show_made_in = true,
503+
subgroup = "sct-sciencepack-3",
504+
order = "f[t3]-c[flashfuel2]",
505+
expensive =
506+
{
507+
enabled = false,
508+
energy_required = 6,
509+
ingredients =
510+
{
511+
{type="fluid", name="petroleum-gas", amount=200},
512+
{type="item", name="steel-plate", amount=2}
513+
},
514+
results =
515+
{
516+
{type="item", name="sct-t3-flash-fuel", amount=1},
517+
},
518+
},
519+
normal =
520+
{
521+
enabled = false,
522+
energy_required = 3,
523+
ingredients =
524+
{
525+
{type="fluid", name="petroleum-gas", amount=100},
526+
{type="item", name="steel-plate", amount=1}
527+
},
528+
results =
529+
{
530+
{type="item", name="sct-t3-flash-fuel", amount=1},
531+
},
532+
},
533+
},
534+
498535
{
499536
type = "recipe",
500537
name = "sct-t3-laser-foci",

prototypes/technologies/labs.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,10 @@ data:extend({
119119
type = "unlock-recipe",
120120
recipe = "sct-t3-flash-fuel",
121121
},
122+
{
123+
type = "unlock-recipe",
124+
recipe = "sct-t3-flash-fuel2",
125+
},
122126
{
123127
type = "unlock-recipe",
124128
recipe = "sct-t3-laser-foci",

tweaks/bobsmods/0_initial.lua

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,12 @@ if mods["boblogistics"] then
1010
sctm.tech_dependency_add("sct-lab-t2", "electronics")
1111
end
1212
end
13+
14+
-- bobtech renames logistic science to transport science.
15+
-- Undo this so we use the "Single use ATMOS" localization string
16+
data.raw.tool["logistic-science-pack"].localised_name = nil
17+
data.raw.technology["logistic-science-pack"].localised_name = nil
18+
19+
if data.raw.tool["advanced-logistic-science-pack"] then
20+
data.raw.tool["advanced-logistic-science-pack"].localised_name = nil
21+
end

0 commit comments

Comments
 (0)