Radar signals

by Darkcry

Outputs signals for selected filters when placed near a radar

Utilities
22 days ago
0.16 - 2.0
2.22K
Circuit network

g Not working with "The Sun is Dead"

a month ago

Not a bug since the mod is not at fault. just incompatibility

Was trying this mod with "The sun is dead" since the synergy of both of them together seems really nice. but I got next error
https://mods.factorio.com/mod/deadsun

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.0)
• radar-signals (2.0.8)

Just wondering if you could patch this someday. Feel free to dismiss if to much hassle and not worth it :)

a month ago

Not sure how this should be solved. I like the idea to have night vision googles in the recipe. Altering the recipe based on the active mods feels wrong and confusing. Do you have any suggestions how this should be fixed?

a month ago

Not sure how this should be solved. I like the idea to have night vision googles in the recipe. Altering the recipe based on the active mods feels wrong and confusing. Do you have any suggestions how this should be fixed?

I fixed it like that

-- radar-signals_2.0.8\data-final-fixes.lua
local name = "radar-signals"

if (data.raw.item[name] and data.raw.item[name].ingredients) then
    for index, radar_signal_item_ingredient in data.raw.item[name].ingredients do
        if (radar_signal_item_ingredient and data.raw.item[radar_signal_item_ingredients] == nil) then
            table.remove(data.raw.item[name].ingredients, index)
        end
    end
end

if (data.raw.technology[name] and data.raw.technology[name].prerequisites) then
    for index, radar_signal_item_prereq in pairs(data.raw.technology[name].prerequisites) do
        if (radar_signal_item_prereq and data.raw.technology[radar_signal_item_prereq] == nil) then
            table.remove(data.raw.technology[name].prerequisites, index)
        end
    end
end

It's a crude attempt but at least it wont affect your code overall. You could modify this and replace the missing technology and/or items with something else.

New response