Ghost Scanner

by Optera

Adds a combinator reading ghost requests from the logistic network it's placed in.

Content
1 year, 10 months ago
0.16 - 1.1
12.0K
Circuit network

b Invalid technology?

4 years ago
(updated 4 years ago)

This part in technology.lua bothers me:

if data.raw["technology"][-->"circuit-network-2"<--] then
    table.insert( data.raw["technology"][-->"circuit-network"<--].effects, { type = "unlock-recipe", recipe = "ghost-scanner" } )

So, you check "circuit-network-2", but alter "circuit-network". I think it should be like this:

table.insert( data.raw["technology"][-->"circuit-network-2"<--].effects, { type = "unlock-recipe", recipe = "ghost-scanner" } )

P.S. sorry for messed up formatting, first post. I used -->this<-- to mark specific parts in code
P.P.S. thanks for your great mods!

4 years ago

You are right, I have missed that "-2" there.

New response