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
Show races as nestable subfolders in help #7228
Show races as nestable subfolders in help #7228
Conversation
A screenshot would be nice. |
There's not really much to see in the screenshot, this is just an engine change so the only races affected are Dunefolk and Quenoth. Beetlenaut's ASCII art in https://r.wesnoth.org/p678343 is probably a better illustration. |
We can (and will) bicker over the organization, but this looks like it should take care of the engine capability. |
Agreed. It looks reasonable enough. I guess the only question is whether additional levels of nesting are required, but from the forum thread it doesn't seem like they are needed at this point. |
6cf8cb6
to
317ae39
Compare
This brings up a question, what should we do with zombie bats? (Or any cross-racial variation?) |
For example, UtBS' Quenoth Elves now appear as a subfolder of Elves, and a major reorganisation of animals is being discussed in https://r.wesnoth.org/t56522 . Multiple levels of nesting are supported. If [race]help_taxonomy= points to a race that isn't defined, or isn't defined with the current set of add-ons, then it will fall back to adding the race at the top level. Discovering a unit belonging to a subgroup will automatically treat the parent group as discovered too. I may have missed a trick in writing this nicely, the code uses several different traversal patterns over the tree that it's constructing.
Adding a |
I do not think
Once victim to the plague, the resultant being is an undead.
Not really seeing the usage scope of apart from the WC/Soulless, maybe some the horse-mount units. |
1bcdce4
to
5788b0c
Compare
Some things may use
That flexibility is good to have. |
As a UMC creator myself, I completely agree with knyght here. Such changes just further inconveniences UMC creators, and the more changes are required to port add-ons to new versions the less people will bother porting add-ons. Between new versions, the number of add-ons is slowly shrinking. If you can't attract new creators the least you can do is not unnecessarily hinder the work of the few people still sticking around. |
Don't touch the [variation] tag. No need to destroy a lot of addons for the sake of a cosmetic change to the wiki. It's not worth it. I'm sure there are other solutions to this problem. It's worth thinking about them. |
Created a Github Account to say as a new UMC author (campaign is in the works) over 70% of my code relies upon [variation], I've been working on my campaign for the past several months juggling between it, school, and work. Due to how much work I've put into it I would find it very heartbreaking to see the whole thing no longer working because of a cosmetic change that hardly benefits anyone, and I know several other authors in similar boats to me. I don't think it's appropriate to remove a key like [variation] which is used so heavily as it will greatly impact the work of newer devs along with older devs and mainline content. |
At most we may want to write a guideline on its use, something like:
|
For the record, the suggestion to remove [variation] wasn't "sneaky", and as a UMC author myself I know deprecations are annoying, but you all are making this sound like a much bigger proposed change than it is, and the wiki has nothing to do with anything. In any case, it's not a part of this PR, so it wouldn't happen here. |
There's a lot of discussion about future directions, but IIUC the status of the PR itself is that there's no objection to what this PR is doing. Please could I have a few thumbs-up votes to confirm that? There's still a question for @Vultraz about whether the code itself looks good.
Clarifying what I meant by that, now that I've seen it can be read it two ways: I meant it looked wrong when the list went
But that would sort itself out when the WC and Soulless were moved into the Physical Undead folder by adding a
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No complaints code-wise. I defer to the whatever consensus there is as to tree layout.
I now think that adding The current PR makes Walking Corpses would get The only side-effect on @knyghtmare, @cooljeanius, @ForestDragon-wesnoth, @MechanicalDragon963 and @NorcensTomatoes - with this and the clarification in my previous post, do you have any objections to the current PR, or to that follow-up? |
I'm not quite sure... I just want to avoid stuff getting broken, and am not sure if "side-effect" can be parsed as "breakage" or not... |
as long as the current system with This PR is just a start, I assume since the monsters race can be split into a multitude of other races (ants/scorpions/birds/elementals/cephalods) once time permits? |
This PR is just the help browser UI, it will work for reorganising the monsters too. Some of the images show the results of adding |
Edit: no longer just a prototype.
Prototype: This was the original idea for visualising [race]help_taxonomy=, it didn't feel right to me back in September 2020, but I can't remember why it didn't. That idea is now being discussed in https://r.wesnoth.org/t56522 , so I'm opening a PR to share the implementation.