Yes, it is. And I found it out the hard way. You can find my progress here:
https://mods.factorio.com/mod/upgradable-lightning-rod
I have marked it deprecated so people cannot download it the normal way. I have already added the missing next_upgrade key but then the game required me to add fast ...
Search found 6 matches
- Mon Jan 05, 2026 10:29 am
- Forum: General discussion
- Topic: Lightning Collector vs. Lightning Rod
- Replies: 11
- Views: 7050
- Sun Jan 04, 2026 4:42 pm
- Forum: General discussion
- Topic: Lightning Collector vs. Lightning Rod
- Replies: 11
- Views: 7050
Re: Lightning Collector vs. Lightning Rod
So how about adding upgrading lightning rods -> collector as a mod? I think all what needs to be changed is to add to the rod item entity and then an upgrade planer can find it?
Code: Select all
next_upgrade="lightning-collector"- Wed Feb 19, 2025 9:58 pm
- Forum: Implemented mod requests
- Topic: [invalid] Some validation in normalize_recipe_product() ?
- Replies: 8
- Views: 1443
Re: Some validation in normalize_recipe_product() ?
So okay, this issue has already been addressed. Let's then close this as [invalid].
- Wed Feb 19, 2025 7:55 pm
- Forum: Implemented mod requests
- Topic: [invalid] Some validation in normalize_recipe_product() ?
- Replies: 8
- Views: 1443
Re: Some validation in normalize_recipe_product() ?
Meh, for 2.0.35 i added one check for malformed ingredients (in quality/prototypes/recycling.lua) and one check for malformed products (in core/lualib/util.lua)
Ah, thank you. Yes, sure disabling quality mod should lead you do the faulty mod data. I can go with that, too. It just didn't came to ...
- Wed Feb 19, 2025 1:26 pm
- Forum: Implemented mod requests
- Topic: [invalid] Some validation in normalize_recipe_product() ?
- Replies: 8
- Views: 1443
Re: Some validation in normalize_recipe_product() ?
The mod quality wasn't the culprit and it was shown with the other mod were the error was but it wasn't mentioned here.Adding some more log() calls isn't a hard task to do. But still it took me hours to find this out, that results can hold a list tables (not must?). So you cannot see the mod (FE+) I ...
- Wed Feb 19, 2025 11:34 am
- Forum: Implemented mod requests
- Topic: [invalid] Some validation in normalize_recipe_product() ?
- Replies: 8
- Views: 1443
[invalid] Some validation in normalize_recipe_product() ?
It took me hours to find this bad mod data so I ask you if you can add some validation in function core/lualib/util.lua, normalize_recipe_product() .
So let me give you a simple example to how to reproduce it:
Write a recipe with results = {type="item", name="foo", amount=1} (yes, the list around ...
So let me give you a simple example to how to reproduce it:
Write a recipe with results = {type="item", name="foo", amount=1} (yes, the list around ...