space-wizards / RobustToolbox

Robust multiplayer game engine, used by Space Station 14
https://spacestation14.io
Other
529 stars 394 forks source link

[TOOLSHED REQUEST] A way to define inline temporary lists #4403

Open Chief-Engineer opened 11 months ago

Chief-Engineer commented 11 months ago

Is your feature request related to a problem/bug? Please describe. A way to use tags:addmany without a predefined variable with the tags you want to add. I'm not sure if this already exists and is just poorly documented.

Describe the command you'd like > self tag:addmany {"Tag1", "Tag2"} Toolshed just silently fails when I try this or the same format with [] instead of {}

Additional context Add any other context or screenshots about the feature request here.

moonheart08 commented 11 months ago

PROPOSED SOLUTION: TypeParser implementation for IEnumerable\ that parses out a List\ for that type. Can likely generalize SpanLikeTypeParser for this.