Page 1 of 1

[2.0] AutoplaceControl.size

Posted: Mon Dec 30, 2024 5:43 pm
by i142857
Proposal: add an optional size parameter to AutoplaceControl defaulting to true. When set to false, the "Size" slider in the map settings UI is removed (similar to how richness is optional).

Rationale: resources that are supposed to always spawn as a single node -- in that case would reduce user confusion as the Size slider does nothing. I'm working on a mod that has a few, but, for example, Pyanodon has plenty of them that could benefit from this.

Sounds cheap, most of the code doesn't have to know or care about this, just a small change in the map gen UI :) (I hope)

Thank you for your consideration!

Re: [2.0] AutoplaceControl.size

Posted: Mon Dec 30, 2024 6:43 pm
by braxbro
Wouldn't you want the frequency to be disable-able then? Not the size?

Re: [2.0] AutoplaceControl.size

Posted: Mon Dec 30, 2024 8:39 pm
by curiosity
braxbro wrote: Mon Dec 30, 2024 6:43 pm Wouldn't you want the frequency to be disable-able then? Not the size?
But frequency makes sense, it would make the singular nodes more frequent.

Although if this is added, a way to disable frequency should probably be added as well, for completeness's sake.