Search found 3 matches

by paybara
Sun Apr 30, 2023 10:29 am
Forum: Documentation Improvement Requests
Topic: Documentation Improvement Requests
Replies: 316
Views: 122818

Re: Documentation Improvement Requests

[quote]Hovering over the connected entity and performing

[code]/c game.print(serpent.line(game.player.selected.circuit_connected_entities))
, can't reproduce.[/code]
[/quote]

...weird, that is working for me now.

I swear I was getting nothing but nils when I tried to use it in my mod, I guess I ...
by paybara
Sat Apr 29, 2023 11:09 am
Forum: Modding interface requests
Topic: Request: WireConnectionPoint from LuaEntityPrototype
Replies: 1
Views: 898

Request: WireConnectionPoint from LuaEntityPrototype

Context:

I've written a Belt Tracer mod that lets you trace a belt or a pipe through your factory, and I'd like to extend it to trace & highlight circuit networks as well.

I've figured out how to walk the circuit network with LuaEntity.circuit_connection_definitions but I'd like to display the ...
by paybara
Sat Apr 29, 2023 5:23 am
Forum: Documentation Improvement Requests
Topic: Documentation Improvement Requests
Replies: 316
Views: 122818

Re: Documentation Improvement Requests

LuaEntity.circuit_connected_entities did not appear to be populated when inspecting entities attached to circuit networks.

Could be a bug, but given that LuaEntity.circuit_connection_definitions did have data, maybe it was deprecated and just needs to be marked as deprecated, or removed from docs?

Go to advanced search