Closed Wuzzy2 closed 7 years ago
Sorry, this is too much nitpicking about unimportant things to me. I don't feel like going through my code again right now.
This is not as nitpicky and "unimportant" as the review process on e.g. Minetest Game. I'm just ensuring that the code is stylistically good and optimal (at least for me).
Is there a style guide?
Yes, I try to follow more or less the Lua style guidelines for the Minetest engine, that you probably know already.
Thanks for your contribution, merged with some modifications of my own : https://github.com/minetest-mods/craftguide/commit/f2a799bdd0cefdb5557927b84f7e2475e46832f0
Preview :
And I also added the cooktime
information in the tooltips :
Kudos for merging this anyway, and for using colorized text (but doesn't that mean the mod now breaks with Minetest 0.4.14? :-( but maybe there will be a release in the next weeks).
I dislike that you dumped my original strings in favor of the poor “group(s)” pluralization workaround. My original strings were grammatically correct.
Also, the space between “time” and the colon is ungrammatical.
(Hehe, you're not the only nitpicker, after all.)
doesn't that mean the mod now breaks with Minetest 0.4.14?
Of course it breaks, but nobody is forced to update the mod yet ;)
I dislike that you dumped my original strings in favor of the poor “group(s)” pluralization workaround.
IMO, they were not necessary (I avoid the hardcoding). There are 3 "safety nets" that ensure to display a group stereotype anyways, the last one never failing.
the space between “time” and the colon is ungrammatical.
This is a grammatical french rule. But I can change it.
Also thanks for doing the public announcements on the forum (much appreciated), as I don't intend to return back to this place.
This PR changes the tooltips for the slots with group items (
group:whatever
). E.g. if you have agroup:wood
in a recipe, like for the chest, the tooltips for those slots is now changed to “Any item belonging to the wood group”. AND-combined groups (e.g.group:dye,excolor_violet
) are supported, too.And lastly, the item images are adjusted for some of the groups (different “stereotypical” item images which I think are more appropriate for the group).