mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
* Add language variety to machines that speak (#71643) ## About The Pull Request This builds on #70278 by giving other machines (vendors, newscasters, computers, etc.) the ability to speak different languages. If the station "Bot language malfunction" trait is rolled, then these machines will select a random race starting language. If a machine is EMP'd then it has a chance to change the language. There is also a language wire that can be pulsed to change the language for vending machines. Default language for machines is galactic common, but there are rare exceptions: - Beach vendors will now speak beachbum - Syndicate vendors will now speak codespeak - Changeling vendors will now speak a random language after each slogan ## Why It's Good For The Game More depth to the language feature. ## Changelog 🆑 add: Add language variety to machines that speak. You can also pulse the vendor language wire to make it switch languages or EMP a machine to get the same effect. add: Shambling cola vendors will now speak a different language each time they talk. Syndicate vendors will now speak codespeak. Beach vendors will now speak beachbum. /🆑 * Add language variety to machines that speak * updates imported vendors Co-authored-by: Tim <timothymtorres@gmail.com> Co-authored-by: Paxilmaniac <paxilmaniac@gmail.com>
99 lines
4.4 KiB
Plaintext
99 lines
4.4 KiB
Plaintext
/obj/machinery/vending/boozeomat
|
|
name = "\improper Booze-O-Mat"
|
|
desc = "A technological marvel, supposedly able to mix just the mixture you'd like to drink the moment you ask for one."
|
|
icon_state = "boozeomat"
|
|
icon_deny = "boozeomat-deny"
|
|
panel_type = "panel22"
|
|
|
|
product_categories = list(
|
|
list(
|
|
"name" = "Alcoholic",
|
|
"icon" = "wine-bottle",
|
|
"products" = list(
|
|
/obj/item/reagent_containers/cup/glass/bottle/curacao = 5,
|
|
/obj/item/reagent_containers/cup/glass/bottle/applejack = 5,
|
|
/obj/item/reagent_containers/cup/glass/bottle/tequila = 5,
|
|
/obj/item/reagent_containers/cup/glass/bottle/rum = 5,
|
|
/obj/item/reagent_containers/cup/glass/bottle/cognac = 5,
|
|
/obj/item/reagent_containers/cup/glass/bottle/wine = 5,
|
|
/obj/item/reagent_containers/cup/glass/bottle/absinthe = 5,
|
|
/obj/item/reagent_containers/cup/glass/bottle/vermouth = 5,
|
|
/obj/item/reagent_containers/cup/glass/bottle/gin = 5,
|
|
/obj/item/reagent_containers/cup/glass/bottle/grenadine = 4,
|
|
/obj/item/reagent_containers/cup/glass/bottle/hcider = 5,
|
|
/obj/item/reagent_containers/cup/glass/bottle/amaretto = 5,
|
|
/obj/item/reagent_containers/cup/glass/bottle/ale = 6,
|
|
/obj/item/reagent_containers/cup/glass/bottle/grappa = 5,
|
|
/obj/item/reagent_containers/cup/glass/bottle/navy_rum = 5,
|
|
/obj/item/reagent_containers/cup/glass/bottle/maltliquor = 6,
|
|
/obj/item/reagent_containers/cup/glass/bottle/kahlua = 5,
|
|
/obj/item/reagent_containers/cup/glass/bottle/sake = 5,
|
|
/obj/item/reagent_containers/cup/glass/bottle/beer = 6,
|
|
/obj/item/reagent_containers/cup/glass/bottle/vodka = 5,
|
|
/obj/item/reagent_containers/cup/glass/bottle/whiskey = 5,
|
|
),
|
|
),
|
|
|
|
list(
|
|
"name" = "Non-Alcoholic",
|
|
"icon" = "bottle-water",
|
|
"products" = list(
|
|
/obj/item/reagent_containers/cup/glass/ice = 10,
|
|
/obj/item/reagent_containers/cup/glass/bottle/juice/limejuice = 4,
|
|
/obj/item/reagent_containers/cup/glass/bottle/juice/menthol = 4,
|
|
/obj/item/reagent_containers/cup/glass/bottle/juice/cream = 4,
|
|
/obj/item/reagent_containers/cup/glass/bottle/juice/orangejuice = 4,
|
|
/obj/item/reagent_containers/cup/glass/bottle/juice/tomatojuice = 4,
|
|
/obj/item/reagent_containers/cup/soda_cans/sodawater = 15,
|
|
/obj/item/reagent_containers/cup/soda_cans/sol_dry = 8,
|
|
/obj/item/reagent_containers/cup/soda_cans/cola = 8,
|
|
/obj/item/reagent_containers/cup/soda_cans/tonic = 8,
|
|
),
|
|
),
|
|
|
|
list(
|
|
"name" = "Glassware",
|
|
"icon" = "wine-glass",
|
|
"products" = list(
|
|
/obj/item/reagent_containers/cup/glass/drinkingglass = 30,
|
|
/obj/item/reagent_containers/cup/glass/drinkingglass/shotglass = 12,
|
|
/obj/item/reagent_containers/cup/glass/flask = 3,
|
|
/obj/item/reagent_containers/cup/glass/bottle = 15,
|
|
/obj/item/reagent_containers/cup/glass/bottle/small = 15,
|
|
),
|
|
),
|
|
)
|
|
|
|
contraband = list(
|
|
/obj/item/reagent_containers/cup/glass/mug/tea = 12,
|
|
/obj/item/reagent_containers/cup/glass/bottle/fernet = 5,
|
|
)
|
|
premium = list(
|
|
/obj/item/reagent_containers/cup/bottle/ethanol = 4,
|
|
/obj/item/reagent_containers/cup/glass/bottle/champagne = 5,
|
|
/obj/item/reagent_containers/cup/glass/bottle/trappist = 5,
|
|
/obj/item/reagent_containers/cup/glass/bottle/bitters = 5,
|
|
)
|
|
|
|
product_slogans = "I hope nobody asks me for a bloody cup o' tea...;Alcohol is humanity's friend. Would you abandon a friend?;Quite delighted to serve you!;Is nobody thirsty on this station?"
|
|
product_ads = "Drink up!;Booze is good for you!;Alcohol is humanity's best friend.;Quite delighted to serve you!;Care for a nice, cold beer?;Nothing cures you like booze!;Have a sip!;Have a drink!;Have a beer!;Beer is good for you!;Only the finest alcohol!;Best quality booze since 2053!;Award-winning wine!;Maximum alcohol!;Man loves beer.;A toast for progress!"
|
|
req_access = list(ACCESS_BAR)
|
|
refill_canister = /obj/item/vending_refill/boozeomat
|
|
default_price = PAYCHECK_CREW * 0.9
|
|
extra_price = PAYCHECK_COMMAND
|
|
payment_department = ACCOUNT_SRV
|
|
light_mask = "boozeomat-light-mask"
|
|
|
|
/obj/machinery/vending/boozeomat/all_access
|
|
desc = "A technological marvel, supposedly able to mix just the mixture you'd like to drink the moment you ask for one. This model appears to have no access restrictions."
|
|
req_access = null
|
|
|
|
/obj/machinery/vending/boozeomat/syndicate_access
|
|
req_access = list(ACCESS_SYNDICATE)
|
|
age_restrictions = FALSE
|
|
initial_language_holder = /datum/language_holder/syndicate
|
|
|
|
/obj/item/vending_refill/boozeomat
|
|
machine_name = "Booze-O-Mat"
|
|
icon_state = "refill_booze"
|