Files
Bubberstation/code/game/objects/items/food/snacks.dm
SkyratBot 89a8cb991a [MIRROR] moves misc food to newfood code (#1725)
* moves misc food to newfood code (#54788)

misc food is now using newfood code

* moves misc food to newfood code

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
2020-11-19 07:21:23 +01:00

166 lines
6.3 KiB
Plaintext

////////////////////////////////////////////SNACKS FROM VENDING MACHINES////////////////////////////////////////////
//in other words: junk food
//don't even bother looking for recipes for these
/obj/item/food/candy
name = "candy"
desc = "Nougat love it or hate it."
icon_state = "candy"
trash_type = /obj/item/trash/candy
food_reagents = list(/datum/reagent/consumable/nutriment = 1, /datum/reagent/consumable/sugar = 3)
junkiness = 25
tastes = list("candy" = 1)
foodtypes = JUNKFOOD | SUGAR
w_class = WEIGHT_CLASS_TINY
/obj/item/food/candy/bronx
name = "South Bronx Paradise bar"
desc = "Lose weight, guaranteed! Caramel Mocha Flavor. Something about product consumption..."
icon_state = "bronx"
inhand_icon_state = "candy"
trash_type = /obj/item/trash/candy
food_reagents = list(/datum/reagent/consumable/nutriment = 4, /datum/reagent/consumable/sugar = 2, /datum/reagent/yuck = 1)
junkiness = 10
bite_consumption = 10
tastes = list("candy" = 5, "weight loss" = 4, "insect larva" = 1)
foodtypes = JUNKFOOD | RAW | GROSS
custom_price = PAYCHECK_ASSISTANT * 1.6 //Joke adjusted for inflation
w_class = WEIGHT_CLASS_TINY
var/revelation = FALSE
/obj/item/food/candy/bronx/MakeEdible()
AddComponent(/datum/component/edible,\
initial_reagents = food_reagents,\
food_flags = food_flags,\
foodtypes = foodtypes,\
volume = max_volume,\
eat_time = eat_time,\
tastes = tastes,\
eatverbs = eatverbs,\
bite_consumption = bite_consumption,\
microwaved_type = microwaved_type,\
junkiness = junkiness,\
after_eat = CALLBACK(src, .proc/after_eat))
/obj/item/food/candy/bronx/proc/after_eat(mob/living/eater)
if(ishuman(eater))
var/mob/living/carbon/human/carl = eater
var/datum/disease/P = new /datum/disease/parasite()
carl.ForceContractDisease(P, FALSE, TRUE)
/obj/item/food/candy/bronx/examine(mob/user)
. = ..()
if(!revelation)
to_chat(user, "<span class='notice'>Geeze, you need to get to get your eyes checked. You should look again...</span>")
desc = "Lose weight, guaranteed! Caramel Mocha Flavor! WARNING: PRODUCT NOT FIT FOR HUMAN CONSUMPTION. CONTAINS LIVE DIAMPHIDIA SPECIMENS."
name = "South Bronx Parasite bar"
revelation = TRUE
/obj/item/food/sosjerky
name = "\improper Scaredy's Private Reserve Beef Jerky"
icon_state = "sosjerky"
desc = "Beef jerky made from the finest space cows."
trash_type = /obj/item/trash/sosjerky
food_reagents = list(/datum/reagent/consumable/nutriment/protein = 3, /datum/reagent/consumable/sugar = 2, /datum/reagent/consumable/salt = 2)
junkiness = 25
tastes = list("dried meat" = 1)
w_class = WEIGHT_CLASS_SMALL
foodtypes = JUNKFOOD | MEAT | SUGAR
/obj/item/food/sosjerky/healthy
name = "homemade beef jerky"
desc = "Homemade beef jerky made from the finest space cows."
food_reagents = list(/datum/reagent/consumable/nutriment/protein = 6, /datum/reagent/consumable/nutriment/vitamin = 1)
junkiness = 0
/obj/item/food/chips
name = "chips"
desc = "Commander Riker's What-The-Crisps."
icon_state = "chips"
trash_type = /obj/item/trash/chips
bite_consumption = 1
food_reagents = list(/datum/reagent/consumable/nutriment = 1, /datum/reagent/consumable/sugar = 3, /datum/reagent/consumable/salt = 1)
junkiness = 20
tastes = list("salt" = 1, "crisps" = 1)
foodtypes = JUNKFOOD | FRIED
w_class = WEIGHT_CLASS_SMALL
/obj/item/food/chips/MakeLeaveTrash()
if(trash_type)
AddElement(/datum/element/food_trash, trash_type, FOOD_TRASH_POPABLE)
/obj/item/food/no_raisin
name = "4no raisins"
icon_state = "4no_raisins"
desc = "Best raisins in the universe. Not sure why."
trash_type = /obj/item/trash/raisins
food_reagents = list(/datum/reagent/consumable/nutriment = 2, /datum/reagent/consumable/sugar = 4)
junkiness = 25
tastes = list("dried raisins" = 1)
foodtypes = JUNKFOOD | FRUIT | SUGAR
custom_price = PAYCHECK_ASSISTANT * 0.7
w_class = WEIGHT_CLASS_SMALL
/obj/item/food/no_raisin/healthy
name = "homemade raisins"
desc = "Homemade raisins, the best in all of spess."
food_reagents = list(/datum/reagent/consumable/nutriment = 3, /datum/reagent/consumable/nutriment/vitamin = 2)
junkiness = 0
foodtypes = FRUIT
w_class = WEIGHT_CLASS_SMALL
/obj/item/food/spacetwinkie
name = "space twinkie"
icon_state = "space_twinkie"
desc = "Guaranteed to survive longer than you will."
food_reagents = list(/datum/reagent/consumable/sugar = 4)
junkiness = 25
foodtypes = JUNKFOOD | GRAIN | SUGAR
custom_price = PAYCHECK_PRISONER
w_class = WEIGHT_CLASS_SMALL
/obj/item/food/candy_trash
name = "candy cigarette butt"
icon = 'icons/obj/clothing/masks.dmi'
icon_state = "candybum"
desc = "The leftover from a smoked-out candy cigarette. Can be eaten!"
food_reagents = list(/datum/reagent/consumable/sugar = 4, /datum/reagent/ash = 3)
junkiness = 10 //powergame trash food by buying candy cigs in bulk and eating them when they extinguish
foodtypes = JUNKFOOD | SUGAR
w_class = WEIGHT_CLASS_TINY
/obj/item/food/candy_trash/nicotine
desc = "The leftover from a smoked-out candy cigarette. Smells like nicotine..?"
food_reagents = list(/datum/reagent/consumable/sugar = 4, /datum/reagent/ash = 3, /datum/reagent/drug/nicotine = 1)
/obj/item/food/cheesiehonkers
name = "cheesie honkers"
desc = "Bite sized cheesie snacks that will honk all over your mouth."
icon_state = "cheesie_honkers"
trash_type = /obj/item/trash/cheesie
food_reagents = list(/datum/reagent/consumable/nutriment = 1, /datum/reagent/consumable/sugar = 3)
junkiness = 25
tastes = list("cheese" = 5, "crisps" = 2)
foodtypes = JUNKFOOD | DAIRY | SUGAR
w_class = WEIGHT_CLASS_SMALL
/obj/item/food/syndicake
name = "syndi-cakes"
icon_state = "syndi_cakes"
desc = "An extremely moist snack cake that tastes just as good after being nuked."
trash_type = /obj/item/trash/syndi_cakes
food_reagents = list(/datum/reagent/consumable/nutriment = 4, /datum/reagent/consumable/doctor_delight = 5)
tastes = list("sweetness" = 3, "cake" = 1)
foodtypes = GRAIN | FRUIT | VEGETABLES
w_class = WEIGHT_CLASS_SMALL
/obj/item/food/energybar
name = "High-power energy bars"
icon_state = "energybar"
desc = "An energy bar with a lot of punch, you probably shouldn't eat this if you're not an Ethereal."
trash_type = /obj/item/trash/energybar
food_reagents = list(/datum/reagent/consumable/nutriment = 3, /datum/reagent/consumable/liquidelectricity = 3)
tastes = list("pure electricity" = 3, "fitness" = 2)
foodtypes = TOXIC
w_class = WEIGHT_CLASS_SMALL