Files
Bubberstation/code/modules/vending/donk.dm
Krysonism 075de00420 Chekov's Canister! Adds missing resupply canisters, makes them constructable & spawn in maint,. (#93028)
## 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.
/🆑
2025-10-02 20:12:46 +02:00

42 lines
1.7 KiB
Plaintext

/obj/machinery/vending/donksnack
name = "\improper Donk Co Vendor"
desc = "A snack machine courtesy of Donk Co."
product_slogans = "Just microwave and eat!;The original home of the Donk Pocket!"
product_ads = "The original!;You wanna put a bangin' Donk on it!;The best!;The seasoned traitor's food of choice!;Now with 12% more omnizine!;Eat DONK or DIE!;The galaxy's most popular microwavable snack food!*;Try our NEW Ready-Donk Meals!"
icon_state = "snackdonk"
panel_type = "panel18"
light_mask = "donksoft-light-mask"
products = list(
/obj/item/food/donkpocket = 6,
/obj/item/food/donkpocket/berry = 6,
/obj/item/food/donkpocket/honk = 6,
/obj/item/food/donkpocket/pizza = 6,
/obj/item/food/donkpocket/spicy = 6,
/obj/item/food/donkpocket/teriyaki = 6,
/obj/item/food/tatortot = 12,
)
contraband = list(
/obj/item/food/waffles = 2,
/obj/item/food/donkpocket/dank = 2,
/obj/item/food/donkpocket/gondola = 1,
)
premium = list(
/obj/item/storage/box/donkpockets = 3,
/obj/item/storage/box/donkpockets/donkpocketberry = 3,
/obj/item/storage/box/donkpockets/donkpockethonk = 3,
/obj/item/storage/box/donkpockets/donkpocketpizza = 3,
/obj/item/storage/box/donkpockets/donkpocketspicy = 3,
/obj/item/storage/box/donkpockets/donkpocketteriyaki = 3,
/obj/item/storage/belt/military/snack = 2,
/obj/item/mod/module/microwave_beam = 1,
)
initial_language_holder = /datum/language_holder/syndicate
refill_canister = /obj/item/vending_refill/donksnackvendor
default_price = PAYCHECK_CREW * 1.4
extra_price = PAYCHECK_CREW * 5
payment_department = NO_FREEBIES
/obj/item/vending_refill/donksnackvendor
machine_name = "Donk Co Snack Vendor"
icon_state = "refill_donksnack"