[1.1.27] update can_place_entity to clarify newer defines in API pages

Post Reply
Honktown
Smart Inserter
Smart Inserter
Posts: 1025
Joined: Thu Oct 03, 2019 7:10 am
Contact:

[1.1.27] update can_place_entity to clarify newer defines in API pages

Post by Honktown »

Under LuaSurface, can_place_entity has

Code: Select all

forced :: boolean (optional): If defines.build_check_type is "ghost_place" and this is true things that can be marked for deconstruction are ignored.
Following the defines.build_check_type link:

Code: Select all

defines.build_check_type.script	
defines.build_check_type.manual	
defines.build_check_type.manual_ghost	
defines.build_check_type.script_ghost	
defines.build_check_type.blueprint_ghost	
defines.build_check_type.ghost_revive
ghost_place hasn't existed since 1.1.6 according the version history.
I have mods! I guess!
Link

User avatar
Therenas
Factorio Staff
Factorio Staff
Posts: 232
Joined: Tue Dec 11, 2018 2:10 pm
Contact:

Re: [1.1.27] update can_place_entity to clarify newer defines in API pages

Post by Therenas »

Thanks for the report, this has been corrected for the next release.

Post Reply

Return to “Implemented mod requests”