Page 1 of 1

[Genhis][2.0.72] build_from_cursor range checks forced build_mode

Posted: Wed Nov 19, 2025 1:43 am
by Gweneph
Both build_from_cursor and can_build_from_cursor seem to apply the new range check that was introduced for normal mode to forced and super_forced mode as well.

Running:

Code: Select all

/c p=game.player.position;game.player.build_from_cursor({position={p.x+20,p.y},build_mode=defines.build_mode.forced})
fails despite being able to shift click and build in the same location.

I would expect that only build_mode normal would be range checked.

It does however seem to work as expected for a blueprint. So it's only failing for a normally placable item stack in cursor.
Screenshot 2025-11-18 203615.png
Screenshot 2025-11-18 203615.png (1.58 MiB) Viewed 133 times

Re: [Genhis][2.0.72] build_from_cursor range checks forced build_mode

Posted: Wed Nov 19, 2025 7:23 am
by Genhis
Thanks for the report, this is fixed for the next release.