Request: Prototype/AutoplaceControl mandatory property

ShadowGlass
Long Handed Inserter
Long Handed Inserter
Posts: 72
Joined: Sat Aug 27, 2016 1:50 pm
Contact:

Request: Prototype/AutoplaceControl mandatory property

Post by ShadowGlass »

Please add a new property for the 'autoplace-control' prototype:

mandatory

type: bool
default: false

If true it disables (or removes, whichever you prefer) the checkbox on the left of the autoplace control, so the player can't completely remove the resource or terrain feature from map gen.
Bilka
Factorio Staff
Factorio Staff
Posts: 3310
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: Request: Prototype/AutoplaceControl mandatory property

Post by Bilka »

Hey, this was added in 1.1.54 as AutoplaceContro::can_be_disabled.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Post Reply

Return to “Implemented mod requests”