mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
## 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. /🆑
39 lines
1.3 KiB
Plaintext
39 lines
1.3 KiB
Plaintext
/obj/machinery/vending/wallmed
|
|
name = "\improper Emergency NanoMed"
|
|
desc = "Wall-mounted Medical Equipment dispenser, Meant to be used in medical emergencies."
|
|
icon_state = "wallmed"
|
|
icon_deny = "wallmed-deny"
|
|
panel_type = "wallmed-panel"
|
|
density = FALSE
|
|
products = list(
|
|
/obj/item/stack/medical/bandage = 4,
|
|
/obj/item/stack/medical/ointment = 2,
|
|
/obj/item/reagent_containers/applicator/pill/multiver = 2,
|
|
/obj/item/stack/medical/gauze = 4,
|
|
/obj/item/reagent_containers/hypospray/medipen/ekit = 2,
|
|
/obj/item/healthanalyzer/simple = 2,
|
|
)
|
|
contraband = list(
|
|
/obj/item/storage/box/bandages = 1,
|
|
/obj/item/storage/box/gum/happiness = 1,
|
|
)
|
|
premium = list(
|
|
/obj/item/reagent_containers/applicator/patch/libital = 2,
|
|
/obj/item/reagent_containers/applicator/patch/aiuri = 2,
|
|
)
|
|
refill_canister = /obj/item/vending_refill/wallmed
|
|
default_price = PAYCHECK_CREW * 0.3 // Cheap since crew should be able to affort it in emergency situations
|
|
extra_price = PAYCHECK_COMMAND
|
|
payment_department = ACCOUNT_MED
|
|
tiltable = FALSE
|
|
light_mask = "wallmed-light-mask"
|
|
|
|
/obj/machinery/vending/wallmed/directional
|
|
allow_custom = FALSE
|
|
|
|
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/vending/wallmed, 32)
|
|
|
|
/obj/item/vending_refill/wallmed
|
|
machine_name = "Emergency NanoMed"
|
|
icon_state = "refill_medical"
|