God Module

by No0Vad

This mod adds a god version of the modules (without the negative effects) and a ultimate god module. Including a quality one for Factorio v2.0

Content
5 months ago
0.15 - 2.0
22.4K
Cheats

g Category and Tier

5 months ago

Hello! I noticed that the 4 main god modules aren't in their own module category. The other god modules (speed, quality, productivity and efficiency god modules) are in the correct category for their type but should have a tier of 4 (since they are automatically better than the tier 3 module in their category).
Each category should have at most 1 instance of every tier (no duplicates) and are duplicated not once, but multiple times. It doesn't cause an error, but some mods (including my upcoming mod) have to assume that every tier-category pair is unique.

5 months ago

Hi,

Setting Tier = 4 for speed, quality, productivity and efficiency god modules I understand and can fix.

Regarding categories, If I understand you correctly there should be 4 new categories?
- 1 for the purple one
- 1 for the purple one with quality
- 1 for the golden one
- 1 for the golden one with quality

And these 4 modules should then also be Tier 1?

5 months ago

Hi,

Setting Tier = 4 for speed, quality, productivity and efficiency god modules I understand and can fix.

Regarding categories, If I understand you correctly there should be 4 new categories?
- 1 for the purple one
- 1 for the purple one with quality
- 1 for the golden one
- 1 for the golden one with quality

And these 4 modules should then also be Tier 1?

I wasn't leaning to any specific amount of categories, but I was thinking of 1 main category with the purple one without quality being tier 1, the purple one with quality being tier 2, the golden one without quality being tier 3 and the golden one with quality being tier 4.
It's up to you though.

5 months ago

I think I understand now, I've the changes and pushed 0.2.15.
Let me know if that's what you meant 😅

5 months ago

My mod still crashes when god modules is added since the category god-modules has more than 1 module with tier 1. My mod's error function provides detailed information - for instance, (one of) the offending module(s) was god-module-no-prod.

5 months ago

Then I was on the right track with my first guess, they each need their own category since they are all different types of modules.

  • 1 for the purple one
  • 1 for the purple one with quality
  • 1 for the golden one
  • 1 for the golden one with quality

I put them in one since it worked.
But I have now changed so they all have their own category instead with 0.2.16.

4 months ago

Hey,
with your new update, I can't use the golden and purple modules anymore. Every machine refuses to put them in.

4 months ago

@Curse187
Hmm, do you use other mods that might cause a conflict?
Because I can use them https://i.imgur.com/HlqDwC7.png

4 months ago

@Curse187
Hmm, do you use other mods that might cause a conflict?
Because I can use them https://i.imgur.com/HlqDwC7.png

Both recipes and machines have allowed module categories. You may have to add your new categories to those machines and recipes. Try using one of your modules on a recipe that disallows productivity.

4 months ago

i tried it with Bob's mods for Space Age and with 5Dim's mods. With your version 0.2.14 everything works. I think they don't know your new Module categories.

4 months ago
(updated 4 months ago)

@Curse187
Hmm, do you use other mods that might cause a conflict?
Because I can use them https://i.imgur.com/HlqDwC7.png

Both recipes and machines have allowed module categories. You may have to add your new categories to those machines and recipes. Try using one of your modules on a recipe that disallows productivity.

The purple modules work as expected from what I can see https://i.imgur.com/HWrb0OG.png (purple has no productivity)
The golden modules wont work because they have productivity.

i tried it with Bob's mods for Space Age and with 5Dim's mods. With your version 0.2.14 everything works. I think they don't know your new Module categories.

Hmm, I'll look at it closer later today. Unable to do that right now.

4 months ago

I'm not sure what's wrong for your save Curse187, I cannot reproduce the error.

These were the 5Dim mods I tried with https://i.imgur.com/kIAXUqO.png and this to load all the bobs mods https://mods.factorio.com/mod/kry-all-bobs-mods

https://i.imgur.com/kMxHTvN.png and https://i.imgur.com/GbUeWqj.png

If you can share your save file I can take a look at it.

4 months ago

I'm not sure what's wrong for your save Curse187, I cannot reproduce the error.

These were the 5Dim mods I tried with https://i.imgur.com/kIAXUqO.png and this to load all the bobs mods https://mods.factorio.com/mod/kry-all-bobs-mods

https://i.imgur.com/kMxHTvN.png and https://i.imgur.com/GbUeWqj.png

If you can share your save file I can take a look at it.

Did you make sure to use space age as well?

4 months ago

I'm not sure what's wrong for your save Curse187, I cannot reproduce the error.

These were the 5Dim mods I tried with https://i.imgur.com/kIAXUqO.png and this to load all the bobs mods https://mods.factorio.com/mod/kry-all-bobs-mods

https://i.imgur.com/kMxHTvN.png and https://i.imgur.com/GbUeWqj.png

If you can share your save file I can take a look at it.

Did you make sure to use space age as well?

Yes, space age was loaded too.

4 months ago

hm... i have a couple of mods to unlock productivity for any recipe.

Here is my save file: https://drive.google.com/file/d/1wbLVDpAY1YwLE1cPgWMSdoHdugLXN1Q7/view?usp=sharing

4 months ago

hm... i have a couple of mods to unlock productivity for any recipe.

Here is my save file: https://drive.google.com/file/d/1wbLVDpAY1YwLE1cPgWMSdoHdugLXN1Q7/view?usp=sharing

Thanks for the save, I managed to find the mod causing the issue, it was Voidcraft.
By default Voidcraft use the default module categories when they patch what the machines can use and my god module categories are not in this list.

However, there is a solution within Voidcraft. If you enable the setting Automatic module categories (disabled by default), instead of using default module categories, Voidcraft extend it too look what other mods have added and add those too.

With the setting Automatic module categories enabled the God Modules can be used again. 😊

4 months ago

Wow, amazing. I didn't even thought about this being a problem. Thank you very much. :)

4 months ago

hm... i have a couple of mods to unlock productivity for any recipe.

Here is my save file: https://drive.google.com/file/d/1wbLVDpAY1YwLE1cPgWMSdoHdugLXN1Q7/view?usp=sharing

Thanks for the save, I managed to find the mod causing the issue, it was Voidcraft.
By default Voidcraft use the default module categories when they patch what the machines can use and my god module categories are not in this list.

However, there is a solution within Voidcraft. If you enable the setting Automatic module categories (disabled by default), instead of using default module categories, Voidcraft extend it too look what other mods have added and add those too.

With the setting Automatic module categories enabled the God Modules can be used again. 😊

Note: You can force that startup setting to be true when people use your mod since the settings stage is pretty much the data stage but with different prototypes. Setting prototypes.

4 months ago

Interesting, how would that look?
(Didn't know you could force settings for other mods)

4 months ago

Interesting, how would that look?
(Didn't know you could force settings for other mods)

Like this: https://wiki.factorio.com/Tutorial:Mod_settings#Changing_another_mod's_settings

4 months ago

Thanks, I've added so my mod now sets Automatic module categories to true if it detects Voidcraft. It will be in next update at a later date.

New response