The Sun is Dead

by Nauviax

Factorio - Space Age, but without the sun. Pitch black planets, new lighting options, a whole new power generation system for space platforms, and changes to Fulgora's nighttime storms.

Tweaks
6 days ago
2.0
141
Logistics Environment Power

b Error on load due to removal of night-vision-equipment

6 days ago
(updated 6 days ago)

Failed to load mods: Error in assignID: technology with name 'night-vision-equipment' does not exist. It was removed by deadsun.

Source: radar-signals (technology).

Mods to be disabled:
• deadsun (1.0.1)
• radar-signals (2.0.9)

This can be resolved by instead of marking it as nil to mark as hidden instead
data.raw.technology["night-vision-equipment"].hidden = true
data.raw.recipe["night-vision-equipment"].hidden = true
data.raw.item["night-vision-equipment"].hidden = true

6 days ago

This wouldn't actually solve much, aside from the error. Radar Signals has an entity that requires a night vision item to craft, and my mod removes the ability to craft night vision. Even if I implemented the changes you've described, you wouldn't be able to craft the radar signal combinator.

Honestly, I don't really have any good ideas to fix this. I could technically just allow night vision in my mod, but I'm not really willing to do so just to support one specific unrelated mod.

If you have a solution, do let me know. Otherwise, I'll likely just be marking that mod as incompatible in a future version of this mod.

6 days ago
(updated 6 days ago)

ah yeah. could just make night vision not actually have an effect so its just an item instead. as I think you can disable the equipment effect but leave the item.

6 days ago

Currently night vision doesn't have an effect, so if you have armor with night vision before installing the mod then the equipment is basically dead. The item still exists, but the recipe and tech are gone so players don't beeline for it thinking they're getting something.

I'll look into a way of detecting if a mod requires night vision as an item later, and likely replacing the textures to something that makes it obvious that it's not going to function. It likely won't be anytime soon however, as I'm expecting to be pretty busy over the next few weeks and this is a relatively niche incompatibility.

New response