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

Econ trade.lua #2657

Closed
wants to merge 6 commits into from
Closed

Econ trade.lua #2657

wants to merge 6 commits into from

Conversation

radius75
Copy link
Contributor

Issue #2648

@lwho
Copy link
Contributor

lwho commented Jan 16, 2014

I agree with the calculation change. I was already wondering about the strange changes when loading/unloading cargo.

As for the label: In my understanding cargo space is the room where cargo is stored and so includes both the empty and occupied area. The gauge describes how much of each is there (so describes the complete cargo space). So, I would leave the label as it is.
But I'm not a native speaker of English, and you aren't either, I think? So we should wait for one to comment on this.

Technical comment in case the text should be changed: This is the only place where the CARGO_SPACE string is used, so I think you should either just change the message or remove the now unused CARGO_SPACE (I think, I would prefer just changing the message).

@robn
Copy link
Member

robn commented Jan 16, 2014

Its supposed to show used/total, and be read eg "5 used of 10". This construction is fairly common in English eg game scores or school grades are often "4 out of 5" or similar.

I suppose free space remaining is probably a more useful figure, as long as its clear to the reader. I wonder if we should just be really explicit, something like:

screenshot - 170114 - 10 35 41

(Just a mockup, so ignore the fact that the gauge doesn't match the numbers!)

@robn
Copy link
Member

robn commented Jan 17, 2014

I implemented this on robn/cargo-counts.

screenshot - 170114 - 21 14 15

What do you think?

@nozmajner
Copy link
Contributor

I like it. Playing with text size is very useful, and adds a lot in general if done good. And this one looks good.
Is it hard to use more than one font in those screens? The Titillium has some very nice weights.

@radius75
Copy link
Contributor Author

screenshot-20140117-195753

This is good solution

@robn
Copy link
Member

robn commented Jan 18, 2014

@nozmajner not hard to add extra fonts, its just a case of how to refer to them. I've tried to make the whole UI not pegged to any particular font, so the two fonts are just "normal" and "heading", and are hooked up to actual font tiles in the data files in data/fonts. But yes, we should think about it.

@radius75 looks good. I'll pull it all together and merge it right now.

@robn
Copy link
Member

robn commented Jan 18, 2014

Fyi I'm intending soon (its mostly done) to include the station view footer on the info view, so this cargo screen will get a cleanup then too.

@robn robn closed this Jan 18, 2014
@radius75 radius75 deleted the EconTrade.lua branch January 18, 2014 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants