gurrenm3 / BTD-Mod-Helper

A powerful and easy to use API for modding BTD6, BATTD, and other Ninja Kiwi games.
https://gurrenm3.github.io/BTD-Mod-Helper/
GNU General Public License v3.0
175 stars 119 forks source link

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

Open DarkTerraYT opened 4 months ago

DarkTerraYT commented 4 months ago

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

12333ffd commented 4 months ago

T

DarkTerraYT commented 4 months ago

T is the variable for the type param

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not any activity in the last 90 days. It will be closed if no further activity occurs. Thank you for your contributions.