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

More types of alcohol #35164

Merged
merged 14 commits into from
Dec 9, 2019
Merged

More types of alcohol #35164

merged 14 commits into from
Dec 9, 2019

Conversation

Brytenwalda
Copy link
Contributor

@Brytenwalda Brytenwalda commented Oct 30, 2019

Summary

SUMMARY: Content "Several new types of alcohol."

Purpose of change

This change is small but surely very significant for all of us alcoholics out there. It will add variety to our travels.

Describe the solution

I added several types of whisky and fortified wines (sherry and madeira).
I also added it to proper item groups and made it spawn in mansions.

Describe alternatives you've considered

Testing

Everything should be working just fine. It's a very small change.

@Brytenwalda Brytenwalda changed the title Alcohol More alcohol Oct 30, 2019
@Brytenwalda Brytenwalda changed the title More alcohol More types of alcohol Oct 30, 2019
@curstwist
Copy link
Contributor

Make sure your put them into some item_groups so they can spawn.

I'd also request you add them to this specific flask item_group:
https://github.com/CleverRaven/Cataclysm-DDA/blob/d560dfc47119623f97c2e17332238169a5e98fe0/data/json/itemgroups/food_service.json

    "id": "flask_liquor",
    "type": "item_group",
    "subtype": "distribution",
    "items": [
      [ "flask_hip", 100 ],
      { "item": "whiskey", "prob": 40, "container-item": "flask_hip" },
      { "item": "vodka", "prob": 30, "container-item": "flask_hip" },
      { "item": "gin", "prob": 20, "container-item": "flask_hip" },
      { "item": "rum", "prob": 20, "container-item": "flask_hip" },
      { "item": "tequila", "prob": 20, "container-item": "flask_hip" },
      { "item": "brandy", "prob": 10, "container-item": "flask_hip" },
      { "item": "moonshine", "prob": 5, "container-item": "flask_hip" }
    ]
  }

@curstwist curstwist added [JSON] Changes (can be) made in JSON Items: Food / Vitamins Comestibles and drinks Items / Item Actions / Item Qualities Items and how they work and interact labels Oct 30, 2019
@ghost
Copy link

ghost commented Oct 30, 2019

Needs a linting

@Brytenwalda
Copy link
Contributor Author

Make sure your put them into some item_groups so they can spawn.

I'd also request you add them to this specific flask item_group:
https://github.com/CleverRaven/Cataclysm-DDA/blob/d560dfc47119623f97c2e17332238169a5e98fe0/data/json/itemgroups/food_service.json

    "id": "flask_liquor",
    "type": "item_group",
    "subtype": "distribution",
    "items": [
      [ "flask_hip", 100 ],
      { "item": "whiskey", "prob": 40, "container-item": "flask_hip" },
      { "item": "vodka", "prob": 30, "container-item": "flask_hip" },
      { "item": "gin", "prob": 20, "container-item": "flask_hip" },
      { "item": "rum", "prob": 20, "container-item": "flask_hip" },
      { "item": "tequila", "prob": 20, "container-item": "flask_hip" },
      { "item": "brandy", "prob": 10, "container-item": "flask_hip" },
      { "item": "moonshine", "prob": 5, "container-item": "flask_hip" }
    ]
  }

Thanks! I'll add them soon.

@Night-Pryanik
Copy link
Contributor

I'm ok with madeira and sherry, but do we really need two more varieties of whiskey? We already have whiskey in the game after all.

@Brytenwalda
Copy link
Contributor Author

Brytenwalda commented Oct 30, 2019

I'm ok with madeira and sherry, but do we really need two more varieties of whiskey? We already have whiskey in the game after all.

We already have many different types of wine, why can’t we have more types of whiskey?

Also, there are many variants of things already in game, like books, that are collectibles. The same can be said about whiskey. Collecting different kinds can be an interesting challenge.

@FuelType-Memes
Copy link
Contributor

Is it possible to use snippet_category to add different varieties of liquids?

@curstwist
Copy link
Contributor

curstwist commented Oct 30, 2019

Is it possible to use snippet_category to add different varieties of liquids?

I've tried this using tea varieties. It sort of works but not really. You can spawn them in with the snippet but once you stack bottles of the teas they all take on a single snippet.

I made an issue but it became stale and closed.

Comment on lines +1073 to +1153
{
"type": "COMESTIBLE",
"id": "single_pot_whiskey",
"name": "single pot still irish whiskey",
"name_plural": "single pot still irish whiskey",
"weight": "33 g",
"color": "brown",
"addiction_type": "alcohol",
"use_action": "ALCOHOL",
"stim": -12,
"container": "bottle_glass",
"comestible_type": "DRINK",
"symbol": "~",
"quench": -12,
"healthy": -2,
"addiction_potential": 5,
"calories": 79,
"description": "A bottle of fine Irish whiskey.",
"price": 2600,
"material": "alcohol",
"volume": "250 ml",
"flags": [ "EATEN_COLD" ],
"freezing_point": -22,
"phase": "liquid",
"charges": 7,
"fun": 20
},
{
"type": "COMESTIBLE",
"id": "cheap_whiskey",
"name": "cheap whiskey",
"name_plural": "cheap whiskey",
"weight": "33 g",
"color": "brown",
"addiction_type": "alcohol",
"use_action": "ALCOHOL",
"stim": -12,
"container": "bottle_glass",
"comestible_type": "DRINK",
"symbol": "~",
"quench": -12,
"healthy": -2,
"addiction_potential": 5,
"calories": 79,
"description": "A bottle of cheap whiskey.",
"price": 1800,
"material": "alcohol",
"volume": "250 ml",
"flags": [ "EATEN_COLD" ],
"freezing_point": -22,
"phase": "liquid",
"charges": 7,
"fun": 12
},
{
"type": "COMESTIBLE",
"id": "canadian_whiskey",
"name": "canadian whiskey",
"name_plural": "canadian whiskey",
"weight": "33 g",
"color": "brown",
"addiction_type": "alcohol",
"use_action": "ALCOHOL",
"stim": -12,
"container": "bottle_glass",
"comestible_type": "DRINK",
"symbol": "~",
"quench": -12,
"healthy": -2,
"addiction_potential": 5,
"calories": 79,
"description": "A bottle of fine Canadian whiskey.",
"price": 2400,
"material": "alcohol",
"volume": "250 ml",
"flags": [ "EATEN_COLD" ],
"freezing_point": -22,
"phase": "liquid",
"charges": 7,
"fun": 17
},
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add "copy-from": "whiskey" to these three items and remove the redundant entries.

Read doc/JSON_INHERITANCE.md for more information.

Comment on lines +1182 to +1234
"type": "COMESTIBLE",
"id": "bristol_sherry",
"name": "bristol sherry",
"name_plural": "sherry_bristol",
"weight": "120 g",
"color": "brown",
"addiction_type": "alcohol",
"use_action": "ALCOHOL",
"stim": -12,
"container": "bottle_glass",
"comestible_type": "DRINK",
"symbol": "~",
"quench": -12,
"healthy": -2,
"addiction_potential": 5,
"calories": 99,
"description": "Finest sherry straight from Bristol. Adorned with a Royal Purveyor's mark.",
"price": 2800,
"material": "alcohol",
"volume": "750 ml",
"flags": [ "EATEN_COLD" ],
"freezing_point": -22,
"phase": "liquid",
"charges": 7,
"fun": 18
},
{
"type": "COMESTIBLE",
"id": "madeira",
"name": "madera",
"name_plural": "madeira",
"weight": "120 g",
"color": "brown",
"addiction_type": "alcohol",
"use_action": "ALCOHOL",
"stim": -12,
"container": "bottle_glass",
"comestible_type": "DRINK",
"symbol": "~",
"quench": -12,
"healthy": -2,
"addiction_potential": 5,
"calories": 99,
"description": "Fortified wine from Madeira. A true Royal Navy drink.",
"price": 2400,
"material": "alcohol",
"volume": "750 ml",
"flags": [ "EATEN_COLD" ],
"freezing_point": -22,
"phase": "liquid",
"charges": 7,
"fun": 15
},
Copy link
Contributor

Choose a reason for hiding this comment

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

Again, please have these two items inherit from sherry.

@Kodiologist
Copy link
Contributor

Don't forget to capitalize proper nouns (e.g., "irish" should be "Irish"), and using the word "bottle" in descriptions isn't a great idea, because the descriptions apply to the liquids no matter what container you put them in.

@stale
Copy link

stale bot commented Dec 4, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not 'bump' or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered.

@stale stale bot added the stale Closed for lack of activity, but still valid. label Dec 4, 2019
@kevingranade
Copy link
Member

I'd rather merge this and bolt on the inheritance stuff later than just can it.

@stale stale bot removed the stale Closed for lack of activity, but still valid. label Dec 9, 2019
@kevingranade kevingranade merged commit 3e41421 into CleverRaven:master Dec 9, 2019
@Jovus
Copy link
Contributor

Jovus commented Dec 9, 2019

Did this also involve changing the appropriate recipes to account for the new alcohol types? I'm thinking specifically of strong mixed alcohol and ethanol, which lead to ether.

@Davi-DeGanne
Copy link
Contributor

Looks like no. I added your point to a new issue that summarizes the changes that still ought to be made to these new items.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Items: Food / Vitamins Comestibles and drinks Items / Item Actions / Item Qualities Items and how they work and interact [JSON] Changes (can be) made in JSON
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants