Search found 24 matches

by thesixthroc
Tue Jun 09, 2020 6:15 pm
Forum: Modding discussion
Topic: Find entities in two adjacent areas without overcounting
Replies: 1
Views: 891

Find entities in two adjacent areas without overcounting

If I have areas A and B which are rectangles directly next to each other (but of different sizes), and I want to find the entities that exist in the union of the two regions, I could try calling .find_entities(A) and .find_entities(B) and adding the resulting tables together. Large objects can strad...
by thesixthroc
Tue Jun 09, 2020 1:31 pm
Forum: Implemented mod requests
Topic: provide create_build_effect_smoke option for .clone()
Replies: 4
Views: 1764

provide create_build_effect_smoke option for .clone()

(Title edited in light of my first reply to this thread.) ---------- Old OP: Currently, it's not possible to apply .teleport(1,0) to belts, undergrounds and splitters: https://lua-api.factorio.com/latest/LuaControl.html#LuaControl.teleport I appreciate there might be difficulties, but adding this fu...
by thesixthroc
Tue Jun 09, 2020 1:17 pm
Forum: Not a bug
Topic: [0.18.30] .teleport() does nothing on belts
Replies: 3
Views: 991

Re: [0.18.30] .teleport() does nothing on belts

Is it possible to add this to complete the functionality to teleport all entities in an area...?
by thesixthroc
Tue Jun 09, 2020 1:45 am
Forum: Not a bug
Topic: [0.18.30] .teleport() does nothing on belts
Replies: 3
Views: 991

[0.18.30] .teleport() does nothing on belts

Trivially easy to reproduce, e.g. with .teleport(2,0).

This is also the case for splitters and undergrounds.

Go to advanced search