mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-30 02:52:30 +00: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. /🆑
95 lines
4.2 KiB
Plaintext
95 lines
4.2 KiB
Plaintext
/obj/machinery/vending/cigarette
|
|
name = "\improper ShadyCigs Deluxe"
|
|
desc = "If you want to get cancer, might as well do it in style."
|
|
product_slogans = "Space cigs taste good like a cigarette should.;I'd rather toolbox than switch.;Smoke!;Don't believe the reports - smoke today!"
|
|
product_ads = "Probably not bad for you!;Don't believe the scientists!;It's good for you!;Don't quit, buy more!;Smoke!;Nicotine heaven.;Best cigarettes since 2150.;Award-winning cigs."
|
|
icon_state = "cigs"
|
|
panel_type = "panel5"
|
|
products = list(
|
|
/obj/item/storage/fancy/cigarettes = 5,
|
|
/obj/item/storage/fancy/cigarettes/cigpack_candy = 4,
|
|
/obj/item/storage/fancy/cigarettes/cigpack_uplift = 3,
|
|
/obj/item/storage/fancy/cigarettes/cigpack_robust = 3,
|
|
/obj/item/storage/fancy/cigarettes/cigpack_carp = 3,
|
|
/obj/item/storage/fancy/cigarettes/cigpack_midori = 3,
|
|
/obj/item/storage/box/matches = 10,
|
|
/obj/item/lighter/greyscale = 4,
|
|
/obj/item/storage/fancy/rollingpapers = 5,
|
|
)
|
|
contraband = list(
|
|
/obj/item/vape = 5,
|
|
/obj/item/cigarette/dart = 1,
|
|
/obj/item/storage/fancy/cigarettes/cigpack_greytide = 1,
|
|
)
|
|
premium = list(
|
|
/obj/item/storage/fancy/cigarettes/cigpack_robustgold = 3,
|
|
/obj/item/storage/box/gum/nicotine = 2,
|
|
/obj/item/lighter = 3,
|
|
/obj/item/storage/fancy/cigarettes/cigars = 1,
|
|
/obj/item/storage/fancy/cigarettes/cigars/havana = 1,
|
|
/obj/item/storage/fancy/cigarettes/cigars/cohiba = 1,
|
|
)
|
|
|
|
refill_canister = /obj/item/vending_refill/cigarette
|
|
default_price = PAYCHECK_CREW
|
|
extra_price = PAYCHECK_COMMAND
|
|
payment_department = ACCOUNT_SRV
|
|
light_mask = "cigs-light-mask"
|
|
|
|
/obj/machinery/vending/cigarette/syndicate
|
|
name = "\improper Waffle Co Breakfast Cigarettes"
|
|
product_slogans = "Start your day the right way!;Breakfast of champions!;Smokes that mean business!;Omnizine, your uplink to smooth taste!"
|
|
product_ads = "Waffle Co's science advisory: omnizine may prevent most forms of smoking-related illness!*;New study: Rival corporations more trusting of men who smoke!;A Waffle Co cigarette makes yellow star feel like black orbit!"
|
|
products = list(
|
|
/obj/item/storage/fancy/cigarettes/cigpack_syndicate = 7,
|
|
/obj/item/storage/fancy/cigarettes/cigpack_uplift = 3,
|
|
/obj/item/storage/fancy/cigarettes/cigpack_candy = 2,
|
|
/obj/item/storage/fancy/cigarettes/cigpack_robust = 2,
|
|
/obj/item/storage/fancy/cigarettes/cigpack_carp = 3,
|
|
/obj/item/storage/fancy/cigarettes/cigpack_midori = 1,
|
|
/obj/item/storage/fancy/cigarettes/cigpack_greytide = 1,
|
|
/obj/item/storage/box/matches = 10,
|
|
/obj/item/lighter/greyscale = 4,
|
|
/obj/item/storage/fancy/rollingpapers = 5,
|
|
)
|
|
initial_language_holder = /datum/language_holder/syndicate
|
|
refill_canister = /obj/item/vending_refill/cigarette/syndicate
|
|
|
|
/obj/item/vending_refill/cigarette/syndicate
|
|
machine_name = "Waffle Co Breakfast Cigarettes"
|
|
icon_state = "refill_syndismoke"
|
|
|
|
|
|
/obj/machinery/vending/cigarette/beach //Used in the lavaland_biodome_beach.dmm ruin
|
|
name = "\improper ShadyCigs Ultra"
|
|
desc = "Now with extra premium products!"
|
|
product_ads = "Probably not bad for you!;Dope will get you through times of no money better than money will get you through times of no dope!;It's good for you!"
|
|
product_slogans = "Turn on, tune in, drop out!;Better living through chemistry!;Toke!;Don't forget to keep a smile on your lips and a song in your heart!"
|
|
products = list(
|
|
/obj/item/storage/fancy/cigarettes = 5,
|
|
/obj/item/storage/fancy/cigarettes/cigpack_uplift = 3,
|
|
/obj/item/storage/fancy/cigarettes/cigpack_robust = 3,
|
|
/obj/item/storage/fancy/cigarettes/cigpack_carp = 3,
|
|
/obj/item/storage/fancy/cigarettes/cigpack_midori = 3,
|
|
/obj/item/storage/fancy/cigarettes/cigpack_cannabis = 5,
|
|
/obj/item/storage/box/matches = 10,
|
|
/obj/item/lighter/greyscale = 4,
|
|
/obj/item/storage/fancy/rollingpapers = 5,
|
|
)
|
|
premium = list(
|
|
/obj/item/storage/fancy/cigarettes/cigpack_mindbreaker = 5,
|
|
/obj/item/vape = 5,
|
|
/obj/item/lighter = 3,
|
|
)
|
|
initial_language_holder = /datum/language_holder/beachbum
|
|
allow_custom = FALSE
|
|
|
|
/obj/item/vending_refill/cigarette
|
|
machine_name = "ShadyCigs Deluxe"
|
|
icon_state = "refill_smoke"
|
|
|
|
/obj/machinery/vending/cigarette/pre_throw(obj/item/thrown_item)
|
|
if(istype(thrown_item, /obj/item/lighter))
|
|
var/obj/item/lighter/thrown_lighter = thrown_item
|
|
thrown_lighter.set_lit(TRUE)
|