Scrappy Industry


Repurpose the waste from the imprecise assembly of machines for new materials. No process is ever truly perfect.

Content
7 days ago
2.0 - 2.1
3.81K
Mining Manufacturing

g Load error with Crushing Industry

10 months ago

Error loading mods when using both Scrappy and Crushing Industry

Failed to load mods: scrap-industry/prototypes/recipe-final-fixes.lua:270: attempt to index local 'scrap_metadata' (a nil value)
stack traceback:
scrap-industry/prototypes/recipe-final-fixes.lua:270: in main chunk
[C]: in function 'require'
scrap-industry/data-final-fixes.lua:1: in main chunk

10 months ago

Yeah, same here.

10 months ago

Fixed with 0.11.2

10 months ago

Fixed with 0.11.2

I'm now getting this after the patch:

Failed to load mods: fdsl/lib/assert.lua:7: bad argument #1 of 2 to 'unpack' (table expected, got nil)
stack traceback:
[C]: in function 'unpack'
fdsl/lib/assert.lua:7: in function 'ensure'
scrap-industry/prototypes/recipe-final-fixes.lua:267: in main chunk
[C]: in function 'require'
scrap-industry/data-final-fixes.lua:1: in main chunk

10 months ago
(updated 10 months ago)

What mods do you have enabled? Unless the upload missed something, I tested this with CI+SI and was working. Either way, I can take a look after work tonight

10 months ago
(updated 10 months ago)

What mods do you have enabled? Unless the upload missed something, I tested this with CI+SI and was working. Either way, I can take a look after work tonight

base 2.0.72
common-prototypes-graphics 0.0.2
fdsl 0.2.4
Robocharger-Updated 0.0.1
alien-biomes-graphics 0.7.1
ArmouredBiters 1.2.1
bplib 1.1.6
canal-excavator-graphics 1.3.0
cargo-ships-graphics 1.0.4
chest-auto-sort 1.3.0
elevated-rails 2.0.72
even-distribution 2.0.2
Flare Stack 4.0.3
flib 0.16.5
FluidMustFlow 1.4.4
Gearery 1.1.2
InserterFuelLeech 1.0.2
Long_Range_Delivery_Drones 2.0.0
machine-upgrades 0.69.17
MegaBotStart 2.0.2
metal-and-stars-graphics 0.0.4
metal-and-stars-graphics-2 0.0.3
multispoil 2.1.2
muluna-graphics 1.1.4
new-diagonal-inserter 1.0.5
no_placement_restriction 1.0.0
PavementDriveAssistContinued 5.0.0
pirateship 0.0.4
qol_research 3.4.2
quality 2.0.72
quality_glassware 0.1.0
rubia-assets 0.69.24
space-exploration-graphics 0.7.5
space-exploration-graphics-4 0.7.2
SpeedControl 2.0.1
SpidertronEnhancements 1.10.8
textplates 0.7.2
tile-upgrade-planner-muluna 1.0.5
Todo-List 19.14.1
valves 2.1.0
BottleneckLite 1.3.4
cargo-ships 1.0.27
cybersyn 2.0.36
factoryplanner 2.0.43
Flow Control 3.2.3
Milestones 1.4.6
minimalist-rails 2.0.5
RateCalculator 3.3.7
RecipeBook 4.0.8
space-age 2.0.72
aai-containers 0.3.2
aai-loaders 0.2.7
aai-signal-transmission 0.5.3
Accumulator-V2 1.0.6
beacon-interface 1.0.17
belt-balancer-2 2.0.9
canal-excavator 1.7.0
Cold_biters 2.2.0
colorful_biochamber 1.1.4
common-prototypes 0.0.4
corrundum 1.0.43
Cosmic-Social-Distancing 1.2.1
cubium 1.0.28
cupric-asteroids 1.5.3
enhanced-shadows 1.0.4
est-tiny-storage-tank 1.4.0
FusionPoweredRobots 1.0.5
long_stack_inserter 1.0.1
Moshine-assets 0.4.0
muluna-utility-constants 1.0.1
Paracelsin-Graphics 1.6.8
PlanetsLibTiers 1.1.4
RenaiTransportation 2.2.8
RocketCargoInsertion 1.1.0
se-space-trains 1.0.9
secretas 1.0.33
skewer_planet_vesta_assets 1.0.7
skewer_planet_vesta_assets_2 1.0.0
slp-dyson-sphere-reworked 1.0.4
snouz-big-accumulator 1.0.5
snouz-big-solar-panel 1.0.6
snouz_better_substation 1.2.1
SpidertronPatrols 2.6.3
squeak-through-2 0.1.2
lex-aircraft 1.3.0
maraxsis 1.30.57
PlanetsLib 1.14.5
quality-condenser 2.0.4
SolarMatrix 1.0.6
Cerys-Moon-of-Fulgora 4.17.6
elevated-pipes 1.4.5
Igrys 1.5.15
Moshine 1.1.3
planetaris-arig 1.0.5
Redrawn-Space-Connections 2.3.2
rubia 0.69.126
skewer_planet_vesta 2.0.29
bioprocessing-tab 1.4.1
crushing-industry 0.4.15
Paracelsin 1.6.8
planetaris-hyarion 1.1.5
Tiered-Solar-System 3.0.2
dea-dia-system 0.30.19
planet-muluna 2.1.61
planetaris-unbounded 1.8.0
Voidcraft 2.4.3
Bluetonium 2.6.0
metal-and-stars 0.1.17
pelagos 0.26.4
VoidBlock 1.1.16
VoidcraftQualityRunes 1.1.1
BluetoniumFusion 1.0.6
voidcraft-planetary-compatibility 1.0.0
IridescentIndustry 0.5.1

I believe that's a complete list, excluding SI. Thanks for the great work!

10 months ago

I get the same error with my mod enabled. It seems that the error is related to the following line:
ScrapIndustry.items["bc-synthetic-plate"] = {scrap="bc-synthetic-scrap", scale=ScrapIndustry.COMMON, failrate=0.02}
If I remove the scale option the error goes away.

10 months ago

Yeah I think this is due to a codepath opening up that causes a crash if the scrap_metadata isn't set. But this is one of those "idk how it was working before" kinda bugs lol. I'll be able to take a look in a few hours

10 months ago

For Eleusis, if you define ScrapIndustry.products["bc-synthetic-scrap"] = {priority=2} does it still crash?

10 months ago

With that one additional line the game loads fine and everything seems normal. Thanks!

10 months ago

This should now be fixed with 0.11.3. The ScrapIndustry.products[] metadata wasn't previously required, and I'll continue to respect that assumption unless there's a good reason to break that.

New response