Files
Bubberstation/code/modules/vending/assist.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

48 lines
1.6 KiB
Plaintext

/obj/machinery/vending/assist
name = "\improper Part-Mart"
desc = "All the finest of miscellaneous electronics one could ever need! Not responsible for any injuries caused by reckless misuse of parts."
icon_state = "parts"
icon_deny = "parts-deny"
panel_type = "panel10"
products = list(
/obj/item/assembly/igniter = 3,
/obj/item/assembly/prox_sensor = 5,
/obj/item/assembly/signaler = 4,
/obj/item/computer_disk/ordnance = 4,
/obj/item/stock_parts/capacitor = 3,
/obj/item/stock_parts/servo = 3,
/obj/item/stock_parts/matter_bin = 3,
/obj/item/stock_parts/micro_laser = 3,
/obj/item/stock_parts/scanning_module = 3,
/obj/item/wirecutters = 2,
/obj/item/stack/sticky_tape/duct = 3,
)
contraband = list(
/obj/item/assembly/health = 2,
/obj/item/assembly/timer = 2,
/obj/item/assembly/voice = 2,
/obj/item/stock_parts/power_store/cell/high = 1,
/obj/item/stock_parts/power_store/battery/high = 1,
/obj/item/market_uplink/blackmarket = 1,
/obj/item/screwdriver = 2,
/obj/item/assembly/mousetrap = 4,
/obj/item/weaponcrafting/stock = 2,
)
premium = list(
/obj/item/assembly/igniter/condenser = 2,
/obj/item/circuitboard/machine/vendor = 3,
/obj/item/universal_scanner = 3,
/obj/item/vending_refill/custom = 3,
)
refill_canister = /obj/item/vending_refill/assist
product_ads = "Only the finest!;Have some tools.;The most robust equipment.;The finest gear in space!"
default_price = PAYCHECK_CREW * 0.7 //Default of 35.
extra_price = PAYCHECK_CREW
payment_department = NO_FREEBIES
light_mask = "parts-light-mask"
/obj/item/vending_refill/assist
machine_name = "Part-Mart"
icon_state = "refill_parts"