Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Way to union the output of multiple oredict entries #65

Open
retep998 opened this issue Jan 27, 2018 · 4 comments
Open

Way to union the output of multiple oredict entries #65

retep998 opened this issue Jan 27, 2018 · 4 comments
Assignees

Comments

@retep998
Copy link
Member

Sometimes I want to display all the results of cropOat and cropOats but if an item is registered to both I want to display it only once. I need a way to do this.

@elifoster
Copy link
Member

Is this a #grid_foreach thing that you are asking for? Because you can currently only provide 1 oredict tag to #dict. Or do you want me to allow you to provide multiple tags to #dict, or make a new parser function entirely? I'm not really sure what you're desiring here in terms of functionality.

@retep998
Copy link
Member Author

I want the ability to specify multiple oredict tags and have the results merged so there are no duplicates. It doesn't matter to me whether it is done at the lua layer or the extension layer.

@retep998
Copy link
Member Author

Possible solution that was discussed: Have the extension detect if there are spaces in the tag, and if so split the tag on spaces, and do special things.

@elifoster
Copy link
Member

So technically someone could put spaces in an OreDict entry, so I don't think we should do that specifically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants