Request: Prototype/AutoplaceControl default_enabled property

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
ShadowGlass
Long Handed Inserter
Long Handed Inserter
Posts: 72
Joined: Sat Aug 27, 2016 1:50 pm
Contact:

Request: Prototype/AutoplaceControl default_enabled property

Post by ShadowGlass »

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

name: default_enabled (or just "enabled")
type: bool
default: true

If set to false, it allows an autoplace control to be disabled (checkbox unchecked on the GUI) on the default map-gen settings, while allowing the player or non-default map-gen presets to enable it.

Error condition: An autoplace-control can't have both default_enabled == false and can_be_disabled == false at the same time.

kingarthur
Smart Inserter
Smart Inserter
Posts: 1459
Joined: Sun Jun 15, 2014 11:39 am
Contact:

Re: Request: Prototype/AutoplaceControl default_enabled property

Post by kingarthur »

+1

Post Reply

Return to “Modding interface requests”