mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-05 06:21:57 +00:00
Removes a bunch of duplicated sprites by making it so vending machines can share the same panel overlay where applicable. Every single vending machine in the game had a unique copy pasted panel icon because one line of code said you need to do that.
40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
/obj/machinery/vending/tool
|
|
name = "\improper YouTool"
|
|
desc = "Tools for tools."
|
|
icon_state = "tool"
|
|
icon_deny = "tool-deny"
|
|
panel_type = "panel11"
|
|
light_mask = "tool-light-mask"
|
|
products = list(
|
|
/obj/item/stack/cable_coil = 10,
|
|
/obj/item/crowbar = 5,
|
|
/obj/item/weldingtool = 3,
|
|
/obj/item/wirecutters = 5,
|
|
/obj/item/wrench = 5,
|
|
/obj/item/analyzer = 5,
|
|
/obj/item/t_scanner = 5,
|
|
/obj/item/screwdriver = 5,
|
|
/obj/item/flashlight/glowstick = 3,
|
|
/obj/item/flashlight/glowstick/red = 3,
|
|
/obj/item/flashlight = 5,
|
|
/obj/item/clothing/ears/earmuffs = 1
|
|
)
|
|
contraband = list(
|
|
/obj/item/clothing/gloves/color/fyellow = 2
|
|
)
|
|
premium = list(
|
|
/obj/item/storage/belt/utility = 2,
|
|
/obj/item/multitool = 2,
|
|
/obj/item/weldingtool/hugetank = 2,
|
|
/obj/item/clothing/head/welding = 2,
|
|
/obj/item/clothing/gloves/color/yellow = 1
|
|
)
|
|
refill_canister = /obj/item/vending_refill/youtool
|
|
default_price = PAYCHECK_ASSISTANT
|
|
extra_price = PAYCHECK_COMMAND * 1.5
|
|
payment_department = ACCOUNT_ENG
|
|
|
|
/obj/item/vending_refill/youtool
|
|
machine_name = "YouTool"
|
|
icon_state = "refill_engi"
|