mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-11 16:14:08 +01:00
075de00420
## About The Pull Request This is was created because I found several rare and exciting canisters in game and then finding out there is no way to actually construct the vendor they belong to!... <img width="768" height="385" alt="image" src="https://github.com/user-attachments/assets/70261cea-daaf-41df-a212-21cef6d6bd0c" /> ### This PR: * Makes all noteable vendors constructable, if you have the canister. * Adds canisters to syndismokes, syndiechem, liberation station, magivend, shambler's juice and bombuddy * Replaces the old tptally random canisters spawner, with a variety of spawners weighted for power and split according to different themes. * Adds the new main canister spawner to maint. ### Spawner weights The random canister spawner from maintenance has a: * **93,5%** chance to spawn a common station vendor refill(with weights for wardrobes being somewhat reduced.) * **6%** chance to spawn a rare and special vendor refill. * **0.5%** chance to spawn a oddity level., super powerful vendor refill. ## Why It's Good For The Game One must never place a filled canister in maint if it isn't going to be constructed It's wrong to make promises you don't mean to keep. ## Changelog 🆑 add: Nearly all notable vendors are now constructable if you have the canister. add Added refill canisters for syndiesmokes, liberation station, magivend, bombuddy 3000, shambler's juice and syndichem. add: Random vending refill canisters now have a chance to spawn in maint. image: Robco Toolmaker and Centdrobe canisters have new sprites. /🆑
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/utility/welding = 2,
|
|
/obj/item/clothing/gloves/color/yellow = 1,
|
|
)
|
|
refill_canister = /obj/item/vending_refill/youtool
|
|
default_price = PAYCHECK_CREW
|
|
extra_price = PAYCHECK_COMMAND * 1.5
|
|
payment_department = ACCOUNT_ENG
|
|
|
|
/obj/item/vending_refill/youtool
|
|
machine_name = "YouTool"
|
|
icon_state = "refill_engi"
|