More Labs


I recreated the an old mod from scratch just so I could use the large lab. Adds a lot of new labs ranging from 3x3 to 27x27 Has support for Bobs module lab, 30+ MSP, and DiScO ScIEnCe

Content
1 year, 3 months ago
1.1
4.22K
Manufacturing

b Possible issue with disco science?

1 year, 2 months ago

Have a pretty long modlist (angel+bobs+a little less dangoreous+more)

Disco Science disabled, game loads fine.

With disco science enabled trying to load the game I get:

Failed to load mods: DiscoScience/prototypes/animations.lua:4:attempt to index local 'lab' (a nil value)
stack traceback:
DiscoScience/prototypes/animations.lua:4: in function 'removeAnimation'
DiscoScience/data.lua:6: in function 'prepareLab'
morelabs/prototypes/entity/lab-bob.lua:1773: in main chunk
[C]: in function 'require'
morelabs/data.lua:22: in main chunk

Mods to be disabled:
morelabs (0.1.0)

Let me know if there is anything you'd like me to try, I would be happy to join your discord if you are interested in further testing.

1 year, 1 month ago

Should be fixed and will be pushed with the next update

8 months ago

Failed to load mods: morelabs/prototypes/entity/lab-bob.lua1: attempt to index field 'lab-module' (a nil value)

8 months ago

@Scully_Dog I think I have a fix, this is because bobs added an option to disable the modules-lab. So in a few places you need to now check settings.startup["bobsmods-modules-enable-modules-lab"].value == true in addition to some of your existing logic. Attaching a PATCH/DIFF of the lines i've changed that seem to at least led the more-labs load again, and if you want the "fixed by hand" version to just download/compare, (rename to load into factorio removing suffix) http://www.admalledd.com/dl/prv/files/factorio/morelabs_0.1.0_fixed.zip

diff morelabs_0.1.0/control.lua morelabs_0.1.0_fixed/control.lua
14c14
<         if settings.startup["morelabs-modlabs"].value == true then
---
>         if settings.startup["morelabs-modlabs"].value == true and settings.startup["bobmods-modules-enable-modules-lab"].value == true then
39c39
< script.on_configuration_changed(setup)
\ No newline at end of file
---
> script.on_configuration_changed(setup)
diff morelabs_0.1.0/data.lua morelabs_0.1.0_fixed/data.lua
21c21
<     if settings.startup["morelabs-modlabs"].value == true then
---
>     if settings.startup["morelabs-modlabs"].value == true and settings.startup["bobmods-modules-enable-modules-lab"].value == true then
31c31
< end
\ No newline at end of file
---
> end
diff morelabs_0.1.0/data-updates.lua morelabs_0.1.0_fixed/data-updates.lua
13c13
<     if settings.startup["morelabs-modlabs"].value == true then
---
>     if settings.startup["morelabs-modlabs"].value == true and settings.startup["bobmods-modules-enable-modules-lab"].value == true then
165c165
< end
\ No newline at end of file
---
> end
Common subdirectories: morelabs_0.1.0/locale and morelabs_0.1.0_fixed/locale
Common subdirectories: morelabs_0.1.0/migrations and morelabs_0.1.0_fixed/migrations
Common subdirectories: morelabs_0.1.0/prototypes and morelabs_0.1.0_fixed/prototypes
7 months ago

@admalledd it would be cool if you could upload the forked version to the mod portal at least until they fix the mod

New response