Advertisement
FallenPaladin

Untitled

Jul 9th, 2020
1,396
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.55 KB | None | 0 0
  1. --Fix for not being able to create normal green circuits
  2.  
  3. data.raw["recipe"]["electronic-circuit"].allow_as_intermediate = true
  4. data.raw["recipe"]["electronic-circuit"].allow_intermediates = true
  5. data.raw["recipe"]["biotech-electronic-circuit"].allow_as_intermediate = false
  6. data.raw["recipe"]["biotech-electronic-circuit"].allow_intermediates = false
  7.  
  8. local recipe_list = {
  9.     "biotech-accumulator",
  10.     "biotech-accumulator",
  11.     "biotech-advanced-circuit",
  12.     "biotech-aerogel",
  13.     "biotech-assembling-machine-1",
  14.     "biotech-battery",
  15.     "biotech-big-wooden-pole",
  16.     "biotech-bio-module-1",
  17.     "biotech-bioreactor",
  18.     "biotech-biosolarpanel",
  19.     "biotech-biosolarpanel-2",
  20.     "biotech-biosolarpanel-3",
  21.     "biotech-capacitance-gel-pack",
  22.     "biotech-carbon",
  23.     "biotech-carbon-fiber",
  24.     "biotech-carbon-filament",
  25.     "biotech-carbon-gear",
  26.     "biotech-carbon-laminated",
  27.     "biotech-carbon-nanotube",
  28.     "biotech-cellulose",
  29.     "biotech-chlorophyll",
  30.     "biotech-circuit",
  31.     "biotech-crude-oil",
  32.     "biotech-diamond-substrate",
  33.     "biotech-electric-engine-unit",
  34.     "biotech-electronic-circuit",
  35.     "biotech-electronic-circuit-advanced",
  36.     "biotech-electronic-processor",
  37.     "biotech-engine-unit",
  38.     "biotech-ext-bioreactor-2",
  39.     "biotech-ext-bioreactor-3",
  40.     "biotech-ext-catalytic-surface",
  41.     "biotech-ext-sandminer-2",
  42.     "biotech-ext-sandminer-3",
  43.     "biotech-fuel-cell",
  44.     "biotech-glass",
  45.     "biotech-glass-pipe",
  46.     "biotech-glass-pipe-to-ground",
  47.     "biotech-glycosis",
  48.     "biotech-graphene",
  49.     "biotech-high-tech-science-pack",
  50.     "biotech-interface-card",
  51.     "biotech-low-density-structure",
  52.     "biotech-neural-circuit",
  53.     "biotech-neural-gel-pack",
  54.     "biotech-neural-processor",
  55.     "biotech-optic-fiber",
  56.     "biotech-plastic-bar",
  57.     "biotech-production-science-pack",
  58.     "biotech-rocket-control-unit",
  59.     "biotech-sand",
  60.     "biotech-science-pack-1",
  61.     "biotech-science-pack-2",
  62.     "biotech-science-pack-3",
  63.     "biotech-seedling",
  64.     "biotech-silica",
  65.     "biotech-silica-gel",
  66.     "biotech-silica-gel-pack",
  67.     "biotech-solid-fuel",
  68.     "biotech-sugar-solution",
  69.     "biotech-synthetic-wood",
  70.     "biotech-tempered-glass",
  71.     "biotech-test-tube",
  72.     "biotech-wind-turbine",
  73.     "biotech-wooden-fence",
  74.     "biotech-work-bench",
  75.     "burner-sand-mining-drill",
  76.     "electric-sand-mining-drill",
  77. }
  78.  
  79. for r, recipe in pairs(recipe_list) do
  80.     if data.raw.recipe[recipe] then
  81.         data.raw.recipe[recipe].allow_decomposition = false
  82.     end
  83. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement