[MIRROR] Cleans up Generate Vintage Code for Unlabeled Wine [MDB IGNORE] (#19798)

* Cleans up Generate Vintage Code for Unlabeled Wine (#73912)

## About The Pull Request

I should have done this or something similar in #70827 but I think I
thought it was too out of scope.

The gist is that we just get rid of a completely un-necessary var (since
it's a macro now), as well as multi-line and alphabetize the lists
present. simple really
## Why It's Good For The Game

Save the time of having a var for something that already points to a
macro, also multilined lists are swag
## Changelog
nothing that concerns players

* Cleans up Generate Vintage Code for Unlabeled Wine

---------

Co-authored-by: san7890 <the@san7890.com>
This commit is contained in:
SkyratBot
2023-03-13 01:57:27 +00:00
committed by GitHub
co-authored by san7890
parent 4a1d75c804
commit 7dea122679
@@ -362,10 +362,23 @@
desc = "There's no label on this wine bottle."
/obj/item/reagent_containers/cup/glass/bottle/wine/unlabeled/generate_vintage()
var/current_year = CURRENT_STATION_YEAR
var/year = rand(current_year-50,current_year)
var/type = pick("Sparkling","Dry White","Sweet White","Rich White","Rose","Light Red","Medium Red","Bold Red","Dessert")
var/origin = pick("Nanotrasen","Syndicate","Local")
var/year = rand(CURRENT_STATION_YEAR - 50, CURRENT_STATION_YEAR)
var/type = pick(
"Bold Red",
"Dessert",
"Dry White",
"Light Red",
"Medium Red",
"Rich White",
"Rose",
"Sparkling",
"Sweet White",
)
var/origin = pick(
"Local",
"Nanotrasen",
"Syndicate",
)
return "[year] [origin] [type]"
/obj/item/reagent_containers/cup/glass/bottle/absinthe