BTD-Mod-Helper icon indicating copy to clipboard operation
BTD-Mod-Helper copied to clipboard

ModSettingList<T> : ModSetting<T> where T : List<object>

Open DarkTerraYT opened this issue 9 months ago • 3 comments

Feature Request

ModSettingList<T> : ModSetting<T> where T : List<object>

Description

Creates a list of T that the user can add or remove from. If it's a class then it'll show all of the fields in it which you can modify and if it's just a value (string, float, bool, etc.) then you can set the value

option if the user can add or remove objects, max elements, min elements. All of the ModSetting options

looks mostly like a mod setting category, but it can be put into categories

Turn this: BloonsTD6 2024-05-21 5_58_10 PM Into this: BloonsTD6 2024-05-21 6_01_32 PM

Use Case(s)

Creating a list of rounds for a bloon to spawn on More compact mod settings Allow for more user customization (such as in my customizable bloon mod, it will allow the player to have more freedom in picking rounds to spawn and bloon children) less effort when creating large amounts of a mod setting that have a similar function Many more use cases I can't think of

DarkTerraYT avatar May 21 '24 22:05 DarkTerraYT