Page 1 of 1

Request: Prototype/AutoplaceControl default_enabled property

Posted: Tue Jun 28, 2022 2:19 am
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.

Re: Request: Prototype/AutoplaceControl default_enabled property

Posted: Mon Oct 02, 2023 10:18 am
by kingarthur
+1