Lighted Electric Poles +

by Wollit

Adds copies of electric poles, including modded ones, with integrated lamps.

Content
1 year, 7 months ago
2.0
21.8K

g 2.1

a month ago

Any plans on updating this for the experimental update?

a month ago
(updated a month ago)

Crash changing info.json to factorio version 2.1

Error while running event Lighted-Poles-Plus::on_configuration_changed
LuaEntity::minable is read only.
stack traceback:
[C]: in function '__newindex'
__Lighted-Poles-Plus__/control.lua:142: in function 'rebuild_lamps'
__Lighted-Poles-Plus__/control.lua:163: in function
<__Lighted-Poles-Plus__/control.lua:160>

Probably something the IDE would warn about anyway but thought I'd report it anyway.

a month ago
(updated a month ago)

Seems just need to change the variable "minable" to "minable_flag" based on this line from the changelog:

Removed LuaEntity::minable write. Use LuaEntity::minable_flag instead.

I made a PR to update. Famous last words, but "it's working on my machine".

https://github.com/Wollitt/Lighted-Poles-Plus/pull/2

a month ago

Works for me too! Thanks :)

13 days ago

Seems just need to change the variable "minable" to "minable_flag" based on this line from the changelog:

Removed LuaEntity::minable write. Use LuaEntity::minable_flag instead.

Thanks a ton for recommending that fix, it's working for me.

New response