bbl-team / Techopolis-2

0 stars 1 forks source link

Sequential Fabricator forgets all staged recipes on reload #70

Closed Omisse closed 8 months ago

Omisse commented 8 months ago

Singleplayer, skyblock Some immersive recipes stay, i found that on framed blocks, thermal, flux networks recipes, maybe more It may be stages issue, since i completed chipped quest, didnt like how full my JEI became and disabled it by /gamestage remove @p chipped Though it forgets recipes no matter was that stage reached before chipped or after On base i have around 50 thermal machines, ~10 of them are fabricators, that all distributed almost evenly on 5 chunks All that using just simple storage network with stock upgrade on fabricators, also wont push new items until i rewrite recipe by hand Tick time is <10ms always

Omisse commented 8 months ago

Also if i rewrite the same recipe its icon in the bottom right corner of fabricator GUI just disappears if i reopen it, but will work until the next world reload

Omisse commented 8 months ago

Apparently that easily can be fixed with adding thermal to stage restrictions, so its machines can craft items from any stage anytime What we need to do: 1) We open .minecraft\scripts\script.zs with any text editor you want 2) We paste that in any line after imports:

//THERMAL FIXES

mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "simple_storage");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "storage_drawers");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "framed_blocks");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "flux_networks");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "tempad");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "tiab");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "trash_cans");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "laserio");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "xnet");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "building_gadgets");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "elevators");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "ender_storage");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "little_logistics");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "thermal");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "ae2");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "refinedstorage");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "mekanism");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "waystones");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "powah");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "angel_ring");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "beyond_earth");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "compressium");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "immersive_aircraft");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "extended_crafting");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "b_bucks_1");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "b_bucks_2");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "b_bucks_3");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "b_bucks_4");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "b_bucks_5");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "b_bucks_6");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "nether");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "debris");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "skyblock_recipes");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "superflat_recipes");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "chipped");
mods.recipestages.Recipes.setPackageStages("cofh.thermal.expansion", "iron_chests");

As we reload (to write /reload command while in our world is enough) it will be fixed, and now all machines from thermal will be capable of crafting recipes of any stage That wont break progression since you wont know recipes for things you want to craft and dont have access to, but fabricator will be able to remember any recipe you want to put in it. Should work on servers too, since script is just the same You can also do same things for Mekanism and/or any other mod crafting containers if you want to By default Refined Storage, AE2, Immersive Engineering and Extended Crafing are fixed already.

Omisse commented 8 months ago

It wont work. Sadly, fabricator will remember recipe, but wont craft it without rewriting, so problem is still here