Search found 4 matches

by Riven8192
Mon Oct 21, 2024 8:14 pm
Forum: Minor issues
Topic: [2.0.8] rendering.draw_line with 'dash_offset' generates incorrect geometry on short lines
Replies: 0
Views: 260

[2.0.8] rendering.draw_line with 'dash_offset' generates incorrect geometry on short lines

When the line-distance in the call to rendering.draw_line(...) is very short, the code generating the dashes seems to produce both multiple line-geometries (instead of one), and these extend beyond the from/to points.

N.B.: I intentionally used translucency to see where the generated geometry ...
by Riven8192
Mon Oct 21, 2024 7:55 pm
Forum: Modding interface requests
Topic: [2.0.8] rendering.draw_line returned LuaRenderObject lacks property 'dash_offset'
Replies: 0
Views: 192

[2.0.8] rendering.draw_line returned LuaRenderObject lacks property 'dash_offset'

Minor missing feature:


The property 'dash_offset' can be passed to the draw-line call:
https://lua-api.factorio.com/2.0.8/classes/LuaRendering.html#draw_line

The property 'dash_offset' is missing in the resulting LuaRenderObject:
https://lua-api.factorio.com/2.0.8/classes/LuaRenderObject.html ...
by Riven8192
Sat Mar 30, 2024 9:27 pm
Forum: Resolved Problems and Bugs
Topic: [1.1.104] Pumps stop working when mod replaces connected wagon
Replies: 2
Views: 838

Re: [1.1.104] Pumps stop working when mod replaces connected wagon

Thank you for reply. It's great to hear it's fixed in 2.0, and there is a better workaround in 1.1 than replacing the pump. ;)
by Riven8192
Fri Mar 15, 2024 9:44 pm
Forum: Resolved Problems and Bugs
Topic: [1.1.104] Pumps stop working when mod replaces connected wagon
Replies: 2
Views: 838

[1.1.104] Pumps stop working when mod replaces connected wagon

Problem:
When a pump is pumping fluid either to or from a train wagon, and a mod swaps it with another fluid-wagon entity, the pump will stop working. For cargo wagons, the inserters continue to work fine when the cargo-wagon entity is swapped.

Affected mod:
https://mods.factorio.com/mod ...

Go to advanced search