Reported originally as a bug because blueprint appears to do the same thing, until you get into the edit screen and can check 'tiles' selection...
viewtopic.php?f=23&t=51197
with a custom select tool even with selection_mode = {"buildable-type","items-to-place","tiles","blueprint"},
I'm not getting tiles and entities; unless the tiles happen to be ghost tiles.
Allow custom tools to get selected tiles and entities
Re: Allow custom tools to get selected tiles and entities
You can use the "always_include_tiles" prototype flag to as the name suggests: always include tiles.
If you want to get ahold of me I'm almost always on Discord.
Re: Allow custom tools to get selected tiles and entities
no such flag...Rseding91 wrote:You can use the "always_include_tiles" prototype flag to as the name suggests: always include tiles.
Mods to disable:Failed to load mods: Error while loading item prototype "upgrade-builder2" (selection-tool): Unknown selection tool flag: always_include_tiles
https://wiki.factorio.com/Prototype/SelectionTool
any-tile includes ground tiles which I don't really want... would be harmless other than it looks bad on selection
Re: Allow custom tools to get selected tiles and entities
It's not a selection tool flag. It's a property:d3x0r wrote:no such flag...Rseding91 wrote:You can use the "always_include_tiles" prototype flag to as the name suggests: always include tiles.
Mods to disable:Failed to load mods: Error while loading item prototype "upgrade-builder2" (selection-tool): Unknown selection tool flag: always_include_tiles
https://wiki.factorio.com/Prototype/SelectionTool
any-tile includes ground tiles which I don't really want... would be harmless other than it looks bad on selection
Code: Select all
{
type="...",
name="...",
always_include_tiles = true
}
If you want to get ahold of me I'm almost always on Discord.
Re: Allow custom tools to get selected tiles and entities
Thank you Works beautifully.