Silica & Silicon 2.1 temporary fork


Temporary 2.1 fix for Silica & Silicon, will be removed once the original Brevven mod is fixed

Content
11 days ago
2.1
31
Mining Manufacturing
Owner:
duplicitousDemiurge
Source:
https://github.com/brevven/silicon
Homepage:
N/A
License:
MIT
Created:
11 days ago
Latest Version:
1.0.0 (11 days ago)
Factorio version:
2.1
Downloaded by:
31 users

A temporary fork of BZsilicon that addresses a couple of unchanged bits of lua to make it actually work in Factorio 2.1. Will be removed once the original BZSilicon is updated and functional again. I would recommend just following instructions and editing your copy of bzsilicon over downloading this

If you have any mods that patch for it, you'll want to change any instance of bzsilicon to bzsilicon-2-1-temp (ie: info.json, any mod that gates behind if mods["bzsilicon"], etc).

If you want to fix your own so mods patching for it Just Works:

  • line 284 of recipe-update.lua needs to change from data.raw.recipe["sand"].category = util.k2() and "kr-crushing" or "basic-crushing",

          to
    
          data.raw.recipe["sand"].categories = {util.k2() and "kr-crushing" or "basic-crushing"},
    
  • lines 254, 279, and 357 in razorgrass.lua need to be changed from fuel_category = "chemical"

          to fuel_categories = {"chemical"},
    
  • If using Maraxsis, line 138 of silica-recipe.lua needs to be changed from category = util.k2() and "kr-crushing" or "basic-crushing",

          to
    
          categories = {util.k2() and "kr-crushing" or "basic-crushing"},