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

Indicate material needs on the screen #1747

Closed
bunnybot opened this issue Sep 9, 2019 · 14 comments
Closed

Indicate material needs on the screen #1747

bunnybot opened this issue Sep 9, 2019 · 14 comments
Labels
enhancement New feature or request ui User interface

Comments

@bunnybot
Copy link

bunnybot commented Sep 9, 2019

I've been playing with debug messages and noticed this:

MO(1388): soldier: Need more axe for creation
MO(1388): lumberjack: Need more axe for creation

COuld these messages, or likewise empty stocks be
indicated on the screen? Maybe have the icon appear on
the outer most right side of the screen, one beneath
the other.

This would indicate the need for certain resources more
adequatly. It would notify the user, instead of hiding
that info in the building screens.


Imported from Launchpad using lp2gh.

@bunnybot bunnybot added Confirmed ui User interface labels Sep 9, 2019
@bunnybot
Copy link
Author

bunnybot commented Sep 9, 2019

(by nobody-users)
Logged In: NO

Or if a building is under construction, you could have
little icons representing which materials are needed for
completion (much like the ones in the window when you click
on it, just smaller)

@bunnybot
Copy link
Author

bunnybot commented Sep 9, 2019

(by orionrobots)
Logged In: YES
user_id=748225
Originator: NO

This could be done at least by having it tied to the hover action on a building, or a toggle to show requirements.

@bunnybot
Copy link
Author

bunnybot commented Sep 9, 2019

(by sirver)
I agree that this must be inidicated in some ways. Maybe a message to the user "Economy needs a lumberjack, but no axes are available" could be done.

@bunnybot
Copy link
Author

bunnybot commented Sep 9, 2019

(by sirver)
Setting to incomplete for bug sweeping.

@bunnybot
Copy link
Author

bunnybot commented Sep 9, 2019

(by hjd)
(Especially considering comment #3): Is this separate from the warnings/complaints from buildings when they don't have the neccessary wares to produce something?

@bunnybot
Copy link
Author

bunnybot commented Sep 9, 2019

(by janitor)
[Expired for widelands because there has been no activity for 60 days.]

@bunnybot
Copy link
Author

bunnybot commented Sep 9, 2019

(by sirver)
I think there is a valuable proposition here. Thinks that I think about:

  1. If the information is surfaced globally (i.e. through a message to the user) will this make things too easy for the player? Figuring out the flaws of your economy is part of the game.

  2. displaying it on the building that does not get a worker is probably save - but somehow the information feels out of place there (ie. it does not belong there from a relational point of view, but if the user looks why no worker is in the building, she is probably interested in exactly this information right then).

@bunnybot
Copy link
Author

bunnybot commented Sep 9, 2019

(by wl-zocker)
I like the idea. It spares some clicking and searching because the important information is directly displayed. This might be interesting especially for newcomers who have not yet fully understood the connections inside the game.
I imagine little icons (explanation in the tutorial!) instead of text because it takes less space. They should be shown when a building has a request that currently cannot be fulfilled. There are these cases:

  1. A building does not get a worker (because of lacking tools or experience). Possible icons are:
    a) A man for general worker matters.
    b) A man for missing tools or a man with a star [1] for missing experienced workers.
    c) A man with his tool(s) or a man with a star as above.
  2. A construction site does not get a material. Show all of the missing ones. I think we can use the menu icons (they are big enough), but without the rectangular box (I do not know how they are saved in the files).
  3. A production building does not get a needed ware. I am unsure whether this case should show an icon, because that can be quite a lot.

All the icons should only be shown while the request is open. When the worker/ware is on the way, there is acutally no problem.

[1] I thought about the stars used in the menu icons to keep it consistent. Though I do not think that the menu icons would look good outside of the menus.

@bunnybot
Copy link
Author

bunnybot commented Sep 9, 2019

(by janitor)
[Expired for widelands because there has been no activity for 60 days.]

@bunnybot
Copy link
Author

bunnybot commented Sep 9, 2019

(by gunchleoc)
The information for 2) and 3) is displayed on the buldings themselves, but not the information for 1) (except for the fact that a worker is missing)

For 1): How about a mouseover for everything like we have in the production program? I finally managed to fix the phrasings for those, so we could add a simliar tooltip for missing workers. Maybe we could add a hover text with a reason:

  • Can't start mining because we have no master miner yet
  • Can't start mining because there is no master miner available
  • Can't start mining because the worker needs the following tool: 'pickaxe'

For a global display, we would need very short messages. It should also be clickable, so the user will be able to find the building that is complaining. Maybe we could also delay these as we recently did for the "Out of resources" messages, otherwise it could get very busy.

I'm thinking we could format the messages like this:

" needs <ware icon/worker icon/soldier icon>"

If the worker is missing because of experience, show a worker icon. If the tool to recruit the worker is missing, show the tool icon. If a militarysite can't get occupied, show a soldier icon.

The building icon should be the clickable element, or the whole message.

@bunnybot
Copy link
Author

bunnybot commented Sep 9, 2019

(by sirver)
I am against making this information publicly available. widelands is about figuring out the problems in your economy (actually anticipating it). It you get all the information on a silver platter, the game stops making sense (i.e. if you are only reacting to input instead of actively looking for problems and solutions).

I think it is fine to surface this information in the buildings - i.e. locally. I do not think more hover text is good (there is too much text already). Instead I suggest a pictogram in the current cencus string. This one is rendered using the new renderer already, so it will just be an tag in the text. Opening the building window could surface a description of the pictograms.

@bunnybot
Copy link
Author

bunnybot commented Sep 9, 2019

(by gunchleoc)
We already have all the info there in the s/c strings or oher texts except for the reason why a worker is missing. Now the question is: do we really need that info, if we want the players to figure out stuff themselves? Opening the building window will show which level of worker is missing and thwther one is already on his way. The player can deduct everything from there.

@bunnybot
Copy link
Author

bunnybot commented Sep 9, 2019

(by next-ghost)
I have a suggestion that solves this problem: Add another tab to the Ware Statistics window which would show the global stock minus global demand (that is, the total storage capacity of buildings that consume the given ware, respecting storage limits set by player for each building, and of course the demand for tools and weapons generated by vacant worker and soldier slots).

The Economy Health tab is nearly useless because once you burn through the initial stock, the graph will settle near zero even though the demand for given stock is several times larger than supply.

@gunchleoc gunchleoc added enhancement New feature or request launchpad_done and removed Wishlist labels Sep 13, 2019
@Noordfrees
Copy link
Member

IMHO such a feature would be superfluous in current Widelands. The stats strings over and inside productionsites, their tooltips, and the economy menus already give the player all the information they need. Close this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ui User interface
Projects
None yet
Development

No branches or pull requests

3 participants