mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-29 19:11:51 +00:00
* Color standardization, vars moved, and signals (#52574) Defined all the existing light_color values. Moved their definitions to colors.dm Made white the default color. It was so already, but that was very obscured. Moved the atom light-related variables to the atom definition. Wrapped changes to variables such as light_color into procs that report the event through signals. Moved the light_on variable to the atom level, also adding a signal for its changing, to represent toggling lights. Cleaned up a little bit of code in where new variables were defined before redefinitions. This is all atomization to reduce changes in #52413 None of this affect gameplay at all, it's all code cleaning and refactoring. There's more colors to standardize, a search for color = will find lots of targets, and I see little need to have both the LIGHT_COLOR and COLOR patterns, but I don't want to make this PR bigger than it already is. * Color standardization, vars moved, and signals Co-authored-by: Rohesie <rohesie@gmail.com>
21 lines
1.1 KiB
Plaintext
21 lines
1.1 KiB
Plaintext
/obj/machinery/vending/coffee
|
|
name = "\improper Solar's Best Hot Drinks"
|
|
desc = "A vending machine which dispenses hot drinks."
|
|
product_ads = "Have a drink!;Drink up!;It's good for you!;Would you like a hot joe?;I'd kill for some coffee!;The best beans in the galaxy.;Only the finest brew for you.;Mmmm. Nothing like a coffee.;I like coffee, don't you?;Coffee helps you work!;Try some tea.;We hope you like the best!;Try our new chocolate!;Admin conspiracies"
|
|
icon_state = "coffee"
|
|
icon_vend = "coffee-vend"
|
|
products = list(/obj/item/reagent_containers/food/drinks/coffee = 6,
|
|
/obj/item/reagent_containers/food/drinks/mug/tea = 6,
|
|
/obj/item/reagent_containers/food/drinks/mug/coco = 3)
|
|
contraband = list(/obj/item/reagent_containers/food/drinks/ice = 12)
|
|
refill_canister = /obj/item/vending_refill/coffee
|
|
default_price = 45
|
|
extra_price = 150
|
|
payment_department = ACCOUNT_SRV
|
|
light_mask = "coffee-light-mask"
|
|
light_color = COLOR_DARK_MODERATE_ORANGE
|
|
|
|
/obj/item/vending_refill/coffee
|
|
machine_name = "Solar's Best Hot Drinks"
|
|
icon_state = "refill_joe"
|