Grand Unified Factorio Theory


Unified equipment grids, smarter ore spawning, better integration of mods, and much more. Make rare ores actually rare. Make belt tiers beyond 2 meaningful. Put equipment from any (supported) mod into any (supported) armor or vehicle, or even just allow player equipment in vehicles. Remove barrel logistics entirely. Plus many more things I can't fit in this summary. And every gameplay-altering effect can be toggled in settings.

1 year, 11 months ago
1.1
811

b Error when placing natural gas rig

2 years ago

Hey there! Thank you for this mod, it fixes a bunch of things that have been annoying me in my last AB playthrough :)

Unfortunately, I got this error when placing a natual gas rig (I play with Cargo Ships):

Error while running event grand-unified-factorio-theory::on_built_entity (ID 6)
Unknown entity name: or_lamp
stack traceback:
[C]:
in function 'create_entity' ...rio-theory__/mod-support/cargo-ships/runtime/gas-rig.lua:20:
in function <...rio-theory__/mod-support/cargo-ships/runtime/gas-rig.lua:1>

I had a look at the code, and I can't say I understand why though. I see you add some rig-related items in mod-support/cargo-ships/mod-source/item_subset.lua, and or_lamp is commented out there. I tried running with that uncommented, but that didn't help. I commented out the lines adding the lamps in gas-rig.lua for now, so I can keep playing, but it would be cool if you could figure out what's wrong :)

Thanks!

2 years ago

Wow, I wonder how long that's been broken. It looks like cargo-ships at some point fully removed the or_lamp entity, so my attempt to spawn them didn't go so well. Your solution of commenting those lines was actually the correct one (though I just deleted them instead since I've got git to track my history).

I should have a fix out for that later today as v1.0.13, plus that 248k lab update that I meant to get to like weeks ago. Thanks for the report! Additional thank you for attempting to figure out the solution from the source, I legitimately appreciate that.

2 years ago

Thanks for the quick fix - appreciation all around :)

New response