-
Notifications
You must be signed in to change notification settings - Fork 275
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
Add food properties #1791
base: master
Are you sure you want to change the base?
Add food properties #1791
Conversation
Like system_info(), but simpler and only for food properties
On an unrelated note, altrisi, do you think it would be a good idea to have pull request checks not run on drafts? |
Currently |
Why not? They don't cause issues, and they still provide all the benefits of checks normally, and you can ignore them if you don't want them yet. |
About the PR, wondering if it'd make sense to have a more general thing for item/block properties that you can then query for this stuff, though I don't know what else it'd have or how would be the best way to make handle it. |
The thing is, that food properties are kinda unique. I agree that maybe we could refactor the item/block properties thing to be easier, but tbh it's pretty understandable rn, and besides it would deprecate a bunch of apps which use these functions, especially in ways we don't expect. Unless, of course, we were to add some new functions and deprecate the old ones, but that's separate from this cos, again, food is kinda unique. But that kind of a general querying thing could work for block properties and items both. That way if an item is inputted, then you get the default values for that item, but if a block value is inputted, then you get the properties of that block specifically, if that makes sense? |
Well I figured cos that way you don't run unnecessary actions cos drafts can't be merged, but ig ye y not. |
That should be it. |
Fixes #1701
I have added what was requested in the issue, but I realised that there is currently also no way to look at a food item's food properties, so I decided to add a system_info() style thing where you can either query it for a single property, or query all of them.
This way it's simple, and with no unnecessary overhead.
Todo: