Request: Prototype/AutoplaceControl default_enabled property
Posted: Tue Jun 28, 2022 2:19 am
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.
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.