Artisanal Reskins: Bob's Mods

by Kirazy

Reskins items, entities, and technologies within Bob's mods to add tier colors and icon labeling. Features high-res icons and updated sprites to align with vanilla Factorio, and supports player-customizable tier labels, colors and mapping. Part of the Artisanal Reskins series.

Tweaks
6 days ago
1.0 - 2.0
116K

b Startup error

4 days ago

After installing this mod, the following error occurs when loading: https://mods.factorio.com/mod/lignumis
Failed to load mods: ...mis__/prototypes/content/burner-long-handed-inserter.lua:16: attempt to index field 'sheet' (a nil value)
stack traceback:
...mis__/prototypes/content/burner-long-handed-inserter.lua:16: in main chunk
[C]: in function 'require'
lignumis/prototypes/content/data.lua:12: in main chunk
[C]: in function 'require'
lignumis/data.lua:43: in main chunk

But if you disable these two mods, there is no error:
1. https://mods.factorio.com/mod/boblogistics
2. https://mods.factorio.com/mod/bobassembly

4 days ago

Artisanal Reskins modify the sprites of the inserters. That mod is attempting to do the same, however without verifying what the current state of the inserter sprites are prior to doing so, which is why the error is occurring. Ideally, they would change how they're modifying graphics to either set the graphics they need on the inserter they're modifying in full rather than the piecemeal approach they're using.

The issue in detail: they assume that the regular inserter is using the vanilla sprites, copy it, and then surgically modify it. AR changes it to use layered sprites, so those fields do not exist, and accessing them in the way that lignumis does is an error.

4 days ago

Thank you for the explanation

New response