[Genhis][2.0.72] build_from_cursor range checks forced build_mode

Bugs which we just recently fixed in our development version and will reach you in the next release.
Gweneph
Long Handed Inserter
Long Handed Inserter
Posts: 73
Joined: Thu Nov 14, 2019 11:51 pm
Contact:

[Genhis][2.0.72] build_from_cursor range checks forced build_mode

Post 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 131 times
Attachments
factorio-current.log
(8.71 KiB) Downloaded 4 times
Genhis
Factorio Staff
Factorio Staff
Posts: 886
Joined: Wed Dec 24, 2014 8:19 am
Contact:

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

Post by Genhis »

Thanks for the report, this is fixed for the next release.
Post Reply

Return to “Resolved for the next release”