From 8ac8cfa2d651301cb808cc75926880ee927d10c7 Mon Sep 17 00:00:00 2001 From: npc-strider Date: Thu, 3 Jan 2019 23:37:46 +0800 Subject: [PATCH] LDS separate recipe & remove from silo tech --- 017_science/data-updates.lua | 1 + 017_science/data.lua | 11 ++++++++++- 017_science/graphics/icons/LDS.png | Bin 0 -> 2456 bytes 017_science/info.json | 2 +- .../migrations/2019-01-03_017_science_0.0.4.lua | 14 ++++++++++++++ 017_science/migrations/migrations.lua | 1 + 017_science/recipe.lua | 10 ++++++---- 017_science_migration/migrations/migrations.json | 1 + mod-list.json | 2 +- 9 files changed, 35 insertions(+), 7 deletions(-) create mode 100644 017_science/graphics/icons/LDS.png create mode 100644 017_science/migrations/2019-01-03_017_science_0.0.4.lua diff --git a/017_science/data-updates.lua b/017_science/data-updates.lua index 6732b7c..0070aad 100644 --- a/017_science/data-updates.lua +++ b/017_science/data-updates.lua @@ -10,6 +10,7 @@ for _, mod in pairs(data.raw.module) do table.insert(limitation, "17-chemical-science-pack") table.insert(limitation, "17-production-science-pack") table.insert(limitation, "17-utility-science-pack") + table.insert(limitation, "17-low-density-structure") end end end diff --git a/017_science/data.lua b/017_science/data.lua index e94e019..01e0c83 100644 --- a/017_science/data.lua +++ b/017_science/data.lua @@ -4,4 +4,13 @@ table.insert(data.raw["technology"]["military-2"].effects, {type = "unlock-recip table.insert(data.raw["technology"]["advanced-electronics"].effects, {type = "unlock-recipe",recipe = "17-chemical-science-pack"}) table.insert(data.raw["technology"]["advanced-material-processing-2"].effects, {type = "unlock-recipe",recipe = "17-production-science-pack"}) table.insert(data.raw["technology"]["advanced-electronics-2"].effects, {type = "unlock-recipe",recipe = "17-utility-science-pack"}) -table.insert(data.raw["technology"]["advanced-electronics-2"].effects, {type = "unlock-recipe",recipe = "low-density-structure"}) --LDS unlock for pre-rocket bases \ No newline at end of file + +table.insert(data.raw["technology"]["advanced-electronics-2"].effects, {type = "unlock-recipe",recipe = "low-density-structure"}) +table.insert(data.raw["technology"]["advanced-electronics-2"].effects, {type = "unlock-recipe",recipe = "17-low-density-structure"}) --LDS unlock for pre-rocket bases + +local effects = data.raw["technology"]["rocket-silo"].effects --remove the duplicate LDS effect in rocket-silo research +for _=1, #effects do + if effects[_].type == "unlock-recipe" and effects[_].recipe == "low-density-structure" then + effects[_] = nil + end +end \ No newline at end of file diff --git a/017_science/graphics/icons/LDS.png b/017_science/graphics/icons/LDS.png new file mode 100644 index 0000000000000000000000000000000000000000..3327afb8392ad92106a52960ac218186581dfe3f GIT binary patch literal 2456 zcmV;J31{|+P)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D02p*dSaefwW^{L9 za%BK;VQFr3E^cLXAT%y9E;VFFSW*B02?k)XDM6Eb^3c zO9Fo4@#}$9M4XOE$nV-P_H~_vdRoRw8l*+fkeb!6p^#uaK3I|#*XD7F?qOo`sFpc> z$RvzDSE5h*8w+*CFNSdK!rVXK?XaSKC#`)gT;s@iAl=<7%)cbpy%fD%_HXV4w>-hBauG%}>`>K7{zS!-5Z)CZzp;U3N z7!&xo^tkWYX$kQ^?)VCbofXcs>-o1UEYiDDHfghpOI<$SiG62MrbF9;B3QAY@Nv7_ zaAAFG>5a3;*21SBZUmEvwsqmS3xEsG(C zOC2EKgYY2)e3+J>e8!?;-Ogc?oSTQ{&*GD#i;r$;{^szG_P@6@n^Greo()QJOsFs= z@e{L#>$e$%(BRZSTayKx7Ab7%bis~J`?uXq)(2;fYDwR?9tZH#Q%oQ+3mwAc_6I3`{o|-YO#!lwy<>Z)2 z!GusjIuS3XMcJ%s<`0;R`8}T!b6(3MpKo#J-5Kntggt$3=&e%#Gb!Q#D>1TcxU1&z z%G!L`}~$!eBUBCyT}2@tBi24Tmw4`Wv~SmF@PLct>?jLi|tm8O);J)Wu14L z#Xc=3dSm!x0s;5I!5(}DDSF}H65TyZZrWKHHM~~Cnl)mOl5S>Y5PfQ4qQ5}F`7D2sTL5PA{p}JQmSo8jvkPPprY%vpps`{h?XG zgj@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