mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 03:59:59 +01:00
## About The Pull Request I was thinking to contribute something to the new away mission map to make it better. Mapping and all takes too much time for me, so I could do little. Though it comes with its own unique gimmicks. To reach the cafeteria, one has to complete a couple puzzles. The first set is opened by inputing the correct PIN on the password panel beside it. There're several clues to help you guess this fairly easy puzzle, in the form of several number graffitis, a scrapped piece of paper full of numbers, and a board filled with colored dots also found just beside the panel. The second one is opened by a keycard, and is generally lazier. To find it, you'll need to do a bit of (toilet) searching. As for the unique things this PR adds: - A fire extinguisher... that actually contains welding fuel - A (dirt-cheap) hotdog vending machine* - A completely ornamental maneki-neko (that's the name of the luck-bringing, paw-waving cat figurine) - A piggy bank that carries money between rounds. It has a cap of 10k credits worth of holochips, cash and coins, which is pretty high, but I'm confident people will just destroy it for its contents the moment they find it. His name is Pigston Swinelord VI. - More, totally legit and not actually fake bombable walls :^) *By the by, you can also find it during the national hotdog day. Screenshots of the new location:   ## Why It's Good For The Game You know how most away missions are not that special at all? Yeah, @mc-oofert set an example of a pretty decent one actually, if not a tad small. I thought it could use a touch of another mind actually contributing to it too, because it deserves it. Also, this sets the basis for other persistent piggy banks. I don't think they should all have that 10k cap like this one, perhaps 1k is enough. Beside, the code that mothblocks did for json database datum is pretty good, so there is not a whole lot of shitcode here. ## Changelog 🆑 add: Added a cafeteria to the museum away mission, with a few special things to it. To reach it, you'll have to complete a couple puzzles however. map: The museum away mission now has a couple restrooms. add: Hotdog vending machines may spawn during the National Hot Dog Day. /🆑
57 lines
2.1 KiB
Plaintext
57 lines
2.1 KiB
Plaintext
///A special hotdog vending machine found in the cafeteria at the museum away mission, or during the hotdog holiday.
|
|
/obj/machinery/vending/hotdog
|
|
name = "\improper Hotdoggo-Vend"
|
|
desc = "An outdated hotdog vending machine, its prices stuck to those of 20 or so years ago."
|
|
icon_state = "hotdog-vendor"
|
|
icon_deny = "hotdog-vendor-deny"
|
|
panel_type = "panel17"
|
|
product_slogans = "Meatier than ever!;Now with 20% more MSG!;HOTDOGS!;Now Tirizan-friendly!"
|
|
product_ads = "Your best and only automatic hotdog dispenser!;Serving you the finest buns since 2469!;Comes in 12 different flavors!"
|
|
vend_reply = "Have a scrumptious meal!"
|
|
light_mask = "hotdog-vendor-light-mask"
|
|
default_price = PAYCHECK_LOWER
|
|
product_categories = list(
|
|
list(
|
|
"name" = "Hotdogs",
|
|
"icon" = "hotdog",
|
|
"products" = list(
|
|
/obj/item/food/hotdog = 8,
|
|
/obj/item/food/pigblanket = 4,
|
|
/obj/item/food/danish_hotdog = 4,
|
|
/obj/item/food/little_hawaii_hotdog = 4,
|
|
/obj/item/food/butterdog = 4,
|
|
/obj/item/food/plasma_dog_supreme = 2,
|
|
),
|
|
),
|
|
list(
|
|
name = "Sausages",
|
|
"icon" = FA_ICON_BACON,
|
|
"products" = list(
|
|
/obj/item/food/sausage = 8,
|
|
/obj/item/food/tiziran_sausage = 4,
|
|
/obj/item/food/fried_blood_sausage = 4,
|
|
),
|
|
),
|
|
list(
|
|
"name" = "Sauces",
|
|
"icon" = FA_ICON_BOWL_FOOD,
|
|
"products" = list(
|
|
/obj/item/reagent_containers/condiment/pack/ketchup = 4,
|
|
/obj/item/reagent_containers/condiment/pack/hotsauce = 4,
|
|
/obj/item/reagent_containers/condiment/pack/bbqsauce = 4,
|
|
/obj/item/reagent_containers/condiment/pack/soysauce = 4,
|
|
/obj/item/reagent_containers/condiment/pack/mayonnaise = 4,
|
|
),
|
|
),
|
|
)
|
|
refill_canister = /obj/item/vending_refill/hotdog
|
|
|
|
/obj/item/vending_refill/hotdog
|
|
machine_name = "\improper Hotdoggo-Vend"
|
|
icon_state = "refill_snack"
|
|
|
|
/// Cute little thing that sets it apart from the other food vending mahicnes. I mean, you don't find this every day.
|
|
/obj/machinery/vending/hotdog/on_dispense(obj/item/vended_item)
|
|
if(istype(vended_item, /obj/item/food))
|
|
ADD_TRAIT(vended_item, TRAIT_FOOD_CHEF_MADE, VENDING_MACHINE_TRAIT)
|