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

Remove "pair of" from singular item names #35803

Closed
wants to merge 1 commit into from

Conversation

Kodiologist
Copy link
Contributor

@Kodiologist Kodiologist commented Dec 1, 2019

Summary

SUMMARY: Interface "Remove \"pair of\" from item names"

Purpose of change

To remove uninformative prefixes, as in #34977.

Describe the solution

It's a big diff for one small change: a regex replacement from "name": "(?:pair of )?(.+?)",\s+"name_plural": "pairs of .+?" to "name": { "str": "\1", "str_pl": "\1" }.

Describe alternatives you've considered

Perhaps some items whose pairing is not obvious, like butterfly knives, should keep the "pair of".

Items with singular and plural names that are identical are common enough that there should be a way to specify them without repeating the name (e.g., "name": { "str_ps": "knitting needles" }). The current system is just begging for duplicated names to get accidentally desynchronized. But perhaps that's better left for another PR.

@Kodiologist
Copy link
Contributor Author

Kodiologist commented Dec 1, 2019

Oh dang, this doesn't work quite as I hoped; three pairs of boots are now listed in the inventory as "3 boots", which is pretty confusing. Perhaps the plural forms should retain "pairs of", while the singular forms should have no "pair of"? (That's what I did in Rogue TV, back when I was actually working on that game.) What do you guys think?

@Kodiologist Kodiologist changed the title Remove "pair of" from item names [WIP] Remove "pair of" from item names Dec 1, 2019
@Davi-DeGanne
Copy link
Contributor

Davi-DeGanne commented Dec 3, 2019

Not a huge fan of that solution either.

  1. Seeing boots on it's own with no number might make sense in the context of a list of worn items where that number is implied to be 2, but in other contexts, it could be confusing, especially to new players. Imagine looking in a dresser as a new player and seeing:

    boots
    socks
    leather gloves
    

    Not very descriptive or clear.

  2. It doesn't really solve anything; AFAICT, the stated goal of this is to reduce length of item names and remove uninformative descriptors, but your new solution leaves plural forms (the longer of the two) untouched, and takes out what is, IMO, an informative descriptor.

I do agree that some of the item names in question are too long (e.g. 2 pairs of armored fingerless gloves (poor fit) -- phew) but I don't picture this angle bearing fruit.

@ZhilkinSerg ZhilkinSerg added [JSON] Changes (can be) made in JSON Items / Item Actions / Item Qualities Items and how they work and interact Translation I18n labels Dec 3, 2019
@Kodiologist
Copy link
Contributor Author

  1. Can't relate. For everything else in the game, the number is omitted for a single unit of an item, and the fact that the unit is one pair for something like pants or boots should be obvious, but is clarified by the many item descriptions that mention that the thing is a pair. (In the few cases where the description doesn't include a mention that the thing is a pair, perhaps we should add it.) At any rate, I find it a lot easier to remember that boots come in pairs than that the M4A1 is a carbine, or indeed that it is a gun.
  2. Surely getting a shorter name in the more common case is better than nothing.

@Davi-DeGanne
Copy link
Contributor

At any rate, I find it a lot easier to remember that boots come in pairs than that the M4A1 is a carbine, or indeed that it is a gun.

That isn't my complaint, I agree that the description stating that the item comes in pairs is sufficient, just like stating that the M4A1 is a carbine in the description is sufficient. My complaint is with the ambiguity of the number of pairs present in the singular case. Yes,

For everything else in the game, the number is omitted for a single unit of an item

but your proposed change might throw that concept into question for players still learning the game.

@Kodiologist
Copy link
Contributor Author

I have now pushed a new version that does what I just described. And now I notice that "the number is omitted for a single unit of an item" is not actually true throughout the game. You can get the messages "You see here 1 boots", "You see here 1 blueberries", and "You see here 1 SPAM". I suspect that deeper changes are needed to make the game more grammatically aware, and the interaction of that with translation will be a nasty business. I'd say that on balance this change is probably for the better, but clearly it's a judgment call.

@Kodiologist Kodiologist changed the title [WIP] Remove "pair of" from item names Remove "pair of" from singular item names Dec 3, 2019
@mkikt4743
Copy link

yeah it seems fine as it is to me boss, don't see why this needs changing, goes to a more confusing en result so far

@I-am-Erk
Copy link
Member

I gave this some time for a good think over and I agree, while the motivation behind this is great, the result is just too awkward.

@I-am-Erk I-am-Erk closed this Jan 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Items / Item Actions / Item Qualities Items and how they work and interact [JSON] Changes (can be) made in JSON Translation I18n
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants