Description of the Feature:
These features would allow the plugin developer to let the user to swap database type (i.e armour, item etc).
Right now it's impossible to add parameter support for a system like crafting system into the plugin Editor without making the user having to either let them guess which ID is the weapon or having to limit it to one TYPE of database 'item'.
My proposal would be to allow a 'Dynamic' parameter that supports of swapping via a list that the list can choose like the combo or Enum parameter.
Mockups:
There's no way for me to show it properly in the editor but I did a mockup of how plugin dev can use it :
Why is this feature good?
This feature is great because of the following:
Possible issues with this feature?
Issues that might arise from this feature:
These features would allow the plugin developer to let the user to swap database type (i.e armour, item etc).
Right now it's impossible to add parameter support for a system like crafting system into the plugin Editor without making the user having to either let them guess which ID is the weapon or having to limit it to one TYPE of database 'item'.
My proposal would be to allow a 'Dynamic' parameter that supports of swapping via a list that the list can choose like the combo or Enum parameter.
Mockups:
There's no way for me to show it properly in the editor but I did a mockup of how plugin dev can use it :
Code:
/**
* @param Test
* @type Dynamic<any>
* @desc Allow all the database entry to be choosed.
* @param Recipes
* @type Dynamic<Armor,Item,Weapon>[]
* @desc Only allow to choose from those types
*
* Print : Recipes : [{type: "armor", id: 1}]
*/
Why is this feature good?
This feature is great because of the following:
- Allow More flexible and powerful system
- Allow more control over the data.
- streamline the process. for system that needs a parameter to be more than one database type.
Possible issues with this feature?
Issues that might arise from this feature:
- User friendliness
- Existential Crisis
- People might get confused of why there's a dynamic and why should we use the regular one instead of the dynamic.