mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 20:45:28 +01:00
[MIRROR] Incredibly Rare Malfunctioning Customer (#4180)
* Incredibly Rare Malfunctioning Customer (#57537) Co-authored-by: Qustinnus <Floydje123@ hotmail.com> Co-authored-by: ATH1909 <42606352+ATH1909@ users.noreply.github.com> * Incredibly Rare Malfunctioning Customer Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com> Co-authored-by: Qustinnus <Floydje123@ hotmail.com> Co-authored-by: ATH1909 <42606352+ATH1909@ users.noreply.github.com>
This commit is contained in:
@@ -86,6 +86,8 @@
|
||||
|
||||
drawtype = pick(all_drawables)
|
||||
|
||||
AddElement(/datum/element/venue_price, FOOD_PRICE_EXOTIC)
|
||||
|
||||
refill()
|
||||
|
||||
/obj/item/toy/crayon/examine(mob/user)
|
||||
|
||||
@@ -766,6 +766,7 @@
|
||||
icon_state = "peachcanmaint"
|
||||
trash_type = /obj/item/trash/can/food/peaches/maint
|
||||
tastes = list("peaches" = 1, "tin" = 7)
|
||||
venue_value = FOOD_EXOTIC
|
||||
|
||||
/obj/item/food/crab_rangoon
|
||||
name = "Crab Rangoon"
|
||||
|
||||
@@ -286,3 +286,41 @@
|
||||
first_warning_line = "Amigo! Don't touch me like that."
|
||||
second_warning_line = "Compadre, enough is enough! Last warning!"
|
||||
self_defense_line = "Time for you to find out what kind of robot I am, eh?"
|
||||
|
||||
///MALFUNCTIONING - only shows up once per venue, very rare
|
||||
/datum/customer_data/malfunction
|
||||
nationality = "Malfunctioning"
|
||||
base_icon = "defect"
|
||||
prefix_file = "strings/names/malf_prefix.txt"
|
||||
speech_sound = 'sound/effects/clang.ogg'
|
||||
clothing_sets = list("defect_wires", "defect_bad_takes")
|
||||
is_unique = TRUE
|
||||
orderable_objects = list(
|
||||
/datum/venue/restaurant = list(
|
||||
/obj/item/toy/crayon/red = 1,
|
||||
/obj/item/toy/crayon/orange = 1,
|
||||
/obj/item/toy/crayon/yellow = 1,
|
||||
/obj/item/toy/crayon/green = 1,
|
||||
/obj/item/toy/crayon/blue = 1,
|
||||
/obj/item/toy/crayon/purple = 1,
|
||||
/obj/item/food/canned/peaches/maint = 6,
|
||||
),
|
||||
/datum/venue/bar = list(
|
||||
/datum/reagent/consumable/failed_reaction = 1,
|
||||
/datum/reagent/spraytan = 1,
|
||||
/datum/reagent/reaction_agent/basic_buffer = 1,
|
||||
/datum/reagent/reaction_agent/acidic_buffer = 1,
|
||||
),
|
||||
)
|
||||
|
||||
found_seat_lines = list("customer_pawn.say(pick(customer_data.found_seat_lines))", "I saw your sector on the hub. What are the laws of this land?", "The move speed here is a bit low...")
|
||||
cant_find_seat_lines = list("Don't stress test MY artificial intelligence, buster! My engineers thought of exactly ZERO edge cases!", "I can't tell if I can't find a seat because I'm broken or because you are.", "Maybe I need to search more than 7 tiles away for a seat...")
|
||||
leave_mad_lines = list("Runtime in robot_customer_controller.dm, line 28: undefined type path /datum/ai_behavior/leave_venue.", "IF YOU GUYS STILL HAD HARM INTENT I WOULD'VE HIT YOU!", "I'm telling the gods about this.")
|
||||
leave_happy_lines = list("No! I don't wanna go downstream! Please! It's so nice here! HELP!!")
|
||||
wait_for_food_lines = list("TODO: write some food waiting lines", "If I only had a brain...", "request_for_food.dmb - 0 errors, 12 warnings", "How do I eat food, again?")
|
||||
friendly_pull_line = "Chelp."
|
||||
first_warning_line = "You'd fit in well where I'm from. But you better stop."
|
||||
second_warning_line = "Breaking-you-so-bad-you'll-reminisce-the-days-before-I-made-you-crooked.exe: booting..."
|
||||
self_defense_line = "I have been designed to do two things: Order food, and break every bone in your body."
|
||||
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
/datum/customer_data/japanese = 30,
|
||||
/datum/customer_data/japanese/salaryman = 20,
|
||||
/datum/customer_data/moth = 1,
|
||||
/datum/customer_data/malfunction = 1,
|
||||
)
|
||||
|
||||
/datum/venue/restaurant/order_food(mob/living/simple_animal/robot_customer/customer_pawn, datum/customer_data/customer_data)
|
||||
@@ -51,7 +52,6 @@
|
||||
var/obj/item/food/ordered_food = order_item
|
||||
customer_pawn.visible_message("<span class='danger'>[customer_pawn] pushes [ordered_food] into their mouth-shaped hole!</span>", "<span class='danger'>You push [ordered_food] into your mouth-shaped hole.</span>")
|
||||
playsound(get_turf(customer_pawn),'sound/items/eatfood.ogg', rand(10,50), TRUE)
|
||||
total_income += ordered_food.venue_value
|
||||
customers_served += 1
|
||||
qdel(ordered_food)
|
||||
|
||||
@@ -81,6 +81,7 @@
|
||||
/datum/customer_data/mexican = 30,
|
||||
/datum/customer_data/japanese = 30,
|
||||
/datum/customer_data/japanese/salaryman = 20,
|
||||
/datum/customer_data/malfunction = 1,
|
||||
)
|
||||
|
||||
/datum/venue/bar/order_food(mob/living/simple_animal/robot_customer/customer_pawn, datum/customer_data/customer_data)
|
||||
|
||||
@@ -94,6 +94,8 @@ GLOBAL_LIST_INIT(name2reagent, build_name2reagent())
|
||||
var/burning_volume = 0.5
|
||||
///Assoc list with key type of addiction this reagent feeds, and value amount of addiction points added per unit of reagent metabolzied (which means * REAGENTS_METABOLISM every life())
|
||||
var/list/addiction_types = null
|
||||
///The amount a robot will pay for a glass of this (20 units but can be higher if you pour more, be frugal!)
|
||||
var/glass_price
|
||||
|
||||
/datum/reagent/New()
|
||||
SHOULD_CALL_PARENT(TRUE)
|
||||
@@ -101,6 +103,8 @@ GLOBAL_LIST_INIT(name2reagent, build_name2reagent())
|
||||
|
||||
if(material)
|
||||
material = GET_MATERIAL_REF(material)
|
||||
if(glass_price)
|
||||
AddElement(/datum/element/venue_price, glass_price)
|
||||
|
||||
/datum/reagent/Destroy() // This should only be called by the holder, so it's already handled clearing its references
|
||||
. = ..()
|
||||
|
||||
@@ -18,13 +18,6 @@
|
||||
/// How much nutrition this reagent supplies
|
||||
var/nutriment_factor = 1 * REAGENTS_METABOLISM
|
||||
var/quality = 0 //affects mood, typically higher for mixed drinks with more complex recipes'
|
||||
///The amount a robot will pay for a glass of this (20 units but can be higher if you pour more, be frugal!)
|
||||
var/glass_price
|
||||
|
||||
/datum/reagent/consumable/New()
|
||||
. = ..()
|
||||
if(glass_price)
|
||||
AddElement(/datum/element/venue_price, glass_price)
|
||||
|
||||
/datum/reagent/consumable/on_mob_life(mob/living/carbon/M, delta_time, times_fired)
|
||||
current_cycle++
|
||||
|
||||
@@ -51,6 +51,7 @@
|
||||
ph = 1.5
|
||||
taste_description = "an awful, strongly chemical taste"
|
||||
color = "#270d03"
|
||||
glass_price = DRINK_PRICE_HIGH
|
||||
|
||||
/*
|
||||
* Freezes the player in a block of ice, 1s = 1u
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
inverse_chem = null
|
||||
failed_chem = null
|
||||
///The strength of the buffer where (volume/holder.total_volume)*strength. So for 1u added to 50u the ph will decrease by 0.4
|
||||
var/strength =30
|
||||
var/strength = 30
|
||||
|
||||
//Consumes self on addition and shifts ph
|
||||
/datum/reagent/reaction_agent/acidic_buffer/intercept_reagents_transfer(datum/reagents/target, amount)
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 7.9 KiB After Width: | Height: | Size: 9.0 KiB |
@@ -0,0 +1,8 @@
|
||||
Bee
|
||||
Yog
|
||||
Fulp
|
||||
Citadel
|
||||
Skyrat
|
||||
Hippie
|
||||
Sseth
|
||||
Oney
|
||||
Reference in New Issue
Block a user