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

Consistently show merch cost in conversation #55737

Merged
merged 2 commits into from
Mar 4, 2022

Conversation

haveric
Copy link
Contributor

@haveric haveric commented Feb 28, 2022

Summary

Bugfixes "Consistently show merch cost in conversation"

Purpose of change

Some purchases using merch weren't showing the price. The Tacoma ranch barber was in $ and the scavenger was [FMC750]. We should be consistent for all of them. Also fixed the grammar in Cody's blacksmith quests.

Describe the solution

Anywhere merch is used to purchase/trade for something, show [# merch] before the sentence for consistency. Only exception now is Cody's fabrication services, which are shown as [# merch, # mm]

Describe alternatives you've considered

  • Maybe this could be a variable or automatically handled by looking at u_sell_item and u_consume_item, but I'm not sure we want to do this for all items.

Testing

Compiled and loaded the game. Checked a couple dialogs.

To find these, I searched for "u_consume_item": "FMCNote" and "u_sell_item": "FMCNote"

Additional context

image
image

@haveric haveric requested a review from I-am-Erk as a code owner February 28, 2022 00:41
@github-actions github-actions bot added astyled astyled PR, label is assigned by github actions json-styled JSON lint passed, label assigned by github actions labels Feb 28, 2022
@Maleclypse Maleclypse added [JSON] Changes (can be) made in JSON NPC / Factions NPCs, AI, Speech, Factions, Ownership <Bugfix> This is a fix for a bug (or closes open issue) labels Feb 28, 2022
@github-actions github-actions bot added the BasicBuildPassed This PR builds correctly, label assigned by github actions label Feb 28, 2022
@haveric haveric mentioned this pull request Feb 28, 2022
71 tasks
@kevingranade kevingranade merged commit 2c89572 into CleverRaven:master Mar 4, 2022
@@ -18,13 +18,13 @@
{ "text": "What is your job here?", "topic": "TALK_RANCH_BARBER_JOB" },
{ "text": "Do you need any help?", "topic": "TALK_RANCH_BARBER_HIRE" },
{
"text": "[$5] I'll have a shave",
"text": "[3 merch] I'll have a shave",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing full stop at the end.

"topic": "TALK_RANCH_BARBER_CUT",
"condition": { "u_has_items": { "item": "FMCNote", "count": 3 } },
"effect": [ "buy_shave", { "u_sell_item": "FMCNote", "count": 3 }, "barber_beard" ]
},
{
"text": "[$10] I'll get a haircut",
"text": "[6 merch] I'll get a haircut",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing full stop at the end.

@Faalagorn
Copy link
Contributor

I marked two comments that are missing the full stop at the end (these are on screenshot), these cause the strings to appear (and having to be translated) twice in Transifex, that's how I found them :)

@haveric
Copy link
Contributor Author

haveric commented Mar 4, 2022

I can make those fixes in the Tacoma PR

@haveric haveric deleted the merch branch March 16, 2022 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions <Bugfix> This is a fix for a bug (or closes open issue) [JSON] Changes (can be) made in JSON json-styled JSON lint passed, label assigned by github actions NPC / Factions NPCs, AI, Speech, Factions, Ownership
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants