diff --git a/_maps/map_files/Deltastation/DeltaStation2.dmm b/_maps/map_files/Deltastation/DeltaStation2.dmm index 781a872633..d1014775e4 100644 --- a/_maps/map_files/Deltastation/DeltaStation2.dmm +++ b/_maps/map_files/Deltastation/DeltaStation2.dmm @@ -18280,7 +18280,7 @@ /area/security/prison) "aLB" = ( /obj/structure/table, -/obj/item/trash/deadmouse{ +/obj/item/weapon/reagent_containers/food/snacks/deadmouse{ pixel_y = 5 }, /obj/machinery/atmospherics/pipe/simple/scrubbers/hidden{ diff --git a/_maps/map_files/PubbyStation/PubbyStation.dmm b/_maps/map_files/PubbyStation/PubbyStation.dmm index b4b78673a1..62f613dbf5 100644 --- a/_maps/map_files/PubbyStation/PubbyStation.dmm +++ b/_maps/map_files/PubbyStation/PubbyStation.dmm @@ -21075,7 +21075,7 @@ "aTX" = ( /obj/structure/kitchenspike, /obj/item/device/assembly/mousetrap, -/obj/item/trash/deadmouse, +/obj/item/weapon/reagent_containers/food/snacks/deadmouse, /turf/open/floor/plasteel/showroomfloor, /area/crew_quarters/kitchen) "aTY" = ( @@ -28572,7 +28572,7 @@ d2 = 8; icon_state = "2-8" }, -/obj/item/trash/deadmouse, +/obj/item/weapon/reagent_containers/food/snacks/deadmouse, /obj/machinery/atmospherics/pipe/simple/supply/hidden{ dir = 10 }, @@ -39250,7 +39250,7 @@ /area/maintenance/department/engine) "bGL" = ( /obj/structure/closet/masks, -/obj/item/trash/deadmouse, +/obj/item/weapon/reagent_containers/food/snacks/deadmouse, /obj/effect/landmark/revenantspawn, /turf/open/floor/plating, /area/maintenance/department/engine) diff --git a/code/__DEFINES/food.dm b/code/__DEFINES/food.dm new file mode 100644 index 0000000000..2d6ba0d946 --- /dev/null +++ b/code/__DEFINES/food.dm @@ -0,0 +1,12 @@ +#define MEAT 1 +#define VEGETABLES 2 +#define RAW 4 +#define JUNKFOOD 8 +#define GRAIN 16 +#define FRUIT 32 +#define DAIRY 64 +#define FRIED 128 +#define ALCOHOL 256 +#define SUGAR 512 +#define GROSS 1024 +#define TOXIC 2048 diff --git a/code/__DEFINES/mobs.dm b/code/__DEFINES/mobs.dm index 2b0e8ee74a..bff067dce1 100644 --- a/code/__DEFINES/mobs.dm +++ b/code/__DEFINES/mobs.dm @@ -65,6 +65,12 @@ #define NUTRITION_LEVEL_HUNGRY 250 #define NUTRITION_LEVEL_STARVING 150 +//Disgust levels for humans +#define DISGUST_LEVEL_MAXEDOUT 150 +#define DISGUST_LEVEL_DISGUSTED 75 +#define DISGUST_LEVEL_VERYGROSS 50 +#define DISGUST_LEVEL_GROSS 25 + //Slime evolution threshold. Controls how fast slimes can split/grow #define SLIME_EVOLUTION_THRESHOLD 10 diff --git a/code/_onclick/hud/alert.dm b/code/_onclick/hud/alert.dm index e1f1410837..573c923db5 100644 --- a/code/_onclick/hud/alert.dm +++ b/code/_onclick/hud/alert.dm @@ -166,6 +166,21 @@ desc = "You're severely malnourished. The hunger pains make moving around a chore." icon_state = "starving" +/obj/screen/alert/gross + name = "Grossed out." + desc = "That was kind of gross..." + icon_state = "gross" + +/obj/screen/alert/verygross + name = "Very grossed out." + desc = "I'm not feeling very well.." + icon_state = "gross2" + +/obj/screen/alert/disgusted + name = "DISGUSTED" + desc = "ABSOLUTELY DISGUSTIN'" + icon_state = "gross3" + /obj/screen/alert/hot name = "Too Hot" desc = "You're flaming hot! Get somewhere cooler and take off any insulating clothing like a fire suit." diff --git a/code/game/objects/effects/spawners/lootdrop.dm b/code/game/objects/effects/spawners/lootdrop.dm index a9798800a0..edff2653ca 100644 --- a/code/game/objects/effects/spawners/lootdrop.dm +++ b/code/game/objects/effects/spawners/lootdrop.dm @@ -46,7 +46,7 @@ /obj/item/trash/cheesie = 1, /obj/item/trash/candy = 1, /obj/item/trash/chips = 1, - /obj/item/trash/deadmouse = 1, + /obj/item/weapon/reagent_containers/food/snacks/deadmouse = 1, /obj/item/trash/pistachios = 1, /obj/item/trash/plate = 1, /obj/item/trash/popcorn = 1, diff --git a/code/game/objects/items/weapons/grenades/chem_grenade.dm b/code/game/objects/items/weapons/grenades/chem_grenade.dm index 0dcdf1d7b6..0db6f10438 100644 --- a/code/game/objects/items/weapons/grenades/chem_grenade.dm +++ b/code/game/objects/items/weapons/grenades/chem_grenade.dm @@ -547,7 +547,3 @@ beakers += B1 beakers += B2 - -#undef EMPTY -#undef WIRED -#undef READY diff --git a/code/game/objects/items/weapons/storage/bags.dm b/code/game/objects/items/weapons/storage/bags.dm index dff48b6d41..5c245bf4c0 100644 --- a/code/game/objects/items/weapons/storage/bags.dm +++ b/code/game/objects/items/weapons/storage/bags.dm @@ -377,5 +377,5 @@ max_combined_w_class = 200 w_class = WEIGHT_CLASS_TINY preposition = "in" - can_hold = list(/obj/item/slime_extract, /obj/item/weapon/reagent_containers/syringe, /obj/item/weapon/reagent_containers/glass/beaker, /obj/item/weapon/reagent_containers/glass/bottle, /obj/item/weapon/reagent_containers/blood, /obj/item/weapon/reagent_containers/hypospray/medipen, /obj/item/trash/deadmouse, /obj/item/weapon/reagent_containers/food/snacks/monkeycube) + can_hold = list(/obj/item/slime_extract, /obj/item/weapon/reagent_containers/syringe, /obj/item/weapon/reagent_containers/glass/beaker, /obj/item/weapon/reagent_containers/glass/bottle, /obj/item/weapon/reagent_containers/blood, /obj/item/weapon/reagent_containers/hypospray/medipen, /obj/item/weapon/reagent_containers/food/snacks/deadmouse, /obj/item/weapon/reagent_containers/food/snacks/monkeycube) resistance_flags = FLAMMABLE diff --git a/code/modules/food_and_drinks/drinks/drinks.dm b/code/modules/food_and_drinks/drinks/drinks.dm index 46f04a524f..49ba0d0a8d 100644 --- a/code/modules/food_and_drinks/drinks/drinks.dm +++ b/code/modules/food_and_drinks/drinks/drinks.dm @@ -31,7 +31,7 @@ if(!canconsume(M, user)) return 0 - + if (!is_open_container()) to_chat(user, "[src]'s lid hasn't been opened!") return 0 @@ -47,7 +47,9 @@ return // The drink might be empty after the delay, such as by spam-feeding M.visible_message("[user] feeds the contents of [src] to [M].", "[user] feeds the contents of [src] to [M].") add_logs(user, M, "fed", reagentlist(src)) + var/fraction = min(gulp_size/reagents.total_volume, 1) + checkLiked(fraction, M) reagents.reaction(M, INGEST, fraction) reagents.trans_to(M, gulp_size) playsound(M.loc,'sound/items/drink.ogg', rand(10,50), 1) @@ -56,7 +58,7 @@ /obj/item/weapon/reagent_containers/food/drinks/afterattack(obj/target, mob/user , proximity) if(!proximity) return if(istype(target, /obj/structure/reagent_dispensers)) //A dispenser. Transfer FROM it TO us. - + if (!is_open_container()) to_chat(user, "[target]'s tab isn't open!") return @@ -97,10 +99,10 @@ to_chat(user, "You heat [src] with [I].") reagents.handle_reactions() ..() - - + + //////////////////////////////////////////////////////////////////////////////// @@ -200,19 +202,24 @@ name = "Dutch Hot Coco" desc = "Made in Space South America." list_reagents = list("hot_coco" = 30, "sugar" = 5) + foodtype = SUGAR + resistance_flags = FREEZE_PROOF + /obj/item/weapon/reagent_containers/food/drinks/dry_ramen name = "Cup Ramen" desc = "Just add 10ml of water, self heats! A taste that reminds you of your school years." icon_state = "ramen" list_reagents = list("dry_ramen" = 30) + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/drinks/beer name = "Space Beer" desc = "Beer. In space." icon_state = "beer" list_reagents = list("beer" = 30) + foodtype = GRAIN | ALCOHOL /obj/item/weapon/reagent_containers/food/drinks/ale name = "Magm-Ale" @@ -220,6 +227,7 @@ icon_state = "alebottle" item_state = "beer" list_reagents = list("ale" = 30) + foodtype = GRAIN | ALCOHOL /obj/item/weapon/reagent_containers/food/drinks/sillycup name = "paper cup" @@ -248,26 +256,32 @@ icon_state = "orangebox" name = "orange juice box" desc = "A great source of vitamins. Stay healthy!" + foodtype = FRUIT if("milk") icon_state = "milkbox" name = "carton of milk" desc = "An excellent source of calcium for growing space explorers." + foodtype = DAIRY if("applejuice") icon_state = "juicebox" name = "apple juice box" desc = "Sweet apple juice. Don't be late for school!" + foodtype = FRUIT if("grapejuice") icon_state = "grapebox" name = "grape juice box" desc = "Tasty grape juice in a fun little container. Non-alcoholic!" + foodtype = FRUIT if("chocolate_milk") icon_state = "chocolatebox" name = "carton of chocolate milk" desc = "Milk for cool kids!" + foodtype = SUGAR if("eggnog") icon_state = "nog2" name = "carton of eggnog" desc = "For enjoying the most wonderful time of the year." + foodtype = MEAT else icon_state = "juicebox" name = "small carton" @@ -334,7 +348,7 @@ righthand_file = 'icons/mob/inhands/misc/food_righthand.dmi' container_type = 0 spillable = FALSE - + /obj/item/weapon/reagent_containers/food/drinks/soda_cans/attack(mob/M, mob/user) if(M == user && !src.reagents.total_volume && user.a_intent == INTENT_HARM && user.zone_selected == "head") user.visible_message("[user] crushes the can of [src] on [user.p_their()] forehead!", "You crush the can of [src] on your forehead.") @@ -343,7 +357,7 @@ crushed_can.icon_state = icon_state qdel(src) ..() - + /obj/item/weapon/reagent_containers/food/drinks/soda_cans/attack_self(mob/user) if(!is_open_container()) @@ -359,12 +373,14 @@ desc = "Cola. in space." icon_state = "cola" list_reagents = list("cola" = 30) + foodtype = SUGAR /obj/item/weapon/reagent_containers/food/drinks/soda_cans/tonic name = "T-Borg's Tonic Water" desc = "Quinine tastes funny, but at least it'll keep that Space Malaria away." icon_state = "tonic" list_reagents = list("tonic" = 50) + foodtype = ALCOHOL /obj/item/weapon/reagent_containers/food/drinks/soda_cans/sodawater name = "Soda Water" @@ -377,6 +393,7 @@ desc = "You wanted ORANGE. It gave you Lemon Lime." icon_state = "lemon-lime" list_reagents = list("lemon_lime" = 30) + foodtype = FRUIT /obj/item/weapon/reagent_containers/food/drinks/soda_cans/lemon_lime/New() ..() @@ -387,30 +404,35 @@ desc = "Tastes like a hull breach in your mouth." icon_state = "space-up" list_reagents = list("space_up" = 30) + foodtype = SUGAR | JUNKFOOD /obj/item/weapon/reagent_containers/food/drinks/soda_cans/starkist name = "Star-kist" desc = "The taste of a star in liquid form. And, a bit of tuna...?" icon_state = "starkist" list_reagents = list("cola" = 15, "orangejuice" = 15) + foodtype = SUGAR | FRUIT | JUNKFOOD /obj/item/weapon/reagent_containers/food/drinks/soda_cans/space_mountain_wind name = "Space Mountain Wind" desc = "Blows right through you like a space wind." icon_state = "space_mountain_wind" list_reagents = list("spacemountainwind" = 30) + foodtype = SUGAR | JUNKFOOD /obj/item/weapon/reagent_containers/food/drinks/soda_cans/thirteenloko name = "Thirteen Loko" desc = "The CMO has advised crew members that consumption of Thirteen Loko may result in seizures, blindness, drunkenness, or even death. Please Drink Responsibly." icon_state = "thirteen_loko" list_reagents = list("thirteenloko" = 30) + foodtype = SUGAR | JUNKFOOD /obj/item/weapon/reagent_containers/food/drinks/soda_cans/dr_gibb name = "Dr. Gibb" desc = "A delicious mixture of 42 different flavors." icon_state = "dr_gibb" list_reagents = list("dr_gibb" = 30) + foodtype = SUGAR | JUNKFOOD /obj/item/weapon/reagent_containers/food/drinks/soda_cans/pwr_game name = "Pwr Game" @@ -423,6 +445,7 @@ desc = "~Shake me up some of that Shambler's Juice!~" icon_state = "shamblers" list_reagents = list("shamblers" = 30) + foodtype = SUGAR | JUNKFOOD /obj/item/weapon/reagent_containers/food/drinks/soda_cans/air name = "Canned Air" diff --git a/code/modules/food_and_drinks/drinks/drinks/bottle.dm b/code/modules/food_and_drinks/drinks/drinks/bottle.dm index dd9d914f18..73e20811e7 100644 --- a/code/modules/food_and_drinks/drinks/drinks/bottle.dm +++ b/code/modules/food_and_drinks/drinks/drinks/bottle.dm @@ -13,6 +13,7 @@ righthand_file = 'icons/mob/inhands/misc/food_righthand.dmi' var/const/duration = 13 //Directly relates to the 'knockdown' duration. Lowered by armor (i.e. helmets) var/isGlass = 1 //Whether the 'bottle' is made of glass or not so that milk cartons dont shatter when someone gets hit by it + foodtype = ALCOHOL /obj/item/weapon/reagent_containers/food/drinks/bottle/throw_impact(atom/target,mob/thrower) ..() @@ -174,6 +175,7 @@ desc = "A bottle filled with nothing." icon_state = "bottleofnothing" list_reagents = list("nothing" = 100) + foodtype = NONE /obj/item/weapon/reagent_containers/food/drinks/bottle/patron name = "Wrapp Artiste Patron" @@ -192,6 +194,7 @@ desc = "A flask of the chaplain's holy water." icon_state = "holyflask" list_reagents = list("holywater" = 100) + foodtype = NONE /obj/item/weapon/reagent_containers/food/drinks/bottle/holywater/hell desc = "A flask of holy water...it's been sitting in the Necropolis a while though." @@ -208,6 +211,7 @@ desc = "A widely known, Mexican coffee-flavoured liqueur. In production since 1936, HONK." icon_state = "kahluabottle" list_reagents = list("kahlua" = 100) + foodtype = VEGETABLES /obj/item/weapon/reagent_containers/food/drinks/bottle/goldschlager name = "College Girl Goldschlager" @@ -226,6 +230,7 @@ desc = "A faint aura of unease and asspainery surrounds the bottle." icon_state = "winebottle" list_reagents = list("wine" = 100) + foodtype = FRUIT | ALCOHOL /obj/item/weapon/reagent_containers/food/drinks/bottle/absinthe name = "Extra-Strong Absinthe" @@ -285,6 +290,7 @@ desc = "An alcoholic beverage from Space China, made by infusing lizard tails in ethanol. Inexplicably popular among command staff." icon_state = "lizardwine" list_reagents = list("lizardwine" = 100) + foodtype = FRUIT | ALCOHOL /obj/item/weapon/reagent_containers/food/drinks/bottle/hcider name = "Jian Hard Cider" @@ -310,6 +316,7 @@ righthand_file = 'icons/mob/inhands/equipment/kitchen_righthand.dmi' isGlass = 0 list_reagents = list("orangejuice" = 100) + foodtype = FRUIT /obj/item/weapon/reagent_containers/food/drinks/bottle/cream name = "Milk Cream" @@ -320,6 +327,7 @@ righthand_file = 'icons/mob/inhands/equipment/kitchen_righthand.dmi' isGlass = 0 list_reagents = list("cream" = 100) + foodtype = DAIRY /obj/item/weapon/reagent_containers/food/drinks/bottle/tomatojuice name = "Tomato Juice" @@ -330,6 +338,7 @@ righthand_file = 'icons/mob/inhands/equipment/kitchen_righthand.dmi' isGlass = 0 list_reagents = list("tomatojuice" = 100) + foodtype = VEGETABLES /obj/item/weapon/reagent_containers/food/drinks/bottle/limejuice name = "Lime Juice" @@ -340,6 +349,7 @@ righthand_file = 'icons/mob/inhands/equipment/kitchen_righthand.dmi' isGlass = 0 list_reagents = list("limejuice" = 100) + foodtype = FRUIT ////////////////////////// MOLOTOV /////////////////////// diff --git a/code/modules/food_and_drinks/food.dm b/code/modules/food_and_drinks/food.dm index 9d39e51e63..2a7ce2e8ec 100644 --- a/code/modules/food_and_drinks/food.dm +++ b/code/modules/food_and_drinks/food.dm @@ -6,8 +6,26 @@ volume = 50 //Sets the default container amount for all food items. container_type = INJECTABLE resistance_flags = FLAMMABLE + var/foodtype = NONE + var/last_check_time /obj/item/weapon/reagent_containers/food/New() ..() pixel_x = rand(-5, 5) //Randomizes postion slightly. - pixel_y = rand(-5, 5) \ No newline at end of file + pixel_y = rand(-5, 5) + + +/obj/item/weapon/reagent_containers/food/proc/checkLiked(var/fraction, mob/M) + if(last_check_time + 50 < world.time) + if(ishuman(M)) + var/mob/living/carbon/human/H = M + if(foodtype & H.dna.species.toxic_food) + to_chat(H,"What the hell was that thing?!") + H.adjust_disgust(25 + 30 * fraction) + else if(foodtype & H.dna.species.disliked_food) + to_chat(H,"That didn't taste very good...") + H.adjust_disgust(11 + 15 * fraction) + else if(foodtype & H.dna.species.liked_food) + to_chat(H,"I love this taste!") + H.adjust_disgust(-5 + -2.5 * fraction) + last_check_time = world.time diff --git a/code/modules/food_and_drinks/food/customizables.dm b/code/modules/food_and_drinks/food/customizables.dm index f2047ac092..6c9e1e4e7b 100644 --- a/code/modules/food_and_drinks/food/customizables.dm +++ b/code/modules/food_and_drinks/food/customizables.dm @@ -53,6 +53,7 @@ ingredients += S mix_filling_color(S) S.reagents.trans_to(src,min(S.reagents.total_volume, 15)) //limit of 15, we don't want our custom food to be completely filled by just one ingredient with large reagent volume. + foodtype |= S.foodtype update_overlays(S) to_chat(user, "You add the [I.name] to the [name].") update_name(S) @@ -158,6 +159,7 @@ ingredients_placement = INGREDIENTS_STACKPLUSTOP icon = 'icons/obj/food/burgerbread.dmi' icon_state = "bun" + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/snacks/customizable/bread @@ -167,6 +169,7 @@ slices_num = 5 icon = 'icons/obj/food/burgerbread.dmi' icon_state = "tofubread" + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/snacks/customizable/cake @@ -176,6 +179,7 @@ slices_num = 5 icon = 'icons/obj/food/piecake.dmi' icon_state = "plaincake" + foodtype = GRAIN | DAIRY /obj/item/weapon/reagent_containers/food/snacks/customizable/kebab @@ -187,7 +191,6 @@ ingMax = 6 icon_state = "rod" - /obj/item/weapon/reagent_containers/food/snacks/customizable/pasta name = "spaghetti" desc = "Noodles. With stuff. Delicious." @@ -195,6 +198,7 @@ ingMax = 6 icon = 'icons/obj/food/pizzaspaghetti.dmi' icon_state = "spaghettiboiled" + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/snacks/customizable/pie @@ -202,6 +206,7 @@ ingMax = 6 icon = 'icons/obj/food/piecake.dmi' icon_state = "pie" + foodtype = GRAIN | DAIRY /obj/item/weapon/reagent_containers/food/snacks/customizable/pizza @@ -213,6 +218,7 @@ slices_num = 6 icon = 'icons/obj/food/pizzaspaghetti.dmi' icon_state = "pizzamargherita" + foodtype = GRAIN | DAIRY /obj/item/weapon/reagent_containers/food/snacks/customizable/salad @@ -231,6 +237,7 @@ icon = 'icons/obj/food/burgerbread.dmi' icon_state = "breadslice" var/finished = 0 + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/snacks/customizable/sandwich/initialize_custom_food(obj/item/weapon/reagent_containers/BASE, obj/item/I, mob/user) icon_state = BASE.icon_state diff --git a/code/modules/food_and_drinks/food/snacks.dm b/code/modules/food_and_drinks/food/snacks.dm index 8964e7ebaa..c5a737232e 100644 --- a/code/modules/food_and_drinks/food/snacks.dm +++ b/code/modules/food_and_drinks/food/snacks.dm @@ -70,7 +70,6 @@ if(junkiness && M.satiety < -150 && M.nutrition > NUTRITION_LEVEL_STARVING + 50 ) to_chat(M, "You don't feel like eating any more junk food at the moment.") return 0 - else if(fullness <= 50) to_chat(M, "You hungrily [eatverb] some of \the [src] and gobble it down!") else if(fullness > 50 && fullness < 150) @@ -107,12 +106,13 @@ M.satiety -= junkiness playsound(M.loc,'sound/items/eatfood.ogg', rand(10,50), 1) if(reagents.total_volume) - var/fraction = min(bitesize/reagents.total_volume, 1) + var/fraction = min(bitesize / reagents.total_volume, 1) reagents.reaction(M, INGEST, fraction) reagents.trans_to(M, bitesize) bitecount++ On_Consume() - return 1 + checkLiked(fraction, M) + return 1 return 0 diff --git a/code/modules/food_and_drinks/food/snacks/dough.dm b/code/modules/food_and_drinks/food/snacks/dough.dm index 73e99c9d1d..9ef2390002 100644 --- a/code/modules/food_and_drinks/food/snacks/dough.dm +++ b/code/modules/food_and_drinks/food/snacks/dough.dm @@ -11,6 +11,7 @@ list_reagents = list("nutriment" = 6) w_class = WEIGHT_CLASS_NORMAL tastes = list("dough" = 1) + foodtype = GRAIN // Dough + rolling pin = flat dough @@ -38,6 +39,7 @@ list_reagents = list("nutriment" = 6) w_class = WEIGHT_CLASS_NORMAL tastes = list("dough" = 1) + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/snacks/pizzabread name = "pizza bread" @@ -48,6 +50,7 @@ list_reagents = list("nutriment" = 7) w_class = WEIGHT_CLASS_NORMAL tastes = list("bread" = 1) + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/snacks/doughslice @@ -58,6 +61,7 @@ cooked_type = /obj/item/weapon/reagent_containers/food/snacks/bun filling_color = "#CD853F" tastes = list("dough" = 1) + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/snacks/bun @@ -69,6 +73,7 @@ custom_food_type = /obj/item/weapon/reagent_containers/food/snacks/customizable/burger filling_color = "#CD853F" tastes = list("bun" = 1) // the bun tastes of bun. + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/snacks/cakebatter name = "cake batter" @@ -79,6 +84,7 @@ list_reagents = list("nutriment" = 9) w_class = WEIGHT_CLASS_NORMAL tastes = list("batter" = 1) + foodtype = GRAIN | DAIRY // Cake batter + rolling pin = pie dough /obj/item/weapon/reagent_containers/food/snacks/cakebatter/attackby(obj/item/I, mob/user, params) @@ -103,6 +109,7 @@ list_reagents = list("nutriment" = 9) w_class = WEIGHT_CLASS_NORMAL tastes = list("dough" = 1) + foodtype = GRAIN | DAIRY /obj/item/weapon/reagent_containers/food/snacks/rawpastrybase name = "raw pastry base" @@ -113,6 +120,7 @@ filling_color = "#CD853F" list_reagents = list("nutriment" = 1) tastes = list("raw pastry" = 1) + foodtype = GRAIN | DAIRY /obj/item/weapon/reagent_containers/food/snacks/pastrybase name = "pastry base" @@ -122,4 +130,4 @@ list_reagents = list("nutriment" = 1) filling_color = "#CD853F" tastes = list("pastry" = 1) - + foodtype = GRAIN | DAIRY diff --git a/code/modules/food_and_drinks/food/snacks/meat.dm b/code/modules/food_and_drinks/food/snacks/meat.dm index c1b5a55ac0..78d5ab9ac9 100644 --- a/code/modules/food_and_drinks/food/snacks/meat.dm +++ b/code/modules/food_and_drinks/food/snacks/meat.dm @@ -14,6 +14,7 @@ slices_num = 3 filling_color = "#FF0000" tastes = list("meat" = 1) + foodtype = MEAT | RAW /obj/item/weapon/reagent_containers/food/snacks/meat/slab/initialize_slice(obj/item/weapon/reagent_containers/food/snacks/meat/rawcutlet/slice, reagents_per_slice) ..() @@ -36,6 +37,7 @@ cooked_type = /obj/item/weapon/reagent_containers/food/snacks/meat/steak/plain/human slice_path = /obj/item/weapon/reagent_containers/food/snacks/meat/rawcutlet/plain/human tastes = list("tender meat" = 1) + foodtype = MEAT | RAW | GROSS /obj/item/weapon/reagent_containers/food/snacks/meat/slab/human/initialize_slice(obj/item/weapon/reagent_containers/food/snacks/meat/rawcutlet/plain/human/slice, reagents_per_slice) ..() @@ -62,6 +64,7 @@ list_reagents = list("nutriment" = 3, "slimejelly" = 3) filling_color = "#00FFFF" tastes = list("slime" = 1, "jelly" = 1) + foodtype = MEAT | RAW | TOXIC /obj/item/weapon/reagent_containers/food/snacks/meat/slab/human/mutant/golem icon_state = "golemmeat" @@ -69,35 +72,41 @@ list_reagents = list("nutriment" = 3, "iron" = 3) filling_color = "#A9A9A9" tastes = list("rock" = 1) + foodtype = MEAT | RAW | GROSS /obj/item/weapon/reagent_containers/food/snacks/meat/slab/human/mutant/golem/adamantine icon_state = "agolemmeat" desc = "From the slime pen to the rune to the kitchen, science." filling_color = "#66CDAA" + foodtype = MEAT | RAW | GROSS /obj/item/weapon/reagent_containers/food/snacks/meat/slab/human/mutant/lizard icon_state = "lizardmeat" desc = "Delicious dino damage" filling_color = "#6B8E23" tastes = list("meat" = 4, "scales" = 1) + foodtype = MEAT | RAW /obj/item/weapon/reagent_containers/food/snacks/meat/slab/human/mutant/plant icon_state = "plantmeat" desc = "All the joys of healthy eating with all the fun of cannibalism." filling_color = "#E9967A" tastes = list("salad" = 1, "wood" = 1) + foodtype = VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/meat/slab/human/mutant/shadow icon_state = "shadowmeat" desc = "Ow, the edge" filling_color = "#202020" tastes = list("darkness" = 1, "meat" = 1) + foodtype = MEAT | RAW /obj/item/weapon/reagent_containers/food/snacks/meat/slab/human/mutant/fly icon_state = "flymeat" desc = "Nothing says tasty like maggot filled radioactive mutant flesh." list_reagents = list("nutriment" = 3, "uranium" = 3) tastes = list("maggots" = 1, "the inside of a reactor" = 1) + foodtype = MEAT | RAW | GROSS /obj/item/weapon/reagent_containers/food/snacks/meat/slab/human/mutant/skeleton name = "-bone" @@ -106,6 +115,7 @@ filling_color = "#F0F0F0" tastes = list("bone" = 1) slice_path = null //can't slice a bone into cutlets + foodtype = GROSS /obj/item/weapon/reagent_containers/food/snacks/meat/slab/human/mutant/zombie name = " meat (rotten)" @@ -113,6 +123,7 @@ desc = "Halfway to becoming fertilizer for your garden." filling_color = "#6B8E23" tastes = list("brains" = 1, "meat" = 1) + foodtype = RAW | MEAT | TOXIC @@ -122,22 +133,27 @@ /obj/item/weapon/reagent_containers/food/snacks/meat/slab/synthmeat name = "synthmeat" desc = "A synthetic slab of meat." + foodtype = RAW | MEAT //hurr durr chemicals we're harmed in the production of this meat thus its non-vegan. /obj/item/weapon/reagent_containers/food/snacks/meat/slab/meatproduct name = "meat product" desc = "A slab of station reclaimed and chemically processed meat product." + foodtype = RAW | MEAT /obj/item/weapon/reagent_containers/food/snacks/meat/slab/monkey name = "monkey meat" + foodtype = RAW | MEAT /obj/item/weapon/reagent_containers/food/snacks/meat/slab/corgi name = "corgi meat" desc = "Tastes like... well you know..." tastes = list("meat" = 4, "a fondness for wearing hats" = 1) + foodtype = RAW | MEAT | GROSS /obj/item/weapon/reagent_containers/food/snacks/meat/slab/pug name = "pug meat" desc = "Tastes like... well you know..." + foodtype = RAW | MEAT | GROSS /obj/item/weapon/reagent_containers/food/snacks/meat/slab/killertomato name = "killer tomato meat" @@ -148,6 +164,7 @@ cooked_type = /obj/item/weapon/reagent_containers/food/snacks/meat/steak/killertomato slice_path = /obj/item/weapon/reagent_containers/food/snacks/meat/rawcutlet/killertomato tastes = list("tomato" = 1) + foodtype = VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/meat/slab/bear name = "bear meat" @@ -158,6 +175,7 @@ cooked_type = /obj/item/weapon/reagent_containers/food/snacks/meat/steak/bear slice_path = /obj/item/weapon/reagent_containers/food/snacks/meat/rawcutlet/bear tastes = list("meat" = 1, "salmon" = 1) + foodtype = RAW | MEAT /obj/item/weapon/reagent_containers/food/snacks/meat/slab/xeno @@ -170,6 +188,7 @@ cooked_type = /obj/item/weapon/reagent_containers/food/snacks/meat/steak/xeno slice_path = /obj/item/weapon/reagent_containers/food/snacks/meat/rawcutlet/xeno tastes = list("meat" = 1, "acid" = 1) + foodtype = RAW | MEAT /obj/item/weapon/reagent_containers/food/snacks/meat/slab/spider name = "spider meat" @@ -180,6 +199,7 @@ cooked_type = /obj/item/weapon/reagent_containers/food/snacks/meat/steak/spider slice_path = /obj/item/weapon/reagent_containers/food/snacks/meat/rawcutlet/spider tastes = list("cobwebs" = 1) + foodtype = RAW | MEAT | TOXIC /obj/item/weapon/reagent_containers/food/snacks/meat/slab/goliath @@ -188,6 +208,7 @@ list_reagents = list("nutriment" = 3, "toxin" = 5) icon_state = "goliathmeat" tastes = list("meat" = 1) + foodtype = RAW | MEAT | TOXIC /obj/item/weapon/reagent_containers/food/snacks/meat/slab/goliath/burn() visible_message("[src] finishes cooking!") @@ -202,6 +223,7 @@ icon_state = "meatwheat_clump" bitesize = 4 tastes = list("meat" = 1, "wheat" = 1) + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/snacks/meat/rawbacon name = "raw piece of bacon" @@ -212,6 +234,7 @@ list_reagents = list("nutriment" = 1) filling_color = "#B22222" tastes = list("bacon" = 1) + foodtype = RAW | MEAT /obj/item/weapon/reagent_containers/food/snacks/meat/bacon name = "piece of bacon" @@ -221,6 +244,7 @@ bonus_reagents = list("nutriment" = 1, "vitamin" = 1) filling_color = "#854817" tastes = list("bacon" = 1) + foodtype = MEAT ////////////////////////////////////// MEAT STEAKS /////////////////////////////////////////////////////////// @@ -233,16 +257,20 @@ bonus_reagents = list("nutriment" = 2, "vitamin" = 1) trash = /obj/item/trash/plate filling_color = "#B22222" + foodtype = MEAT tastes = list("meat" = 1) /obj/item/weapon/reagent_containers/food/snacks/meat/steak/plain + foodtype = MEAT /obj/item/weapon/reagent_containers/food/snacks/meat/steak/plain/human tastes = list("tender meat" = 1) + foodtype = MEAT | GROSS /obj/item/weapon/reagent_containers/food/snacks/meat/steak/killertomato name = "killer tomato steak" tastes = list("tomato" = 1) + foodtype = VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/meat/steak/bear name = "bear steak" @@ -263,6 +291,7 @@ icon_state = "goliathsteak" trash = null tastes = list("meat" = 1, "rock" = 1) + foodtype = MEAT //////////////////////////////// MEAT CUTLETS /////////////////////////////////////////////////////// @@ -278,6 +307,7 @@ filling_color = "#B22222" tastes = list("meat" = 1) var/meat_type = "meat" + foodtype = MEAT | RAW /obj/item/weapon/reagent_containers/food/snacks/meat/rawcutlet/initialize_cooked_food(obj/item/weapon/reagent_containers/food/snacks/S, cooking_efficiency) ..() @@ -285,10 +315,12 @@ /obj/item/weapon/reagent_containers/food/snacks/meat/rawcutlet/plain + foodtype = MEAT /obj/item/weapon/reagent_containers/food/snacks/meat/rawcutlet/plain/human cooked_type = /obj/item/weapon/reagent_containers/food/snacks/meat/cutlet/plain/human tastes = list("tender meat" = 1) + foodtype = MEAT | RAW | GROSS /obj/item/weapon/reagent_containers/food/snacks/meat/rawcutlet/plain/human/initialize_cooked_food(obj/item/weapon/reagent_containers/food/snacks/S, cooking_efficiency) ..() @@ -301,6 +333,7 @@ name = "raw killer tomato cutlet" cooked_type = /obj/item/weapon/reagent_containers/food/snacks/meat/cutlet/killertomato tastes = list("tomato" = 1) + foodtype = VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/meat/rawcutlet/bear name = "raw bear cutlet" @@ -328,15 +361,18 @@ bonus_reagents = list("nutriment" = 1, "vitamin" = 1) filling_color = "#B22222" tastes = list("meat" = 1) + foodtype = MEAT /obj/item/weapon/reagent_containers/food/snacks/meat/cutlet/plain /obj/item/weapon/reagent_containers/food/snacks/meat/cutlet/plain/human tastes = list("tender meat" = 1) + foodtype = MEAT | GROSS /obj/item/weapon/reagent_containers/food/snacks/meat/cutlet/killertomato name = "killer tomato cutlet" tastes = list("tomato" = 1) + foodtype = VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/meat/cutlet/bear name = "bear cutlet" diff --git a/code/modules/food_and_drinks/food/snacks_bread.dm b/code/modules/food_and_drinks/food/snacks_bread.dm index b76b896803..16d11c5f29 100644 --- a/code/modules/food_and_drinks/food/snacks_bread.dm +++ b/code/modules/food_and_drinks/food/snacks_bread.dm @@ -4,6 +4,7 @@ volume = 80 slices_num = 5 tastes = list("bread" = 10) + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/snacks/breadslice @@ -14,6 +15,7 @@ list_reagents = list("nutriment" = 2) slot_flags = SLOT_HEAD customfoodfilling = 0 //to avoid infinite bread-ception + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/snacks/store/bread/plain name = "bread" @@ -24,12 +26,14 @@ custom_food_type = /obj/item/weapon/reagent_containers/food/snacks/customizable/bread slice_path = /obj/item/weapon/reagent_containers/food/snacks/breadslice/plain tastes = list("bread" = 10) + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/snacks/breadslice/plain name = "bread slice" desc = "A slice of home." icon_state = "breadslice" customfoodfilling = 1 + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/snacks/store/bread/meat name = "meatbread loaf" @@ -39,11 +43,13 @@ bonus_reagents = list("nutriment" = 5, "vitamin" = 10) list_reagents = list("nutriment" = 30, "vitamin" = 5) tastes = list("bread" = 10, "meat" = 10) + foodtype = GRAIN | MEAT /obj/item/weapon/reagent_containers/food/snacks/breadslice/meat name = "meatbread slice" desc = "A slice of delicious meatbread." icon_state = "meatbreadslice" + foodtype = GRAIN | MEAT /obj/item/weapon/reagent_containers/food/snacks/store/bread/xenomeat name = "xenomeatbread loaf" @@ -53,6 +59,7 @@ bonus_reagents = list("nutriment" = 5, "vitamin" = 10) list_reagents = list("nutriment" = 30, "vitamin" = 5) tastes = list("bread" = 10, "acid" = 10) + foodtype = GRAIN | MEAT /obj/item/weapon/reagent_containers/food/snacks/breadslice/xenomeat name = "xenomeatbread slice" @@ -60,6 +67,7 @@ icon_state = "xenobreadslice" filling_color = "#32CD32" list_reagents = list("nutriment" = 6, "vitamin" = 1) + foodtype = GRAIN | MEAT /obj/item/weapon/reagent_containers/food/snacks/store/bread/spidermeat name = "spider meat loaf" @@ -69,6 +77,7 @@ bonus_reagents = list("nutriment" = 5, "vitamin" = 10) list_reagents = list("nutriment" = 30, "toxin" = 15, "vitamin" = 5) tastes = list("bread" = 10, "cobwebs" = 5) + foodtype = GRAIN | MEAT | TOXIC /obj/item/weapon/reagent_containers/food/snacks/breadslice/spidermeat name = "spider meat bread slice" @@ -76,6 +85,7 @@ icon_state = "xenobreadslice" filling_color = "#7CFC00" list_reagents = list("nutriment" = 6, "toxin" = 3, "vitamin" = 1) + foodtype = GRAIN | MEAT | TOXIC /obj/item/weapon/reagent_containers/food/snacks/store/bread/banana name = "banana-nut bread" @@ -85,6 +95,7 @@ bonus_reagents = list("nutriment" = 5, "banana" = 20) list_reagents = list("nutriment" = 20, "banana" = 20) tastes = list("bread" = 10) // bananjuice will also flavour + foodtype = GRAIN | FRUIT /obj/item/weapon/reagent_containers/food/snacks/breadslice/banana @@ -93,6 +104,7 @@ icon_state = "bananabreadslice" filling_color = "#FFD700" list_reagents = list("nutriment" = 4, "banana" = 4) + foodtype = GRAIN | FRUIT /obj/item/weapon/reagent_containers/food/snacks/store/bread/tofu name = "Tofubread" @@ -102,6 +114,7 @@ bonus_reagents = list("nutriment" = 5, "vitamin" = 10) list_reagents = list("nutriment" = 20, "vitamin" = 5) tastes = list("bread" = 10, "tofu" = 10) + foodtype = GRAIN | VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/breadslice/tofu name = "tofubread slice" @@ -109,6 +122,7 @@ icon_state = "tofubreadslice" filling_color = "#FF8C00" list_reagents = list("nutriment" = 4, "vitamin" = 1) + foodtype = GRAIN | VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/store/bread/creamcheese name = "cream cheese bread" @@ -118,6 +132,7 @@ bonus_reagents = list("nutriment" = 5, "vitamin" = 5) list_reagents = list("nutriment" = 20, "vitamin" = 5) tastes = list("bread" = 10, "cheese" = 10) + foodtype = GRAIN | DAIRY /obj/item/weapon/reagent_containers/food/snacks/breadslice/creamcheese name = "cream cheese bread slice" @@ -125,6 +140,7 @@ icon_state = "creamcheesebreadslice" filling_color = "#FF8C00" list_reagents = list("nutriment" = 4, "vitamin" = 1) + foodtype = GRAIN | DAIRY /obj/item/weapon/reagent_containers/food/snacks/store/bread/mimana name = "mimana bread" @@ -134,6 +150,7 @@ bonus_reagents = list("nutriment" = 5, "vitamin" = 5) list_reagents = list("nutriment" = 20, "mutetoxin" = 5, "nothing" = 5, "vitamin" = 5) tastes = list("bread" = 10, "silence" = 10) + foodtype = GRAIN | FRUIT /obj/item/weapon/reagent_containers/food/snacks/breadslice/mimana name = "mimana bread slice" @@ -141,11 +158,13 @@ icon_state = "mimanabreadslice" filling_color = "#C0C0C0" list_reagents = list("nutriment" = 2, "mutetoxin" = 1, "nothing" = 1, "vitamin" = 1) + foodtype = GRAIN | FRUIT /obj/item/weapon/reagent_containers/food/snacks/breadslice/custom name = "bread slice" icon_state = "tofubreadslice" filling_color = "#FFFFFF" + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/snacks/baguette name = "baguette" @@ -157,6 +176,7 @@ bitesize = 3 w_class = WEIGHT_CLASS_NORMAL tastes = list("bread" = 1) + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/snacks/deepfryholder name = "Deep Fried Foods Holder Obj" diff --git a/code/modules/food_and_drinks/food/snacks_burgers.dm b/code/modules/food_and_drinks/food/snacks_burgers.dm index 16e96435d2..5c1f3b0da3 100644 --- a/code/modules/food_and_drinks/food/snacks_burgers.dm +++ b/code/modules/food_and_drinks/food/snacks_burgers.dm @@ -5,11 +5,13 @@ bitesize = 3 list_reagents = list("nutriment" = 6, "vitamin" = 1) tastes = list("bun" = 4) + foodtype = GRAIN | MEAT /obj/item/weapon/reagent_containers/food/snacks/burger/plain name = "burger" desc = "The cornerstone of every nutritious breakfast." bonus_reagents = list("vitamin" = 1) + foodtype = GRAIN | MEAT /obj/item/weapon/reagent_containers/food/snacks/burger/human var/subjectname = "" @@ -17,6 +19,7 @@ name = "human burger" desc = "A bloody burger." bonus_reagents = list("vitamin" = 4) + foodtype = MEAT | GRAIN | GROSS /obj/item/weapon/reagent_containers/food/snacks/burger/human/CheckParts(list/parts_list) ..() @@ -35,6 +38,7 @@ name = "corgi burger" desc = "You monster." bonus_reagents = list("vitamin" = 1) + foodtype = GRAIN | MEAT | GROSS /obj/item/weapon/reagent_containers/food/snacks/burger/appendix name = "appendix burger" @@ -42,6 +46,7 @@ bonus_reagents = list("nutriment" = 6, "vitamin" = 6) icon_state = "appendixburger" tastes = list("bun" = 4, "grass" = 2) + foodtype = GRAIN | MEAT | GROSS /obj/item/weapon/reagent_containers/food/snacks/burger/fish name = "fillet -o- carp sandwich" @@ -49,6 +54,7 @@ icon_state = "fishburger" bonus_reagents = list("nutriment" = 2, "vitamin" = 3) tastes = list("bun" = 4, "fish" = 4) + foodtype = GRAIN | MEAT /obj/item/weapon/reagent_containers/food/snacks/burger/tofu name = "tofu burger" @@ -56,6 +62,7 @@ icon_state = "tofuburger" bonus_reagents = list("nutriment" = 2, "vitamin" = 2) tastes = list("bun" = 4, "tofu" = 4) + foodtype = GRAIN | VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/burger/roburger name = "roburger" @@ -64,6 +71,7 @@ bonus_reagents = list("nutriment" = 2, "nanomachines" = 2, "vitamin" = 5) list_reagents = list("nutriment" = 6, "nanomachines" = 5, "vitamin" = 1) tastes = list("bun" = 4, "lettuce" = 2, "sludge" = 1) + foodtype = GRAIN | TOXIC /obj/item/weapon/reagent_containers/food/snacks/burger/roburgerbig name = "roburger" @@ -73,6 +81,7 @@ bonus_reagents = list("nutriment" = 5, "nanomachines" = 70, "vitamin" = 10) list_reagents = list("nutriment" = 6, "nanomachines" = 70, "vitamin" = 5) tastes = list("bun" = 4, "lettuce" = 2, "sludge" = 1) + foodtype = GRAIN | TOXIC /obj/item/weapon/reagent_containers/food/snacks/burger/xeno name = "xenoburger" @@ -80,24 +89,28 @@ icon_state = "xburger" bonus_reagents = list("nutriment" = 2, "vitamin" = 6) tastes = list("bun" = 4, "acid" = 4) + foodtype = GRAIN | MEAT /obj/item/weapon/reagent_containers/food/snacks/burger/bearger name = "bearger" desc = "Best served rawr." icon_state = "bearger" bonus_reagents = list("nutriment" = 3, "vitamin" = 6) + foodtype = GRAIN | MEAT /obj/item/weapon/reagent_containers/food/snacks/burger/clown name = "clown burger" desc = "This tastes funny..." icon_state = "clownburger" bonus_reagents = list("nutriment" = 4, "vitamin" = 6, "banana" = 6) + foodtype = GRAIN | FRUIT /obj/item/weapon/reagent_containers/food/snacks/burger/mime name = "mime burger" desc = "Its taste defies language." icon_state = "mimeburger" bonus_reagents = list("nutriment" = 4, "vitamin" = 6, "nothing" = 6) + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/snacks/burger/brain name = "brainburger" @@ -106,6 +119,7 @@ bonus_reagents = list("nutriment" = 6, "mannitol" = 6, "vitamin" = 5) list_reagents = list("nutriment" = 6, "mannitol" = 5, "vitamin" = 1) tastes = list("bun" = 4, "brains" = 2) + foodtype = GRAIN | MEAT | GROSS /obj/item/weapon/reagent_containers/food/snacks/burger/ghost name = "ghost burger" @@ -113,6 +127,7 @@ alpha = 125 bonus_reagents = list("nutriment" = 5, "vitamin" = 12) tastes = list("bun" = 4, "ectoplasm" = 2) + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/snacks/burger/red name = "red burger" @@ -120,6 +135,7 @@ icon_state = "cburger" color = "#DA0000FF" bonus_reagents = list("redcrayonpowder" = 10, "vitamin" = 5) + foodtype = GRAIN | MEAT /obj/item/weapon/reagent_containers/food/snacks/burger/orange name = "orange burger" @@ -127,6 +143,7 @@ icon_state = "cburger" color = "#FF9300FF" bonus_reagents = list("orangecrayonpowder" = 10, "vitamin" = 5) + foodtype = GRAIN | MEAT /obj/item/weapon/reagent_containers/food/snacks/burger/yellow name = "yellow burger" @@ -134,6 +151,7 @@ icon_state = "cburger" color = "#FFF200FF" bonus_reagents = list("yellowcrayonpowder" = 10, "vitamin" = 5) + foodtype = GRAIN | MEAT /obj/item/weapon/reagent_containers/food/snacks/burger/green name = "green burger" @@ -141,6 +159,7 @@ icon_state = "cburger" color = "#A8E61DFF" bonus_reagents = list("greencrayonpowder" = 10, "vitamin" = 5) + foodtype = GRAIN | MEAT /obj/item/weapon/reagent_containers/food/snacks/burger/blue name = "blue burger" @@ -148,6 +167,7 @@ icon_state = "cburger" color = "#00B7EFFF" bonus_reagents = list("bluecrayonpowder" = 10, "vitamin" = 5) + foodtype = GRAIN | MEAT /obj/item/weapon/reagent_containers/food/snacks/burger/purple name = "purple burger" @@ -155,6 +175,7 @@ icon_state = "cburger" color = "#DA00FFFF" bonus_reagents = list("purplecrayonpowder" = 10, "vitamin" = 5) + foodtype = GRAIN | MEAT /obj/item/weapon/reagent_containers/food/snacks/burger/spell name = "spell burger" @@ -162,6 +183,7 @@ icon_state = "spellburger" bonus_reagents = list("nutriment" = 6, "vitamin" = 10) tastes = list("bun" = 4, "magic" = 2) + foodtype = GRAIN | MEAT /obj/item/weapon/reagent_containers/food/snacks/burger/bigbite name = "big bite burger" @@ -170,20 +192,24 @@ bonus_reagents = list("vitamin" = 6) list_reagents = list("nutriment" = 10, "vitamin" = 2) w_class = WEIGHT_CLASS_NORMAL + foodtype = GRAIN | MEAT /obj/item/weapon/reagent_containers/food/snacks/burger/jelly name = "jelly burger" desc = "Culinary delight..?" icon_state = "jellyburger" tastes = list("bun" = 4, "jelly" = 2) + foodtype = GRAIN | MEAT /obj/item/weapon/reagent_containers/food/snacks/burger/jelly/slime bonus_reagents = list("slimejelly" = 5, "vitamin" = 5) list_reagents = list("nutriment" = 6, "slimejelly" = 5, "vitamin" = 1) + foodtype = GRAIN | TOXIC /obj/item/weapon/reagent_containers/food/snacks/burger/jelly/cherry bonus_reagents = list("cherryjelly" = 5, "vitamin" = 5) list_reagents = list("nutriment" = 6, "cherryjelly" = 5, "vitamin" = 1) + foodtype = GRAIN | FRUIT /obj/item/weapon/reagent_containers/food/snacks/burger/superbite name = "super bite burger" @@ -195,6 +221,7 @@ bitesize = 7 volume = 100 tastes = list("bun" = 4, "type two diabetes" = 10) + foodtype = GRAIN | MEAT /obj/item/weapon/reagent_containers/food/snacks/burger/fivealarm name = "five alarm burger" @@ -202,18 +229,21 @@ icon_state = "fivealarmburger" bonus_reagents = list("nutriment" = 2, "vitamin" = 5) list_reagents = list("nutriment" = 6, "capsaicin" = 5, "condensedcapsaicin" = 5, "vitamin" = 1) + foodtype = GRAIN | MEAT /obj/item/weapon/reagent_containers/food/snacks/burger/rat name = "rat burger" desc = "Pretty much what you'd expect..." icon_state = "ratburger" bonus_reagents = list("nutriment" = 1, "vitamin" = 1) + foodtype = GRAIN | MEAT | GROSS /obj/item/weapon/reagent_containers/food/snacks/burger/baseball name = "home run baseball burger" desc = "It's still warm. The steam coming off of it looks like baseball." icon_state = "baseball" bonus_reagents = list("nutriment" = 1, "vitamin" = 1) + foodtype = GRAIN | GROSS /obj/item/weapon/reagent_containers/food/snacks/burger/baconburger name = "bacon burger" @@ -221,3 +251,4 @@ icon_state = "baconburger" bonus_reagents = list("nutriment" = 8, "vitamin" = 1) tastes = list("bun" = 4, "bacon" = 2) + foodtype = GRAIN | MEAT \ No newline at end of file diff --git a/code/modules/food_and_drinks/food/snacks_cake.dm b/code/modules/food_and_drinks/food/snacks_cake.dm index 2cac29be96..674c273de6 100644 --- a/code/modules/food_and_drinks/food/snacks_cake.dm +++ b/code/modules/food_and_drinks/food/snacks_cake.dm @@ -6,6 +6,7 @@ volume = 80 list_reagents = list("nutriment" = 20, "vitamin" = 5) tastes = list("cake" = 1) + foodtype = GRAIN | DAIRY /obj/item/weapon/reagent_containers/food/snacks/cakeslice icon = 'icons/obj/food/piecake.dmi' @@ -13,6 +14,7 @@ list_reagents = list("nutriment" = 4, "vitamin" = 1) customfoodfilling = 0 //to avoid infinite cake-ception tastes = list("cake" = 1) + foodtype = GRAIN | DAIRY /obj/item/weapon/reagent_containers/food/snacks/store/cake/plain name = "vanilla cake" @@ -21,6 +23,7 @@ custom_food_type = /obj/item/weapon/reagent_containers/food/snacks/customizable/cake bonus_reagents = list("nutriment" = 10, "vitamin" = 2) tastes = list("vanilla" = 1, "sweetness" = 2,"cake" = 5) + foodtype = GRAIN | DAIRY | SUGAR /obj/item/weapon/reagent_containers/food/snacks/cakeslice/plain name = "vanilla cake slice" @@ -29,6 +32,7 @@ filling_color = "#FFD700" customfoodfilling = 1 tastes = list("vanilla" = 1, "sweetness" = 2,"cake" = 5) + foodtype = GRAIN | DAIRY | SUGAR /obj/item/weapon/reagent_containers/food/snacks/store/cake/carrot name = "carrot cake" @@ -39,6 +43,7 @@ bonus_reagents = list("nutriment" = 3, "oculine" = 5, "vitamin" = 10) list_reagents = list("nutriment" = 20, "oculine" = 10, "vitamin" = 5) tastes = list("cake" = 5, "sweetness" = 2, "carrot" = 1) + foodtype = GRAIN | DAIRY | VEGETABLES | SUGAR /obj/item/weapon/reagent_containers/food/snacks/cakeslice/carrot name = "carrot cake slice" @@ -47,6 +52,7 @@ filling_color = "#FFA500" list_reagents = list("nutriment" = 4, "oculine" = 2, "vitamin" = 1) tastes = list("cake" = 5, "sweetness" = 2, "carrot" = 1) + foodtype = GRAIN | DAIRY | VEGETABLES | SUGAR /obj/item/weapon/reagent_containers/food/snacks/store/cake/brain @@ -58,6 +64,7 @@ bonus_reagents = list("nutriment" = 5, "mannitol" = 10, "vitamin" = 10) list_reagents = list("nutriment" = 20, "mannitol" = 10, "vitamin" = 5) tastes = list("cake" = 5, "sweetness" = 2, "brains" = 1) + foodtype = GRAIN | DAIRY | MEAT | GROSS | SUGAR /obj/item/weapon/reagent_containers/food/snacks/cakeslice/brain @@ -67,6 +74,7 @@ filling_color = "#FF69B4" list_reagents = list("nutriment" = 4, "mannitol" = 2, "vitamin" = 1) tastes = list("cake" = 5, "sweetness" = 2, "brains" = 1) + foodtype = GRAIN | DAIRY | MEAT | GROSS | SUGAR /obj/item/weapon/reagent_containers/food/snacks/store/cake/cheese name = "cheese cake" @@ -76,6 +84,7 @@ slices_num = 5 bonus_reagents = list("vitamin" = 10) tastes = list("cake" = 4, "cream cheese" = 3) + foodtype = GRAIN | DAIRY /obj/item/weapon/reagent_containers/food/snacks/cakeslice/cheese @@ -84,6 +93,7 @@ icon_state = "cheesecake_slice" filling_color = "#FFFACD" tastes = list("cake" = 4, "cream cheese" = 3) + foodtype = GRAIN | DAIRY /obj/item/weapon/reagent_containers/food/snacks/store/cake/orange @@ -94,6 +104,7 @@ slices_num = 5 bonus_reagents = list("nutriment" = 3, "vitamin" = 10) tastes = list("cake" = 5, "sweetness" = 2, "oranges" = 2) + foodtype = GRAIN | DAIRY | FRUIT | SUGAR /obj/item/weapon/reagent_containers/food/snacks/cakeslice/orange name = "orange cake slice" @@ -101,6 +112,7 @@ icon_state = "orangecake_slice" filling_color = "#FFA500" tastes = list("cake" = 5, "sweetness" = 2, "oranges" = 2) + foodtype = GRAIN | DAIRY | FRUIT | SUGAR /obj/item/weapon/reagent_containers/food/snacks/store/cake/lime name = "lime cake" @@ -110,6 +122,7 @@ slices_num = 5 bonus_reagents = list("nutriment" = 3, "vitamin" = 10) tastes = list("cake" = 5, "sweetness" = 2, "unbearable sourness" = 2) + foodtype = GRAIN | DAIRY | FRUIT | SUGAR /obj/item/weapon/reagent_containers/food/snacks/cakeslice/lime name = "lime cake slice" @@ -117,6 +130,7 @@ icon_state = "limecake_slice" filling_color = "#00FF00" tastes = list("cake" = 5, "sweetness" = 2, "unbearable sourness" = 2) + foodtype = GRAIN | DAIRY | FRUIT | SUGAR /obj/item/weapon/reagent_containers/food/snacks/store/cake/lemon @@ -127,6 +141,7 @@ slices_num = 5 bonus_reagents = list("nutriment" = 3, "vitamin" = 10) tastes = list("cake" = 5, "sweetness" = 2, "sourness" = 2) + foodtype = GRAIN | DAIRY | FRUIT | SUGAR /obj/item/weapon/reagent_containers/food/snacks/cakeslice/lemon @@ -135,6 +150,7 @@ icon_state = "lemoncake_slice" filling_color = "#FFEE00" tastes = list("cake" = 5, "sweetness" = 2, "sourness" = 2) + foodtype = GRAIN | DAIRY | FRUIT | SUGAR /obj/item/weapon/reagent_containers/food/snacks/store/cake/chocolate @@ -145,6 +161,7 @@ slices_num = 5 bonus_reagents = list("nutriment" = 3, "vitamin" = 10) tastes = list("cake" = 5, "sweetness" = 1, "chocolate" = 4) + foodtype = GRAIN | DAIRY | JUNKFOOD | SUGAR /obj/item/weapon/reagent_containers/food/snacks/cakeslice/chocolate @@ -153,6 +170,7 @@ icon_state = "chocolatecake_slice" filling_color = "#A0522D" tastes = list("cake" = 5, "sweetness" = 1, "chocolate" = 4) + foodtype = GRAIN | DAIRY | JUNKFOOD | SUGAR /obj/item/weapon/reagent_containers/food/snacks/store/cake/birthday @@ -164,6 +182,7 @@ bonus_reagents = list("nutriment" = 7, "sprinkles" = 10, "vitamin" = 5) list_reagents = list("nutriment" = 20, "sprinkles" = 10, "vitamin" = 5) tastes = list("cake" = 5, "sweetness" = 1) + foodtype = GRAIN | DAIRY | JUNKFOOD | SUGAR /obj/item/weapon/reagent_containers/food/snacks/cakeslice/birthday name = "birthday cake slice" @@ -172,6 +191,7 @@ filling_color = "#DC143C" list_reagents = list("nutriment" = 4, "sprinkles" = 2, "vitamin" = 1) tastes = list("cake" = 5, "sweetness" = 1) + foodtype = GRAIN | DAIRY | JUNKFOOD | SUGAR /obj/item/weapon/reagent_containers/food/snacks/store/cake/apple @@ -182,6 +202,7 @@ slices_num = 5 bonus_reagents = list("nutriment" = 3, "vitamin" = 10) tastes = list("cake" = 5, "sweetness" = 1, "apple" = 1) + foodtype = GRAIN | DAIRY | FRUIT | SUGAR /obj/item/weapon/reagent_containers/food/snacks/cakeslice/apple name = "apple cake slice" @@ -189,11 +210,13 @@ icon_state = "applecakeslice" filling_color = "#FF4500" tastes = list("cake" = 5, "sweetness" = 1, "apple" = 1) + foodtype = GRAIN | DAIRY | FRUIT | SUGAR /obj/item/weapon/reagent_containers/food/snacks/cakeslice/custom name = "cake slice" icon_state = "plaincake_slice" filling_color = "#FFFFFF" + foodtype = GRAIN | DAIRY /obj/item/weapon/reagent_containers/food/snacks/store/cake/slimecake name = "Slime cake" @@ -202,6 +225,7 @@ slice_path = /obj/item/weapon/reagent_containers/food/snacks/cakeslice/slimecake bonus_reagents = list("nutriment" = 1, "vitamin" = 3) tastes = list("cake" = 5, "sweetness" = 1, "slime" = 1) + foodtype = GRAIN | DAIRY | SUGAR /obj/item/weapon/reagent_containers/food/snacks/cakeslice/slimecake name = "slime cake slice" @@ -209,6 +233,7 @@ icon_state = "slimecake_slice" filling_color = "#00FFFF" tastes = list("cake" = 5, "sweetness" = 1, "slime" = 1) + foodtype = GRAIN | DAIRY | SUGAR /obj/item/weapon/reagent_containers/food/snacks/store/cake/pumpkinspice name = "pumpkin spice cake" @@ -217,6 +242,7 @@ slice_path = /obj/item/weapon/reagent_containers/food/snacks/cakeslice/pumpkinspice bonus_reagents = list("nutriment" = 3, "vitamin" = 5) tastes = list("cake" = 5, "sweetness" = 1, "pumpkin" = 1) + foodtype = GRAIN | DAIRY | VEGETABLES | SUGAR /obj/item/weapon/reagent_containers/food/snacks/cakeslice/pumpkinspice name = "pumpkin spice cake slice" @@ -224,3 +250,5 @@ icon_state = "pumpkinspicecakeslice" filling_color = "#FFD700" tastes = list("cake" = 5, "sweetness" = 1, "pumpkin" = 1) + + foodtype = GRAIN | DAIRY | VEGETABLES | SUGAR diff --git a/code/modules/food_and_drinks/food/snacks_egg.dm b/code/modules/food_and_drinks/food/snacks_egg.dm index a0b2b34740..68cdcb7b7e 100644 --- a/code/modules/food_and_drinks/food/snacks_egg.dm +++ b/code/modules/food_and_drinks/food/snacks_egg.dm @@ -9,6 +9,7 @@ list_reagents = list("nutriment" = 4, "sugar" = 2, "cocoa" = 2) filling_color = "#A0522D" tastes = list("chocolate" = 4, "sweetness" = 1) + foodtype = JUNKFOOD | SUGAR /obj/item/weapon/reagent_containers/food/snacks/egg name = "egg" @@ -18,6 +19,7 @@ cooked_type = /obj/item/weapon/reagent_containers/food/snacks/boiledegg filling_color = "#F0E68C" tastes = list("egg" = 1) + foodtype = MEAT /obj/item/weapon/reagent_containers/food/snacks/egg/throw_impact(atom/hit_atom) if(!..()) //was it caught by a mob? @@ -90,6 +92,7 @@ filling_color = "#FFFFF0" list_reagents = list("nutriment" = 3) tastes = list("egg" = 4, "salt" = 1, "pepper" = 1) + foodtype = MEAT | FRIED /obj/item/weapon/reagent_containers/food/snacks/boiledegg name = "boiled egg" @@ -99,6 +102,7 @@ filling_color = "#FFFFF0" list_reagents = list("nutriment" = 2, "vitamin" = 1) tastes = list("egg" = 1) + foodtype = MEAT /obj/item/weapon/reagent_containers/food/snacks/omelette //FUCK THIS name = "omelette du fromage" @@ -110,6 +114,7 @@ bitesize = 1 w_class = WEIGHT_CLASS_NORMAL tastes = list("egg" = 1, "cheese" = 1) + foodtype = MEAT /obj/item/weapon/reagent_containers/food/snacks/omelette/attackby(obj/item/weapon/W, mob/user, params) if(istype(W, /obj/item/weapon/kitchen/fork)) @@ -138,3 +143,5 @@ w_class = WEIGHT_CLASS_NORMAL list_reagents = list("nutriment" = 6, "vitamin" = 4) tastes = list("egg" = 1, "bacon" = 1, "bun" = 1) + + foodtype = MEAT diff --git a/code/modules/food_and_drinks/food/snacks_meat.dm b/code/modules/food_and_drinks/food/snacks_meat.dm index e050ecd72b..4c9e69ed45 100644 --- a/code/modules/food_and_drinks/food/snacks_meat.dm +++ b/code/modules/food_and_drinks/food/snacks_meat.dm @@ -13,6 +13,7 @@ filling_color = "#CD853F" list_reagents = list("nutriment" = 6, "capsaicin" = 1) tastes = list("fish" = 4, "batter" = 1, "hot peppers" = 1) + foodtype = MEAT /obj/item/weapon/reagent_containers/food/snacks/carpmeat name = "carp fillet" @@ -22,6 +23,7 @@ bitesize = 6 filling_color = "#FA8072" tastes = list("fish" = 1) + foodtype = MEAT /obj/item/weapon/reagent_containers/food/snacks/carpmeat/New() ..() @@ -40,6 +42,7 @@ bitesize = 1 filling_color = "#CD853F" tastes = list("fish" = 1, "breadcrumbs" = 1) + foodtype = MEAT /obj/item/weapon/reagent_containers/food/snacks/fishandchips name = "fish and chips" @@ -49,6 +52,7 @@ list_reagents = list("nutriment" = 6) filling_color = "#FA8072" tastes = list("fish" = 1, "chips" = 1) + foodtype = MEAT | VEGETABLES | FRIED ////////////////////////////////////////////MEATS AND ALIKE//////////////////////////////////////////// @@ -59,6 +63,7 @@ list_reagents = list("nutriment" = 2) filling_color = "#F0E68C" tastes = list("tofu" = 1) + foodtype = VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/spiderleg name = "spider leg" @@ -68,6 +73,7 @@ cooked_type = /obj/item/weapon/reagent_containers/food/snacks/boiledspiderleg filling_color = "#000000" tastes = list("cobwebs" = 1) + foodtype = MEAT | TOXIC /obj/item/weapon/reagent_containers/food/snacks/cornedbeef name = "corned beef and cabbage" @@ -77,6 +83,7 @@ bonus_reagents = list("nutriment" = 1, "vitamin" = 4) list_reagents = list("nutriment" = 5) tastes = list("meat" = 1, "cabbage" = 1) + foodtype = MEAT | VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/bearsteak name = "Filet migrawr" @@ -86,6 +93,7 @@ bonus_reagents = list("nutriment" = 2, "vitamin" = 6) list_reagents = list("nutriment" = 2, "vitamin" = 5, "manlydorf" = 5) tastes = list("meat" = 1, "salmon" = 1) + foodtype = MEAT | ALCOHOL /obj/item/weapon/reagent_containers/food/snacks/faggot name = "faggot" @@ -94,6 +102,7 @@ list_reagents = list("nutriment" = 4, "vitamin" = 1) filling_color = "#800000" tastes = list("meat" = 1) + foodtype = MEAT /obj/item/weapon/reagent_containers/food/snacks/sausage name = "sausage" @@ -103,6 +112,7 @@ bonus_reagents = list("nutriment" = 1, "vitamin" = 1) list_reagents = list("nutriment" = 6, "vitamin" = 1) tastes = list("meat" = 1) + foodtype = MEAT /obj/item/weapon/reagent_containers/food/snacks/sausage/New() ..() @@ -114,30 +124,35 @@ w_class = WEIGHT_CLASS_NORMAL list_reagents = list("nutriment" = 8) tastes = list("meat" = 3, "metal" = 1) + foodtype = MEAT /obj/item/weapon/reagent_containers/food/snacks/kebab/human name = "human-kebab" desc = "A human meat, on a stick." bonus_reagents = list("nutriment" = 1, "vitamin" = 6) tastes = list("tender meat" = 3, "metal" = 1) + foodtype = MEAT | GROSS /obj/item/weapon/reagent_containers/food/snacks/kebab/monkey name = "meat-kebab" desc = "Delicious meat, on a stick." bonus_reagents = list("nutriment" = 1, "vitamin" = 2) tastes = list("meat" = 3, "metal" = 1) + foodtype = MEAT /obj/item/weapon/reagent_containers/food/snacks/kebab/tofu name = "tofu-kebab" desc = "Vegan meat, on a stick." bonus_reagents = list("nutriment" = 1) tastes = list("tofu" = 3, "metal" = 1) + foodtype = VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/kebab/tail name = "lizard-tail kebab" desc = "Severed lizard tail on a stick." bonus_reagents = list("nutriment" = 1, "vitamin" = 4) tastes = list("meat" = 8, "metal" = 4, "scales" = 1) + foodtype = MEAT /obj/item/weapon/reagent_containers/food/snacks/rawkhinkali name = "raw khinkali" @@ -146,6 +161,7 @@ list_reagents = list("nutriment" = 1, "vitamin" = 1) cooked_type = /obj/item/weapon/reagent_containers/food/snacks/khinkali tastes = list("meat" = 1, "onions" = 1, "garlic" = 1) + foodtype = MEAT /obj/item/weapon/reagent_containers/food/snacks/khinkali name = "khinkali" @@ -155,6 +171,7 @@ bitesize = 3 filling_color = "#F0F0F0" tastes = list("meat" = 1, "onions" = 1, "garlic" = 1) + foodtype = MEAT /obj/item/weapon/reagent_containers/food/snacks/monkeycube name = "monkey cube" @@ -164,6 +181,7 @@ list_reagents = list("nutriment" = 2) filling_color = "#CD853F" tastes = list("the jungle" = 1, "bananas" = 1) + foodtype = MEAT | SUGAR /obj/item/weapon/reagent_containers/food/snacks/monkeycube/proc/Expand() visible_message("[src] expands!") @@ -179,6 +197,7 @@ filling_color = "#FFA07A" list_reagents = list("nutriment" = 8, "capsaicin" = 6) tastes = list("hot peppers" = 1, "meat" = 3, "cheese" = 1, "sour cream" = 1) + foodtype = MEAT /obj/item/weapon/reagent_containers/food/snacks/stewedsoymeat name = "stewed soy meat" @@ -189,6 +208,7 @@ list_reagents = list("nutriment" = 8) filling_color = "#D2691E" tastes = list("soy" = 1, "vegetables" = 1) + foodtype = VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/stewedsoymeat/New() ..() @@ -203,6 +223,7 @@ list_reagents = list("nutriment" = 3, "capsaicin" = 2) filling_color = "#000000" tastes = list("hot peppers" = 1, "cobwebs" = 1) + foodtype = MEAT /obj/item/weapon/reagent_containers/food/snacks/spidereggsham name = "green eggs and ham" @@ -214,6 +235,7 @@ bitesize = 4 filling_color = "#7FFF00" tastes = list("meat" = 1, "the colour green" = 1) + foodtype = MEAT /obj/item/weapon/reagent_containers/food/snacks/sashimi name = "carp sashimi" @@ -223,6 +245,7 @@ list_reagents = list("nutriment" = 6, "capsaicin" = 5) filling_color = "#FA8072" tastes = list("fish" = 1, "hot peppers" = 1) + foodtype = MEAT | TOXIC /obj/item/weapon/reagent_containers/food/snacks/nugget name = "chicken nugget" @@ -230,6 +253,7 @@ bonus_reagents = list("nutriment" = 1, "vitamin" = 1) list_reagents = list("nutriment" = 2) tastes = list("\"chicken\"" = 1) + foodtype = MEAT /obj/item/weapon/reagent_containers/food/snacks/nugget/New() ..() diff --git a/code/modules/food_and_drinks/food/snacks_other.dm b/code/modules/food_and_drinks/food/snacks_other.dm index 3cce0f46c9..8ebdbe00a0 100644 --- a/code/modules/food_and_drinks/food/snacks_other.dm +++ b/code/modules/food_and_drinks/food/snacks_other.dm @@ -10,6 +10,7 @@ list_reagents = list("nutriment" = 15, "vitamin" = 5) w_class = WEIGHT_CLASS_NORMAL tastes = list("cheese" = 1) + foodtype = DAIRY /obj/item/weapon/reagent_containers/food/snacks/cheesewedge name = "cheese wedge" @@ -18,6 +19,7 @@ filling_color = "#FFD700" list_reagents = list("nutriment" = 3, "vitamin" = 1) tastes = list("cheese" = 1) + foodtype = DAIRY /obj/item/weapon/reagent_containers/food/snacks/watermelonslice name = "watermelon slice" @@ -25,6 +27,7 @@ icon_state = "watermelonslice" filling_color = "#FF1493" tastes = list("watermelon" = 1) + foodtype = FRUIT /obj/item/weapon/reagent_containers/food/snacks/candy_corn name = "candy corn" @@ -33,6 +36,7 @@ list_reagents = list("nutriment" = 4, "sugar" = 2) filling_color = "#FF8C00" tastes = list("candy corn" = 1) + foodtype = JUNKFOOD | SUGAR /obj/item/weapon/reagent_containers/food/snacks/chocolatebar name = "chocolate bar" @@ -41,6 +45,7 @@ list_reagents = list("nutriment" = 2, "sugar" = 2, "cocoa" = 2) filling_color = "#A0522D" tastes = list("chocolate" = 1) + foodtype = JUNKFOOD | SUGAR /obj/item/weapon/reagent_containers/food/snacks/hugemushroomslice name = "huge mushroom slice" @@ -48,6 +53,7 @@ icon_state = "hugemushroomslice" list_reagents = list("nutriment" = 3, "vitamin" = 1) tastes = list("mushroom" = 1) + foodtype = VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/popcorn name = "popcorn" @@ -58,6 +64,7 @@ bitesize = 0.1 //this snack is supposed to be eating during looooong time. And this it not dinner food! --rastaf0 filling_color = "#FFEFD5" tastes = list("popcorn" = 3, "butter" = 1) + foodtype = JUNKFOOD /obj/item/weapon/reagent_containers/food/snacks/popcorn/New() ..() @@ -71,6 +78,7 @@ list_reagents = list("nutriment" = 6) filling_color = "#D2B48C" tastes = list("potato" = 1) + foodtype = VEGETABLES | DAIRY /obj/item/weapon/reagent_containers/food/snacks/fries name = "space fries" @@ -80,6 +88,7 @@ list_reagents = list("nutriment" = 4) filling_color = "#FFD700" tastes = list("fries" = 3, "salt" = 1) + foodtype = VEGETABLES | GRAIN | FRIED /obj/item/weapon/reagent_containers/food/snacks/tatortot name = "tator tot" @@ -88,6 +97,7 @@ list_reagents = list("nutriment" = 4) filling_color = "FFD700" tastes = list("potato" = 3, "valids" = 1) + foodtype = FRIED | VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/soydope name = "soy dope" @@ -97,6 +107,7 @@ list_reagents = list("nutriment" = 2) filling_color = "#DEB887" tastes = list("soy" = 1) + foodtype = VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/cheesyfries name = "cheesy fries" @@ -107,6 +118,7 @@ list_reagents = list("nutriment" = 6) filling_color = "#FFD700" tastes = list("fries" = 3, "cheese" = 1) + foodtype = VEGETABLES | GRAIN /obj/item/weapon/reagent_containers/food/snacks/badrecipe name = "burned mess" @@ -114,6 +126,7 @@ icon_state = "badrecipe" list_reagents = list("bad_food" = 30) filling_color = "#8B4513" + foodtype = GROSS /obj/item/weapon/reagent_containers/food/snacks/carrotfries name = "carrot fries" @@ -123,6 +136,7 @@ list_reagents = list("nutriment" = 3, "oculine" = 3, "vitamin" = 2) filling_color = "#FFA500" tastes = list("carrots" = 3, "salt" = 1) + foodtype = VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/candiedapple name = "candied apple" @@ -133,6 +147,7 @@ list_reagents = list("nutriment" = 3, "sugar" = 2) filling_color = "#FF4500" tastes = list("apple" = 2, "sweetness" = 2) + foodtype = JUNKFOOD | FRUIT | SUGAR /obj/item/weapon/reagent_containers/food/snacks/mint name = "mint" @@ -142,6 +157,7 @@ trash = /obj/item/trash/plate list_reagents = list("minttoxin" = 1) filling_color = "#800000" + foodtype = TOXIC | SUGAR /obj/item/weapon/reagent_containers/food/snacks/eggwrap name = "egg wrap" @@ -151,6 +167,7 @@ list_reagents = list("nutriment" = 5) filling_color = "#F0E68C" tastes = list("egg" = 1) + foodtype = MEAT | GRAIN /obj/item/weapon/reagent_containers/food/snacks/beans name = "tin of beans" @@ -160,6 +177,7 @@ list_reagents = list("nutriment" = 10) filling_color = "#B22222" tastes = list("beans" = 1) + foodtype = VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/spidereggs name = "spider eggs" @@ -168,6 +186,7 @@ list_reagents = list("nutriment" = 2, "toxin" = 2) filling_color = "#008000" tastes = list("cobwebs" = 1) + foodtype = MEAT | TOXIC /obj/item/weapon/reagent_containers/food/snacks/chococoin name = "chocolate coin" @@ -177,6 +196,7 @@ list_reagents = list("nutriment" = 3, "cocoa" = 1) filling_color = "#A0522D" tastes = list("chocolate" = 1) + foodtype = JUNKFOOD | SUGAR /obj/item/weapon/reagent_containers/food/snacks/fudgedice name = "fudge dice" @@ -187,6 +207,7 @@ filling_color = "#A0522D" trash = /obj/item/weapon/dice/fudge tastes = list("fudge" = 1) + foodtype = JUNKFOOD | SUGAR /obj/item/weapon/reagent_containers/food/snacks/chocoorange name = "chocolate orange" @@ -196,6 +217,7 @@ list_reagents = list("nutriment" = 3, "sugar" = 1) filling_color = "#A0522D" tastes = list("chocolate" = 3, "oranges" = 1) + foodtype = JUNKFOOD | SUGAR /obj/item/weapon/reagent_containers/food/snacks/eggplantparm name = "eggplant parmigiana" @@ -206,6 +228,7 @@ list_reagents = list("nutriment" = 6, "vitamin" = 2) filling_color = "#BA55D3" tastes = list("eggplant" = 3, "cheese" = 1) + foodtype = VEGETABLES | DAIRY /obj/item/weapon/reagent_containers/food/snacks/tortilla name = "tortilla" @@ -215,6 +238,7 @@ list_reagents = list("nutriment" = 3, "vitamin" = 1) filling_color = "#FFEFD5" tastes = list("tortilla" = 1) + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/snacks/burrito name = "burrito" @@ -224,6 +248,7 @@ list_reagents = list("nutriment" = 4, "vitamin" = 1) filling_color = "#FFEFD5" tastes = list("torilla" = 2, "meat" = 3) + foodtype = GRAIN | MEAT /obj/item/weapon/reagent_containers/food/snacks/cheesyburrito name = "cheesy burrito" @@ -233,6 +258,7 @@ list_reagents = list("nutriment" = 4, "vitamin" = 2) filling_color = "#FFD800" tastes = list("torilla" = 2, "meat" = 3, "cheese" = 1) + foodtype = GRAIN | MEAT | DAIRY /obj/item/weapon/reagent_containers/food/snacks/carneburrito name = "carne asada burrito" @@ -242,6 +268,7 @@ list_reagents = list("nutriment" = 5, "vitamin" = 1) filling_color = "#A0522D" tastes = list("torilla" = 2, "meat" = 4) + foodtype = GRAIN | MEAT /obj/item/weapon/reagent_containers/food/snacks/fuegoburrito name = "fuego plasma burrito" @@ -251,6 +278,7 @@ list_reagents = list("nutriment" = 4, "capsaicin" = 5, "vitamin" = 3) filling_color = "#FF2000" tastes = list("torilla" = 2, "meat" = 3, "hot peppers" = 1) + foodtype = GRAIN | MEAT /obj/item/weapon/reagent_containers/food/snacks/yakiimo name = "yaki imo" @@ -260,6 +288,7 @@ list_reagents = list("nutriment" = 5, "vitamin" = 4) filling_color = "#8B1105" tastes = list("sweet potato" = 1) + foodtype = GRAIN | VEGETABLES | SUGAR /obj/item/weapon/reagent_containers/food/snacks/roastparsnip name = "roast parsnip" @@ -269,6 +298,7 @@ list_reagents = list("nutriment" = 3, "vitamin" = 4) filling_color = "#FF5500" tastes = list("parsnip" = 1) + foodtype = VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/melonfruitbowl name = "melon fruit bowl" @@ -279,6 +309,7 @@ filling_color = "#FF5500" w_class = WEIGHT_CLASS_NORMAL tastes = list("melon" = 1) + foodtype = FRUIT /obj/item/weapon/reagent_containers/food/snacks/spacefreezy name = "space freezy" @@ -288,6 +319,7 @@ list_reagents = list("nutriment" = 6, "bluecherryjelly" = 5, "vitamin" = 4) filling_color = "#87CEFA" tastes = list("blue cherries" = 2, "ice cream" = 2) + foodtype = FRUIT | DAIRY /obj/item/weapon/reagent_containers/food/snacks/sundae name = "sundae" @@ -297,6 +329,7 @@ list_reagents = list("nutriment" = 6, "banana" = 5, "vitamin" = 2) filling_color = "#FFFACD" tastes = list("ice cream" = 1, "banana" = 1) + foodtype = FRUIT | DAIRY | SUGAR /obj/item/weapon/reagent_containers/food/snacks/honkdae name = "honkdae" @@ -306,6 +339,7 @@ list_reagents = list("nutriment" = 6, "banana" = 10, "vitamin" = 4) filling_color = "#FFFACD" tastes = list("ice cream" = 1, "banana" = 1, "a bad joke" = 1) + foodtype = FRUIT | DAIRY | SUGAR /obj/item/weapon/reagent_containers/food/snacks/nachos name = "nachos" @@ -315,6 +349,7 @@ list_reagents = list("nutriment" = 6, "vitamin" = 2) filling_color = "#F4A460" tastes = list("nachos" = 1) + foodtype = VEGETABLES | FRIED /obj/item/weapon/reagent_containers/food/snacks/cheesynachos name = "cheesy nachos" @@ -324,6 +359,7 @@ list_reagents = list("nutriment" = 6, "vitamin" = 3) filling_color = "#FFD700" tastes = list("nachos" = 2, "cheese" = 1) + foodtype = VEGETABLES | FRIED | DAIRY /obj/item/weapon/reagent_containers/food/snacks/cubannachos name = "cuban nachos" @@ -333,6 +369,7 @@ list_reagents = list("nutriment" = 7, "capsaicin" = 8, "vitamin" = 4) filling_color = "#DC143C" tastes = list("nachos" = 2, "hot pepper" = 1) + foodtype = VEGETABLES | FRIED | DAIRY /obj/item/weapon/reagent_containers/food/snacks/melonkeg name = "melon keg" @@ -344,6 +381,7 @@ volume = 80 bitesize = 5 tastes = list("grain alcohol" = 1, "fruit" = 1) + foodtype = FRUIT | ALCOHOL /obj/item/weapon/reagent_containers/food/snacks/honeybar name = "honey nut bar" @@ -353,6 +391,7 @@ list_reagents = list("nutriment" = 5, "honey" = 5) filling_color = "#F2CE91" tastes = list("oats" = 3, "nuts" = 2, "honey" = 1) + foodtype = FRUIT | SUGAR /obj/item/weapon/reagent_containers/food/snacks/stuffedlegion name = "stuffed legion" @@ -361,6 +400,7 @@ bonus_reagents = list("vitamin" = 3, "capsaicin" = 1, "tricordrazine" = 5) list_reagents = list("nutriment" = 5, "vitamin" = 5, "capsaicin" = 2, "tricordrazine" = 10) tastes = list("death" = 2, "rock" = 1, "meat" = 1, "hot peppers" = 1) + foodtype = MEAT /obj/item/weapon/reagent_containers/food/snacks/powercrepe @@ -376,6 +416,7 @@ attack_verb = list("slapped", "slathered") w_class = WEIGHT_CLASS_BULKY tastes = list("cherry" = 1, "crepe" = 1) + foodtype = GRAIN | FRUIT | SUGAR /obj/item/weapon/reagent_containers/food/snacks/lollipop name = "lollipop" @@ -386,6 +427,7 @@ var/mutable_appearance/head var/headcolor = rgb(0, 0, 0) tastes = list("candy" = 1) + foodtype = JUNKFOOD | SUGAR /obj/item/weapon/reagent_containers/food/snacks/lollipop/New() ..() @@ -425,6 +467,7 @@ icon_state = "gumball" list_reagents = list("sugar" = 5, "bicaridine" = 2, "kelotane" = 2) //Kek tastes = list("candy") + foodtype = JUNKFOOD /obj/item/weapon/reagent_containers/food/snacks/gumball/New() ..() @@ -453,6 +496,7 @@ list_reagents = list("nutriment" = 4, "vitamin" = 2) filling_color = "F0D830" tastes = list("taco" = 4, "meat" = 2, "cheese" = 2, "lettuce" = 1) + foodtype = MEAT | DAIRY | GRAIN | VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/taco/plain desc = "A traditional taco with meat and cheese, minus the rabbit food." @@ -460,6 +504,7 @@ bonus_reagents = list("nutriment" = 2, "vitamin" = 2) list_reagents = list("nutriment" = 3, "vitamin" = 1) tastes = list("taco" = 4, "meat" = 2, "cheese" = 2) + foodtype = MEAT | DAIRY | GRAIN /obj/item/weapon/reagent_containers/food/snacks/branrequests name = "Bran Requests Cereal" @@ -468,6 +513,7 @@ list_reagents = list("nutriment" = 3, "vitamin" = 2, "sodiumchloride" = 5) bonus_reagents = list("sodiumchloride" = 10) tastes = list("bran" = 4, "raisins" = 3, "salt" = 1) + foodtype = GRAIN | FRUIT /obj/item/weapon/reagent_containers/food/snacks/butter name = "stick of butter" @@ -476,6 +522,7 @@ list_reagents = list("nutriment" = 5) filling_color = "#FFD700" tastes = list("butter" = 1) + foodtype = DAIRY /obj/item/weapon/reagent_containers/food/snacks/onionrings name = "onion rings" @@ -484,4 +531,5 @@ list_reagents = list("nutriment" = 3) filling_color = "#C0C9A0" gender = PLURAL - tastes = list("batter" = 3, "onion" = 1) \ No newline at end of file + tastes = list("batter" = 3, "onion" = 1) + foodtype = VEGETABLES diff --git a/code/modules/food_and_drinks/food/snacks_pastry.dm b/code/modules/food_and_drinks/food/snacks_pastry.dm index 6081838669..8f52a5b40d 100644 --- a/code/modules/food_and_drinks/food/snacks_pastry.dm +++ b/code/modules/food_and_drinks/food/snacks_pastry.dm @@ -12,6 +12,7 @@ var/extra_reagent = null filling_color = "#D2691E" tastes = list("donut" = 1) + foodtype = JUNKFOOD | GRAIN | FRIED | SUGAR /obj/item/weapon/reagent_containers/food/snacks/donut/Initialize() . = ..() @@ -47,6 +48,7 @@ bonus_reagents = list("sugar" = 1, "vitamin" = 1) extra_reagent = "berryjuice" tastes = list("jelly" = 1, "donut" = 3) + foodtype = JUNKFOOD | GRAIN | FRIED | FRUIT | SUGAR /obj/item/weapon/reagent_containers/food/snacks/donut/jelly/Initialize() . = ..() @@ -64,12 +66,14 @@ desc = "You jelly?" icon_state = "jdonut1" extra_reagent = "slimejelly" + foodtype = JUNKFOOD | GRAIN | FRIED | TOXIC | SUGAR /obj/item/weapon/reagent_containers/food/snacks/donut/jelly/cherryjelly name = "jelly donut" desc = "You jelly?" icon_state = "jdonut1" extra_reagent = "cherryjelly" + foodtype = JUNKFOOD | GRAIN | FRIED | FRUIT ////////////////////////////////////////////MUFFINS//////////////////////////////////////////// @@ -81,12 +85,14 @@ list_reagents = list("nutriment" = 6) filling_color = "#F4A460" tastes = list("muffin" = 1) + foodtype = GRAIN | SUGAR /obj/item/weapon/reagent_containers/food/snacks/muffin/berry name = "berry muffin" icon_state = "berrymuffin" desc = "A delicious and spongy little cake, with berries." tastes = list("muffin" = 3, "berry" = 1) + foodtype = GRAIN | FRUIT | SUGAR /obj/item/weapon/reagent_containers/food/snacks/muffin/booberry name = "booberry muffin" @@ -94,6 +100,7 @@ alpha = 125 desc = "My stomach is a graveyard! No living being can quench my bloodthirst!" tastes = list("muffin" = 3, "spookiness" = 1) + foodtype = GRAIN | FRUIT | SUGAR /obj/item/weapon/reagent_containers/food/snacks/chawanmushi name = "chawanmushi" @@ -103,6 +110,7 @@ list_reagents = list("nutriment" = 5) filling_color = "#FFE4E1" tastes = list("custard" = 1) + foodtype = GRAIN | MEAT | VEGETABLES ////////////////////////////////////////////WAFFLES//////////////////////////////////////////// @@ -115,6 +123,7 @@ list_reagents = list("nutriment" = 8, "vitamin" = 1) filling_color = "#D2691E" tastes = list("waffles" = 1) + foodtype = GRAIN | SUGAR /obj/item/weapon/reagent_containers/food/snacks/soylentgreen name = "\improper Soylent Green" @@ -125,6 +134,7 @@ list_reagents = list("nutriment" = 10, "vitamin" = 1) filling_color = "#9ACD32" tastes = list("waffles" = 7, "people" = 1) + foodtype = GRAIN | GROSS | MEAT /obj/item/weapon/reagent_containers/food/snacks/soylenviridians name = "\improper Soylent Virdians" @@ -135,6 +145,7 @@ list_reagents = list("nutriment" = 10, "vitamin" = 1) filling_color = "#9ACD32" tastes = list("waffles" = 7, "the colour green" = 1) + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/snacks/rofflewaffles name = "roffle waffles" @@ -146,6 +157,7 @@ list_reagents = list("nutriment" = 8, "mushroomhallucinogen" = 2, "vitamin" = 2) filling_color = "#00BFFF" tastes = list("waffle" = 1, "mushrooms" = 1) + foodtype = GRAIN | VEGETABLES | TOXIC | SUGAR ////////////////////////////////////////////OTHER//////////////////////////////////////////// @@ -158,6 +170,7 @@ list_reagents = list("nutriment" = 1) filling_color = "#F0E68C" tastes = list("cookie" = 1) + foodtype = GRAIN | SUGAR /obj/item/weapon/reagent_containers/food/snacks/donkpocket name = "\improper Donk-pocket" @@ -167,6 +180,7 @@ cooked_type = /obj/item/weapon/reagent_containers/food/snacks/donkpocket/warm filling_color = "#CD853F" tastes = list("meat" = 2, "dough" = 2, "laziness" = 1) + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/snacks/donkpocket/warm name = "warm Donk-pocket" @@ -174,6 +188,7 @@ bonus_reagents = list("omnizine" = 3) list_reagents = list("nutriment" = 4, "omnizine" = 3) tastes = list("meat" = 2, "dough" = 2, "laziness" = 1) + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/snacks/dankpocket name = "\improper Dank-pocket" @@ -182,6 +197,7 @@ list_reagents = list("lipolicide" = 3, "space_drugs" = 3, "nutriment" = 4) filling_color = "#00FF00" tastes = list("meat" = 2, "dough" = 2) + foodtype = GRAIN | VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/fortunecookie name = "fortune cookie" @@ -191,6 +207,7 @@ list_reagents = list("nutriment" = 3) filling_color = "#F4A460" tastes = list("cookie" = 1) + foodtype = GRAIN | SUGAR /obj/item/weapon/reagent_containers/food/snacks/poppypretzel name = "poppy pretzel" @@ -200,6 +217,7 @@ list_reagents = list("nutriment" = 5) filling_color = "#F0E68C" tastes = list("pretzel" = 1) + foodtype = GRAIN | SUGAR /obj/item/weapon/reagent_containers/food/snacks/plumphelmetbiscuit name = "plump helmet biscuit" @@ -209,6 +227,7 @@ list_reagents = list("nutriment" = 5) filling_color = "#F0E68C" tastes = list("mushroom" = 1, "biscuit" = 1) + foodtype = GRAIN | VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/plumphelmetbiscuit/Initialize() var/fey = prob(10) @@ -229,6 +248,7 @@ list_reagents = list("nutriment" = 1) filling_color = "#F0E68C" tastes = list("cracker" = 1) + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/snacks/hotdog name = "hotdog" @@ -239,6 +259,7 @@ list_reagents = list("nutriment" = 6, "ketchup" = 3, "vitamin" = 3) filling_color = "#8B0000" tastes = list("bun" = 3, "meat" = 2) + foodtype = GRAIN | MEAT | VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/meatbun name = "meat bun" @@ -248,6 +269,7 @@ list_reagents = list("nutriment" = 6, "vitamin" = 2) filling_color = "#8B0000" tastes = list("bun" = 3, "meat" = 2) + foodtype = GRAIN | MEAT | VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/khachapuri name = "khachapuri" @@ -256,6 +278,7 @@ list_reagents = list("nutriment" = 12, "vitamin" = 2) filling_color = "#FFFF4D" tastes = list("bread" = 1, "egg" = 1, "cheese" = 1) + foodtype = GRAIN | MEAT | DAIRY /obj/item/weapon/reagent_containers/food/snacks/sugarcookie @@ -266,6 +289,7 @@ list_reagents = list("nutriment" = 3, "sugar" = 3) filling_color = "#CD853F" tastes = list("sweetness" = 1) + foodtype = GRAIN | JUNKFOOD | SUGAR /obj/item/weapon/reagent_containers/food/snacks/chococornet name = "chocolate cornet" @@ -275,6 +299,7 @@ list_reagents = list("nutriment" = 5, "vitamin" = 1) filling_color = "#FFE4C4" tastes = list("biscuit" = 3, "chocolate" = 1) + foodtype = GRAIN | JUNKFOOD /obj/item/weapon/reagent_containers/food/snacks/oatmealcookie name = "oatmeal cookie" @@ -284,6 +309,7 @@ list_reagents = list("nutriment" = 5, "vitamin" = 1) filling_color = "#D2691E" tastes = list("cookie" = 2, "oat" = 1) + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/snacks/raisincookie name = "raisin cookie" @@ -293,6 +319,7 @@ list_reagents = list("nutriment" = 5, "vitamin" = 1) filling_color = "#F0E68C" tastes = list("cookie" = 1, "raisins" = 1) + foodtype = GRAIN | FRUIT /obj/item/weapon/reagent_containers/food/snacks/cherrycupcake name = "cherry cupcake" @@ -302,6 +329,7 @@ list_reagents = list("nutriment" = 5, "vitamin" = 1) filling_color = "#F0E68C" tastes = list("cake" = 3, "cherry" = 1) + foodtype = GRAIN | FRUIT | SUGAR /obj/item/weapon/reagent_containers/food/snacks/bluecherrycupcake name = "blue cherry cupcake" @@ -311,6 +339,7 @@ list_reagents = list("nutriment" = 5, "vitamin" = 1) filling_color = "#F0E68C" tastes = list("cake" = 3, "blue cherry" = 1) + foodtype = GRAIN | FRUIT | SUGAR /obj/item/weapon/reagent_containers/food/snacks/honeybun name = "honey bun" @@ -320,3 +349,4 @@ list_reagents = list("nutriment" = 5, "honey" = 5) filling_color = "#F2CE91" tastes = list("pastry" = 1, "sweetness" = 1) + foodtype = GRAIN diff --git a/code/modules/food_and_drinks/food/snacks_pie.dm b/code/modules/food_and_drinks/food/snacks_pie.dm index 13f22851b1..46106ee715 100644 --- a/code/modules/food_and_drinks/food/snacks_pie.dm +++ b/code/modules/food_and_drinks/food/snacks_pie.dm @@ -7,6 +7,7 @@ volume = 80 list_reagents = list("nutriment" = 10, "vitamin" = 2) tastes = list("pie" = 1) + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/snacks/pie/plain name = "plain pie" @@ -15,6 +16,7 @@ custom_food_type = /obj/item/weapon/reagent_containers/food/snacks/customizable/pie bonus_reagents = list("nutriment" = 8, "vitamin" = 1) tastes = list("pie" = 1) + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/snacks/pie/cream name = "banana cream pie" @@ -24,6 +26,7 @@ bonus_reagents = list("nutriment" = 2, "vitamin" = 2) list_reagents = list("nutriment" = 6, "banana" = 5, "vitamin" = 2) tastes = list("pie" = 1) + foodtype = GRAIN | DAIRY | SUGAR /obj/item/weapon/reagent_containers/food/snacks/pie/cream/throw_impact(atom/hit_atom) . = ..() @@ -58,6 +61,7 @@ bonus_reagents = list("nutriment" = 1, "vitamin" = 2) list_reagents = list("nutriment" = 10, "berryjuice" = 5, "vitamin" = 2) tastes = list("pie" = 1, "blackberries" = 1) + foodtype = GRAIN | FRUIT | SUGAR /obj/item/weapon/reagent_containers/food/snacks/pie/bearypie name = "beary pie" @@ -66,6 +70,7 @@ bonus_reagents = list("nutriment" = 2, "vitamin" = 3) list_reagents = list("nutriment" = 2, "vitamin" = 3) tastes = list("pie" = 1, "meat" = 1, "salmon" = 1) + foodtype = GRAIN | SUGAR /obj/item/weapon/reagent_containers/food/snacks/pie/meatpie name = "meat-pie" @@ -73,6 +78,7 @@ desc = "An old barber recipe, very delicious!" bonus_reagents = list("nutriment" = 1, "vitamin" = 5) tastes = list("pie" = 1, "meat" = 1) + foodtype = GRAIN | MEAT /obj/item/weapon/reagent_containers/food/snacks/pie/tofupie @@ -81,6 +87,7 @@ desc = "A delicious tofu pie." bonus_reagents = list("nutriment" = 1, "vitamin" = 2) tastes = list("pie" = 1, "tofu" = 1) + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/snacks/pie/amanita_pie @@ -91,6 +98,7 @@ bonus_reagents = list("nutriment" = 1, "vitamin" = 4) list_reagents = list("nutriment" = 6, "amatoxin" = 3, "mushroomhallucinogen" = 1, "vitamin" = 4) tastes = list("pie" = 1, "mushroom" = 1) + foodtype = GRAIN | VEGETABLES | TOXIC | GROSS /obj/item/weapon/reagent_containers/food/snacks/pie/plump_pie @@ -99,6 +107,7 @@ icon_state = "plump_pie" bonus_reagents = list("nutriment" = 1, "vitamin" = 4) tastes = list("pie" = 1, "mushroom" = 1) + foodtype = GRAIN | VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/pie/plump_pie/New() @@ -119,6 +128,7 @@ trash = /obj/item/trash/plate bonus_reagents = list("nutriment" = 1, "vitamin" = 5) tastes = list("pie" = 1, "meat" = 1, "acid" = 1) + foodtype = GRAIN | MEAT /obj/item/weapon/reagent_containers/food/snacks/pie/applepie @@ -127,6 +137,7 @@ icon_state = "applepie" bonus_reagents = list("nutriment" = 1, "vitamin" = 3) tastes = list("pie" = 1, "apple" = 1) + foodtype = GRAIN | FRUIT | SUGAR @@ -136,6 +147,7 @@ icon_state = "cherrypie" bonus_reagents = list("nutriment" = 1, "vitamin" = 2) tastes = list("pie" = 7, "Nicole Paige Brooks" = 2) + foodtype = GRAIN | FRUIT | SUGAR /obj/item/weapon/reagent_containers/food/snacks/pie/pumpkinpie @@ -146,6 +158,7 @@ slices_num = 5 bonus_reagents = list("nutriment" = 1, "vitamin" = 5) tastes = list("pie" = 1, "pumpkin" = 1) + foodtype = GRAIN | VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/pumpkinpieslice name = "pumpkin pie slice" @@ -156,6 +169,7 @@ filling_color = "#FFA500" list_reagents = list("nutriment" = 2) tastes = list("pie" = 1, "pumpkin" = 1) + foodtype = GRAIN | VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/pie/appletart name = "golden apple streusel tart" @@ -164,6 +178,7 @@ bonus_reagents = list("nutriment" = 1, "vitamin" = 4) list_reagents = list("nutriment" = 8, "gold" = 5, "vitamin" = 4) tastes = list("pie" = 1, "apple" = 1, "expensive metal" = 1) + foodtype = GRAIN | FRUIT | SUGAR /obj/item/weapon/reagent_containers/food/snacks/pie/grapetart name = "grape tart" @@ -172,6 +187,7 @@ bonus_reagents = list("nutriment" = 1, "vitamin" = 4) list_reagents = list("nutriment" = 4, "vitamin" = 4) tastes = list("pie" = 1, "grape" = 1) + foodtype = GRAIN | FRUIT | SUGAR /obj/item/weapon/reagent_containers/food/snacks/pie/blumpkinpie name = "blumpkin pie" @@ -181,6 +197,7 @@ slices_num = 5 bonus_reagents = list("nutriment" = 3, "vitamin" = 6) tastes = list("pie" = 1, "a mouthful of pool water" = 1) + foodtype = GRAIN | VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/blumpkinpieslice name = "blumpkin pie slice" @@ -191,6 +208,7 @@ filling_color = "#1E90FF" list_reagents = list("nutriment" = 2) tastes = list("pie" = 1, "a mouthful of pool water" = 1) + foodtype = GRAIN | VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/pie/dulcedebatata name = "dulce de batata" @@ -200,6 +218,7 @@ slices_num = 5 bonus_reagents = list("nutriment" = 4, "vitamin" = 8) tastes = list("jelly" = 1, "sweet potato" = 1) + foodtype = GRAIN | VEGETABLES | SUGAR /obj/item/weapon/reagent_containers/food/snacks/dulcedebatataslice name = "dulce de batata slice" @@ -210,6 +229,7 @@ filling_color = "#8B4513" list_reagents = list("nutriment" = 2) tastes = list("jelly" = 1, "sweet potato" = 1) + foodtype = GRAIN | VEGETABLES | SUGAR /obj/item/weapon/reagent_containers/food/snacks/pie/frostypie name = "frosty pie" @@ -217,3 +237,4 @@ icon_state = "frostypie" bonus_reagents = list("nutriment" = 4, "vitamin" = 6) tastes = list("mint" = 1, "pie" = 1) + foodtype = GRAIN | FRUIT | SUGAR diff --git a/code/modules/food_and_drinks/food/snacks_pizza.dm b/code/modules/food_and_drinks/food/snacks_pizza.dm index ab476c1044..f171f15381 100644 --- a/code/modules/food_and_drinks/food/snacks_pizza.dm +++ b/code/modules/food_and_drinks/food/snacks_pizza.dm @@ -8,10 +8,12 @@ volume = 80 list_reagents = list("nutriment" = 30, "tomatojuice" = 6, "vitamin" = 5) tastes = list("crust" = 1, "tomato" = 1, "cheese" = 1) + foodtype = GRAIN | DAIRY | VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/pizzaslice icon = 'icons/obj/food/pizzaspaghetti.dmi' list_reagents = list("nutriment" = 5) + foodtype = GRAIN | DAIRY | VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/pizza/margherita name = "margherita" @@ -20,6 +22,7 @@ slice_path = /obj/item/weapon/reagent_containers/food/snacks/pizzaslice/margherita bonus_reagents = list("nutriment" = 5, "vitamin" = 5) tastes = list("crust" = 1, "tomato" = 1, "cheese" = 1) + foodtype = GRAIN | VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/pizzaslice/margherita name = "margherita slice" @@ -27,6 +30,7 @@ icon_state = "pizzamargheritaslice" filling_color = "#FFA500" tastes = list("crust" = 1, "tomato" = 1, "cheese" = 1) + foodtype = GRAIN | VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/pizza/meat name = "meatpizza" @@ -36,6 +40,7 @@ bonus_reagents = list("nutriment" = 5, "vitamin" = 8) list_reagents = list("nutriment" = 30, "tomatojuice" = 6, "vitamin" = 8) tastes = list("crust" = 1, "tomato" = 1, "cheese" = 1, "meat" = 1) + foodtype = GRAIN | VEGETABLES| DAIRY | MEAT /obj/item/weapon/reagent_containers/food/snacks/pizzaslice/meat name = "meatpizza slice" @@ -43,6 +48,7 @@ icon_state = "meatpizzaslice" filling_color = "#A52A2A" tastes = list("crust" = 1, "tomato" = 1, "cheese" = 1, "meat" = 1) + foodtype = GRAIN | VEGETABLES | DAIRY | MEAT /obj/item/weapon/reagent_containers/food/snacks/pizza/mushroom name = "mushroom pizza" @@ -52,6 +58,7 @@ bonus_reagents = list("nutriment" = 5, "vitamin" = 5) list_reagents = list("nutriment" = 30, "vitamin" = 5) tastes = list("crust" = 1, "tomato" = 1, "cheese" = 1, "mushroom" = 1) + foodtype = GRAIN | VEGETABLES | DAIRY /obj/item/weapon/reagent_containers/food/snacks/pizzaslice/mushroom name = "mushroom pizza slice" @@ -59,6 +66,7 @@ icon_state = "mushroompizzaslice" filling_color = "#FFE4C4" tastes = list("crust" = 1, "tomato" = 1, "cheese" = 1, "mushroom" = 1) + foodtype = GRAIN | VEGETABLES | DAIRY /obj/item/weapon/reagent_containers/food/snacks/pizza/vegetable name = "vegetable pizza" @@ -68,6 +76,7 @@ bonus_reagents = list("nutriment" = 5, "vitamin" = 5) list_reagents = list("nutriment" = 25, "tomatojuice" = 6, "oculine" = 12, "vitamin" = 5) tastes = list("crust" = 1, "tomato" = 2, "cheese" = 1, "carrot" = 1) + foodtype = GRAIN | VEGETABLES | DAIRY /obj/item/weapon/reagent_containers/food/snacks/pizzaslice/vegetable name = "vegetable pizza slice" @@ -75,6 +84,7 @@ icon_state = "vegetablepizzaslice" filling_color = "#FFA500" tastes = list("crust" = 1, "tomato" = 2, "cheese" = 1, "carrot" = 1) + foodtype = GRAIN | VEGETABLES | DAIRY /obj/item/weapon/reagent_containers/food/snacks/pizza/donkpocket name = "donkpocket pizza" @@ -84,6 +94,7 @@ bonus_reagents = list("nutriment" = 5, "vitamin" = 5) list_reagents = list("nutriment" = 25, "tomatojuice" = 6, "omnizine" = 10, "vitamin" = 5) tastes = list("crust" = 1, "tomato" = 1, "cheese" = 1, "meat" = 1, "laziness" = 1) + foodtype = GRAIN | VEGETABLES | DAIRY | MEAT | JUNKFOOD /obj/item/weapon/reagent_containers/food/snacks/pizzaslice/donkpocket name = "donkpocket pizza slice" @@ -91,6 +102,7 @@ icon_state = "donkpocketpizzaslice" filling_color = "#FFA500" tastes = list("crust" = 1, "tomato" = 1, "cheese" = 1, "meat" = 1, "laziness" = 1) + foodtype = GRAIN | VEGETABLES | DAIRY | MEAT | JUNKFOOD /obj/item/weapon/reagent_containers/food/snacks/pizza/dank name = "dank pizza" @@ -100,6 +112,7 @@ bonus_reagents = list("nutriment" = 2, "vitamin" = 6) list_reagents = list("nutriment" = 25, "doctorsdelight" = 5, "tomatojuice" = 6, "vitamin" = 5) tastes = list("crust" = 1, "tomato" = 1, "cheese" = 1, "meat" = 1) + foodtype = GRAIN | VEGETABLES | FRUIT | DAIRY /obj/item/weapon/reagent_containers/food/snacks/pizzaslice/dank name = "dank pizza slice" @@ -107,6 +120,7 @@ icon_state = "dankpizzaslice" filling_color = "#2E8B57" tastes = list("crust" = 1, "tomato" = 1, "cheese" = 1, "meat" = 1) + foodtype = GRAIN | VEGETABLES | FRUIT | DAIRY /obj/item/weapon/reagent_containers/food/snacks/pizza/sassysage name = "sassysage pizza" @@ -115,6 +129,7 @@ slice_path = /obj/item/weapon/reagent_containers/food/snacks/pizzaslice/sassysage bonus_reagents = list("nutriment" = 6, "vitamin" = 6) tastes = list("crust" = 1, "tomato" = 1, "cheese" = 1, "meat" = 1) + foodtype = GRAIN | VEGETABLES | DAIRY /obj/item/weapon/reagent_containers/food/snacks/pizzaslice/sassysage name = "sassysage pizza slice" @@ -122,8 +137,10 @@ icon_state = "sassysagepizzaslice" filling_color = "#FF4500" tastes = list("crust" = 1, "tomato" = 1, "cheese" = 1, "meat" = 1) + foodtype = GRAIN | VEGETABLES | DAIRY /obj/item/weapon/reagent_containers/food/snacks/pizzaslice/custom name = "pizza slice" icon_state = "pizzamargheritaslice" filling_color = "#FFFFFF" + foodtype = GRAIN | VEGETABLES diff --git a/code/modules/food_and_drinks/food/snacks_salad.dm b/code/modules/food_and_drinks/food/snacks_salad.dm index f167452ef0..324b69e53f 100644 --- a/code/modules/food_and_drinks/food/snacks_salad.dm +++ b/code/modules/food_and_drinks/food/snacks_salad.dm @@ -7,6 +7,7 @@ w_class = WEIGHT_CLASS_NORMAL list_reagents = list("nutriment" = 7, "vitamin" = 2) tastes = list("leaves" = 1) + foodtype = VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/salad/New() ..() @@ -19,6 +20,7 @@ bonus_reagents = list("omnizine" = 2, "vitamin" = 6) list_reagents = list("nutriment" = 8, "omnizine" = 8, "vitamin" = 6) tastes = list("leaves" = 1) + foodtype = VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/salad/herbsalad name = "herb salad" @@ -27,6 +29,7 @@ bonus_reagents = list("vitamin" = 4) list_reagents = list("nutriment" = 8, "vitamin" = 2) tastes = list("leaves" = 1, "apple" = 1) + foodtype = VEGETABLES | FRUIT /obj/item/weapon/reagent_containers/food/snacks/salad/validsalad name = "valid salad" @@ -35,6 +38,7 @@ bonus_reagents = list("doctorsdelight" = 5, "vitamin" = 4) list_reagents = list("nutriment" = 8, "doctorsdelight" = 5, "vitamin" = 2) tastes = list("leaves" = 1, "potato" = 1, "meat" = 1, "valids" = 1) + foodtype = VEGETABLES | MEAT | FRIED | JUNKFOOD | FRUIT /obj/item/weapon/reagent_containers/food/snacks/salad/oatmeal name = "oatmeal" @@ -43,6 +47,7 @@ bonus_reagents = list("nutriment" = 4, "vitamin" = 4) list_reagents = list("nutriment" = 7, "milk" = 10, "vitamin" = 2) tastes = list("oats" = 1, "milk" = 1) + foodtype = DAIRY | GRAIN /obj/item/weapon/reagent_containers/food/snacks/salad/fruit name = "fruit salad" @@ -50,6 +55,7 @@ icon_state = "fruitsalad" bonus_reagents = list("nutriment" = 2, "vitamin" = 4) tastes = list("fruit" = 1) + foodtype = FRUIT /obj/item/weapon/reagent_containers/food/snacks/salad/jungle name = "jungle salad" @@ -58,6 +64,7 @@ bonus_reagents = list("nutriment" = 4, "vitamin" = 4) list_reagents = list("nutriment" = 7, "banana" = 5, "vitamin" = 4) tastes = list("fruit" = 1, "the jungle" = 1) + foodtype = FRUIT /obj/item/weapon/reagent_containers/food/snacks/salad/citrusdelight name = "citrus delight" @@ -66,6 +73,7 @@ bonus_reagents = list("nutriment" = 4, "vitamin" = 4) list_reagents = list("nutriment" = 7, "vitamin" = 5) tastes = list("sourness" = 1, "leaves" = 1) + foodtype = FRUIT /obj/item/weapon/reagent_containers/food/snacks/salad/ricebowl name = "ricebowl" @@ -74,6 +82,7 @@ cooked_type = /obj/item/weapon/reagent_containers/food/snacks/salad/boiledrice list_reagents = list("nutriment" = 4) tastes = list("rice" = 1) + foodtype = GRAIN | RAW /obj/item/weapon/reagent_containers/food/snacks/salad/boiledrice name = "boiled rice" @@ -82,6 +91,7 @@ bonus_reagents = list("nutriment" = 1, "vitamin" = 1) list_reagents = list("nutriment" = 5, "vitamin" = 1) tastes = list("rice" = 1) + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/snacks/salad/ricepudding name = "rice pudding" @@ -89,6 +99,7 @@ icon_state = "ricepudding" bonus_reagents = list("nutriment" = 4, "vitamin" = 2) tastes = list("rice" = 1, "sweetness" = 1) + foodtype = GRAIN | DAIRY /obj/item/weapon/reagent_containers/food/snacks/salad/ricepork name = "rice and pork" @@ -96,6 +107,7 @@ icon_state = "riceporkbowl" bonus_reagents = list("nutriment" = 4, "vitamin" = 4) tastes = list("rice" = 1, "meat" = 1) + foodtype = GRAIN | MEAT /obj/item/weapon/reagent_containers/food/snacks/salad/eggbowl name = "egg bowl" @@ -103,3 +115,4 @@ icon_state = "eggbowl" bonus_reagents = list("nutriment" = 4, "vitamin" = 4) tastes = list("rice" = 1, "egg" = 1) + foodtype = GRAIN | MEAT //EGG = MEAT -NinjaNomNom 2017 diff --git a/code/modules/food_and_drinks/food/snacks_sandwichtoast.dm b/code/modules/food_and_drinks/food/snacks_sandwichtoast.dm index 9618ad2875..f1b9febf82 100644 --- a/code/modules/food_and_drinks/food/snacks_sandwichtoast.dm +++ b/code/modules/food_and_drinks/food/snacks_sandwichtoast.dm @@ -8,6 +8,7 @@ list_reagents = list("nutriment" = 6, "vitamin" = 1) cooked_type = /obj/item/weapon/reagent_containers/food/snacks/toastedsandwich tastes = list("meat" = 2, "cheese" = 1, "bread" = 2, "lettuce" = 1) + foodtype = GRAIN | VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/toastedsandwich name = "toasted sandwich" @@ -18,6 +19,7 @@ bonus_reagents = list("nutriment" = 1, "carbon" = 2) list_reagents = list("nutriment" = 6, "carbon" = 2) tastes = list("toast" = 1) + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/snacks/grilledcheese name = "grilled cheese sandwich" @@ -28,6 +30,7 @@ bonus_reagents = list("nutriment" = 1, "vitamin" = 1) list_reagents = list("nutriment" = 7, "vitamin" = 1) tastes = list("toast" = 1, "cheese" = 1) + foodtype = GRAIN | DAIRY /obj/item/weapon/reagent_containers/food/snacks/jellysandwich name = "jelly sandwich" @@ -37,14 +40,17 @@ trash = /obj/item/trash/plate bitesize = 3 tastes = list("bread" = 1, "jelly" = 1) + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/snacks/jellysandwich/slime bonus_reagents = list("slimejelly" = 5, "vitamin" = 2) list_reagents = list("nutriment" = 2, "slimejelly" = 5, "vitamin" = 2) + foodtype = GRAIN | TOXIC /obj/item/weapon/reagent_containers/food/snacks/jellysandwich/cherry bonus_reagents = list("cherryjelly" = 5, "vitamin" = 2) list_reagents = list("nutriment" = 2, "cherryjelly" = 5, "vitamin" = 2) + foodtype = GRAIN | FRUIT /obj/item/weapon/reagent_containers/food/snacks/icecreamsandwich name = "icecream sandwich" @@ -54,6 +60,7 @@ bonus_reagents = list("nutriment" = 1, "ice" = 2) list_reagents = list("nutriment" = 2, "ice" = 2) tastes = list("ice cream" = 1) + foodtype = GRAIN | DAIRY /obj/item/weapon/reagent_containers/food/snacks/notasandwich name = "not-a-sandwich" @@ -64,6 +71,7 @@ bonus_reagents = list("vitamin" = 6) list_reagents = list("nutriment" = 6, "vitamin" = 6) tastes = list("nothing suspicious" = 1) + foodtype = GRAIN | GROSS /obj/item/weapon/reagent_containers/food/snacks/jelliedtoast name = "jellied toast" @@ -73,14 +81,17 @@ trash = /obj/item/trash/plate bitesize = 3 tastes = list("toast" = 1, "jelly" = 1) + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/snacks/jelliedtoast/cherry bonus_reagents = list("cherryjelly" = 5, "vitamin" = 2) list_reagents = list("nutriment" = 1, "cherryjelly" = 5, "vitamin" = 2) + foodtype = GRAIN | FRUIT | SUGAR /obj/item/weapon/reagent_containers/food/snacks/jelliedtoast/slime bonus_reagents = list("slimejelly" = 5, "vitamin" = 2) list_reagents = list("nutriment" = 1, "slimejelly" = 5, "vitamin" = 2) + foodtype = GRAIN | TOXIC | SUGAR /obj/item/weapon/reagent_containers/food/snacks/twobread name = "two bread" @@ -90,3 +101,4 @@ bonus_reagents = list("nutriment" = 1, "vitamin" = 2) list_reagents = list("nutriment" = 2, "vitamin" = 2) tastes = list("bread" = 2) + foodtype = GRAIN diff --git a/code/modules/food_and_drinks/food/snacks_soup.dm b/code/modules/food_and_drinks/food/snacks_soup.dm index e11231fdfc..2e7e538915 100644 --- a/code/modules/food_and_drinks/food/snacks_soup.dm +++ b/code/modules/food_and_drinks/food/snacks_soup.dm @@ -6,6 +6,7 @@ volume = 80 list_reagents = list("nutriment" = 8, "water" = 5, "vitamin" = 4) tastes = list("tasteless soup" = 1) + foodtype = VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/soup/New() ..() @@ -27,6 +28,7 @@ if(wish_true) reagents.add_reagent("nutriment", 9) reagents.add_reagent("vitamin", 1) + foodtype = VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/soup/meatball name = "meatball soup" @@ -34,6 +36,7 @@ icon_state = "meatballsoup" bonus_reagents = list("nutriment" = 1, "vitamin" = 5) tastes = list("meat" = 1) + foodtype = MEAT /obj/item/weapon/reagent_containers/food/snacks/soup/slime name = "slime soup" @@ -42,6 +45,7 @@ bonus_reagents = list("nutriment" = 1, "slimejelly" = 5, "vitamin" = 5) list_reagents = list("nutriment" = 5, "slimejelly" = 5, "water" = 5, "vitamin" = 4) tastes = list("slime" = 1) + foodtype = TOXIC | SUGAR /obj/item/weapon/reagent_containers/food/snacks/soup/blood name = "tomato soup" @@ -50,6 +54,7 @@ bonus_reagents = list("nutriment" = 1, "vitamin" = 6) list_reagents = list("nutriment" = 2, "blood" = 10, "water" = 5, "vitamin" = 4) tastes = list("iron" = 1) + foodtype = GROSS /obj/item/weapon/reagent_containers/food/snacks/soup/wingfangchu name = "wing fang chu" @@ -59,6 +64,7 @@ bonus_reagents = list("nutriment" = 1, "vitamin" = 2) list_reagents = list("nutriment" = 6, "soysauce" = 5, "vitamin" = 2) tastes = list("soy" = 1) + foodtype = MEAT /obj/item/weapon/reagent_containers/food/snacks/soup/clownstears name = "clown's tears" @@ -67,6 +73,7 @@ bonus_reagents = list("nutriment" = 1, "banana" = 5, "vitamin" = 8) list_reagents = list("nutriment" = 4, "banana" = 5, "water" = 5, "vitamin" = 8) tastes = list("a bad joke" = 1) + foodtype = FRUIT | SUGAR /obj/item/weapon/reagent_containers/food/snacks/soup/vegetable name = "vegetable soup" @@ -74,6 +81,7 @@ icon_state = "vegetablesoup" bonus_reagents = list("nutriment" = 1, "vitamin" = 4) tastes = list("vegetables" = 1) + foodtype = VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/soup/nettle name = "nettle soup" @@ -81,6 +89,7 @@ icon_state = "nettlesoup" bonus_reagents = list("nutriment" = 1, "omnizine" = 5, "vitamin" = 5) tastes = list("nettles" = 1) + foodtype = VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/soup/mystery name = "mystery soup" @@ -103,6 +112,7 @@ bonus_reagents = list("nutriment" = 1, "tomatojuice" = 2, "vitamin" = 2) list_reagents = list("nutriment" = 5, "capsaicin" = 1, "tomatojuice" = 2, "vitamin" = 2) tastes = list("hot peppers" = 1) + foodtype = VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/soup/coldchili name = "cold chili" @@ -111,6 +121,7 @@ bonus_reagents = list("nutriment" = 1, "tomatojuice" = 2, "vitamin" = 2) list_reagents = list("nutriment" = 5, "frostoil" = 1, "tomatojuice" = 2, "vitamin" = 2) tastes = list("tomato" = 1, "mint" = 1) + foodtype = VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/soup/monkeysdelight name = "monkey's delight" @@ -119,6 +130,7 @@ bonus_reagents = list("nutriment" = 1, "vitamin" = 5) list_reagents = list("nutriment" = 10, "banana" = 5, "vitamin" = 5) tastes = list("the jungle" = 1, "banana" = 1) + foodtype = FRUIT /obj/item/weapon/reagent_containers/food/snacks/soup/tomato name = "tomato soup" @@ -127,6 +139,7 @@ bonus_reagents = list("nutriment" = 1, "tomatojuice" = 10, "vitamin" = 3) list_reagents = list("nutriment" = 5, "tomatojuice" = 10, "vitamin" = 3) tastes = list("tomato" = 1) + foodtype = VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/soup/tomato/eyeball name = "eyeball soup" @@ -134,6 +147,7 @@ icon_state = "eyeballsoup" bonus_reagents = list("nutriment" = 1, "liquidgibs" = 3) tastes = list("tomato" = 1, "squirming" = 1) + foodtype = MEAT | GROSS /obj/item/weapon/reagent_containers/food/snacks/soup/milo name = "milosoup" @@ -141,6 +155,7 @@ icon_state = "milosoup" bonus_reagents = list("nutriment" = 1, "vitamin" = 3) tastes = list("milo" = 1) // wtf is milo + foodtype = GROSS /obj/item/weapon/reagent_containers/food/snacks/soup/mushroom name = "chantrelle soup" @@ -149,12 +164,14 @@ bonus_reagents = list("nutriment" = 1, "vitamin" = 5) list_reagents = list("nutriment" = 8, "vitamin" = 4) tastes = list("mushroom" = 1) + foodtype = VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/soup/beet name = "beet soup" desc = "Wait, how do you spell it again..?" icon_state = "beetsoup" bonus_reagents = list("nutriment" = 1, "vitamin" = 5) + foodtype = VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/soup/beet/New() ..() @@ -170,6 +187,7 @@ bonus_reagents = list("nutriment" = 1, "vitamin" = 5) list_reagents = list("nutriment" = 6, "mushroomhallucinogen" = 6) tastes = list("jelly" = 1, "mushroom" = 1) + foodtype = VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/soup/amanitajelly name = "amanita jelly" @@ -179,6 +197,7 @@ bonus_reagents = list("nutriment" = 1, "vitamin" = 5) list_reagents = list("nutriment" = 6, "mushroomhallucinogen" = 3, "amatoxin" = 6) tastes = list("jelly" = 1, "mushroom" = 1) + foodtype = VEGETABLES | TOXIC /obj/item/weapon/reagent_containers/food/snacks/soup/stew name = "stew" @@ -189,6 +208,7 @@ bitesize = 7 volume = 100 tastes = list("tomato" = 1, "carrot" = 1) + foodtype = VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/soup/sweetpotato name = "sweet potato soup" @@ -196,6 +216,7 @@ icon_state = "sweetpotatosoup" bonus_reagents = list("nutriment" = 4, "vitamin" = 5) tastes = list("sweet potato" = 1) + foodtype = VEGETABLES | SUGAR /obj/item/weapon/reagent_containers/food/snacks/soup/beet/red name = "red beet soup" @@ -203,3 +224,4 @@ icon_state = "redbeetsoup" bonus_reagents = list("nutriment" = 4, "vitamin" = 6) tastes = list("beet" = 1) + foodtype = VEGETABLES diff --git a/code/modules/food_and_drinks/food/snacks_spaghetti.dm b/code/modules/food_and_drinks/food/snacks_spaghetti.dm index 8cd4665918..e137d9702c 100644 --- a/code/modules/food_and_drinks/food/snacks_spaghetti.dm +++ b/code/modules/food_and_drinks/food/snacks_spaghetti.dm @@ -8,6 +8,7 @@ cooked_type = /obj/item/weapon/reagent_containers/food/snacks/boiledspaghetti filling_color = "#F0E68C" tastes = list("pasta" = 1) + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/snacks/boiledspaghetti name = "boiled spaghetti" @@ -20,6 +21,7 @@ custom_food_type = /obj/item/weapon/reagent_containers/food/snacks/customizable/pasta filling_color = "#F0E68C" tastes = list("pasta" = 1) + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/snacks/pastatomato name = "spaghetti" @@ -32,6 +34,7 @@ list_reagents = list("nutriment" = 6, "tomatojuice" = 10, "vitamin" = 4) filling_color = "#DC143C" tastes = list("pasta" = 1, "tomato" = 1) + foodtype = GRAIN | VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/copypasta name = "copypasta" @@ -44,6 +47,7 @@ list_reagents = list("nutriment" = 12, "tomatojuice" = 20, "vitamin" = 8) filling_color = "#DC143C" tastes = list("pasta" = 1, "tomato" = 1) + foodtype = GRAIN | VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/meatballspaghetti name = "spaghetti and meatballs" @@ -55,6 +59,7 @@ list_reagents = list("nutriment" = 8, "vitamin" = 4) filling_color = "#F0E68C" tastes = list("pasta" = 1, "tomato" = 1, "meat" = 1) + foodtype = GRAIN | MEAT /obj/item/weapon/reagent_containers/food/snacks/spesslaw name = "spesslaw" @@ -66,6 +71,7 @@ list_reagents = list("nutriment" = 8, "vitamin" = 6) filling_color = "#F0E68C" tastes = list("pasta" = 1, "tomato" = 1, "meat" = 1) + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/snacks/chowmein name = "chow mein" @@ -76,6 +82,7 @@ bonus_reagents = list("nutriment" = 3, "vitamin" = 4) list_reagents = list("nutriment" = 7, "vitamin" = 6) tastes = list("noodle" = 1, "tomato" = 1) + foodtype = GRAIN /obj/item/weapon/reagent_containers/food/snacks/beefnoodle name = "beef noodle" @@ -85,6 +92,7 @@ trash = /obj/item/weapon/reagent_containers/glass/bowl bonus_reagents = list("nutriment" = 5, "vitamin" = 6, "liquidgibs" = 3) tastes = list("noodle" = 1, "meat" = 1) + foodtype = GRAIN | MEAT /obj/item/weapon/reagent_containers/food/snacks/butternoodles name = "butter noodles" @@ -94,3 +102,4 @@ trash = /obj/item/trash/plate bonus_reagents = list("nutriment" = 8, "vitamin" = 1) tastes = list("noodle" = 1, "butter" = 1) + foodtype = GRAIN | DAIRY diff --git a/code/modules/food_and_drinks/food/snacks_vend.dm b/code/modules/food_and_drinks/food/snacks_vend.dm index 200659ac0e..8485e879f9 100644 --- a/code/modules/food_and_drinks/food/snacks_vend.dm +++ b/code/modules/food_and_drinks/food/snacks_vend.dm @@ -11,6 +11,7 @@ junkiness = 25 filling_color = "#D2691E" tastes = list("candy" = 1) + foodtype = JUNKFOOD | SUGAR /obj/item/weapon/reagent_containers/food/snacks/sosjerky name = "\improper Scaredy's Private Reserve Beef Jerky" @@ -21,6 +22,7 @@ junkiness = 25 filling_color = "#8B0000" tastes = list("dried meat" = 1) + foodtype = JUNKFOOD | MEAT | SUGAR /obj/item/weapon/reagent_containers/food/snacks/sosjerky/healthy name = "homemade beef jerky" @@ -38,6 +40,7 @@ junkiness = 20 filling_color = "#FFD700" tastes = list("salt" = 1, "crisps" = 1) + foodtype = JUNKFOOD | FRIED /obj/item/weapon/reagent_containers/food/snacks/no_raisin name = "4no raisins" @@ -48,12 +51,14 @@ junkiness = 25 filling_color = "#8B0000" tastes = list("dried raisins" = 1) + foodtype = JUNKFOOD | FRUIT | SUGAR /obj/item/weapon/reagent_containers/food/snacks/no_raisin/healthy name = "homemade raisins" desc = "homemade raisins, the best in all of spess." list_reagents = list("nutriment" = 3, "vitamin" = 2) junkiness = 0 + foodtype = FRUIT /obj/item/weapon/reagent_containers/food/snacks/spacetwinkie name = "space twinkie" @@ -62,6 +67,7 @@ list_reagents = list("sugar" = 4) junkiness = 25 filling_color = "#FFD700" + foodtype = JUNKFOOD | GRAIN | SUGAR /obj/item/weapon/reagent_containers/food/snacks/cheesiehonkers name = "cheesie honkers" @@ -72,6 +78,7 @@ junkiness = 25 filling_color = "#FFD700" tastes = list("cheese" = 5, "crisps" = 2) + foodtype = JUNKFOOD | DAIRY | SUGAR /obj/item/weapon/reagent_containers/food/snacks/syndicake name = "syndi-cakes" @@ -81,3 +88,4 @@ list_reagents = list("nutriment" = 4, "doctorsdelight" = 5) filling_color = "#F5F5DC" tastes = list("sweetness" = 3, "cake" = 1) + foodtype = GRAIN | FRUIT | VEGETABLES diff --git a/code/modules/food_and_drinks/kitchen_machinery/deep_fryer.dm b/code/modules/food_and_drinks/kitchen_machinery/deep_fryer.dm index a7896dd266..e2f38141f3 100644 --- a/code/modules/food_and_drinks/kitchen_machinery/deep_fryer.dm +++ b/code/modules/food_and_drinks/kitchen_machinery/deep_fryer.dm @@ -106,6 +106,7 @@ insert ascii eagle on american flag background here S.name = "the physical manifestation of the very concept of fried foods" S.desc = "A heavily fried...something. Who can tell anymore?" S.filling_color = S.color + S.foodtype |= FRIED if(istype(frying, /obj/item/weapon/reagent_containers/food/snacks/)) qdel(frying) else diff --git a/code/modules/food_and_drinks/kitchen_machinery/icecream_vat.dm b/code/modules/food_and_drinks/kitchen_machinery/icecream_vat.dm index ff8f9d01a1..fc1666bbc4 100644 --- a/code/modules/food_and_drinks/kitchen_machinery/icecream_vat.dm +++ b/code/modules/food_and_drinks/kitchen_machinery/icecream_vat.dm @@ -180,6 +180,7 @@ var/ice_creamed = 0 var/cone_type bitesize = 3 + foodtype = DAIRY /obj/item/weapon/reagent_containers/food/snacks/icecream/Initialize() . = ..() diff --git a/code/modules/food_and_drinks/recipes/tablecraft/recipes_burger.dm b/code/modules/food_and_drinks/recipes/tablecraft/recipes_burger.dm index 4a150faad7..313199c053 100644 --- a/code/modules/food_and_drinks/recipes/tablecraft/recipes_burger.dm +++ b/code/modules/food_and_drinks/recipes/tablecraft/recipes_burger.dm @@ -248,7 +248,7 @@ /datum/crafting_recipe/food/ratburger name = "Rat burger" reqs = list( - /obj/item/trash/deadmouse = 1, + /obj/item/weapon/reagent_containers/food/snacks/deadmouse = 1, /obj/item/weapon/reagent_containers/food/snacks/bun = 1 ) result = /obj/item/weapon/reagent_containers/food/snacks/burger/rat diff --git a/code/modules/hydroponics/grown/ambrosia.dm b/code/modules/hydroponics/grown/ambrosia.dm index 51b8f3c43e..702302dadf 100644 --- a/code/modules/hydroponics/grown/ambrosia.dm +++ b/code/modules/hydroponics/grown/ambrosia.dm @@ -7,6 +7,7 @@ slot_flags = SLOT_HEAD filling_color = "#008000" bitesize_mod = 2 + foodtype = VEGETABLES // Ambrosia Vulgaris /obj/item/seeds/ambrosia diff --git a/code/modules/hydroponics/grown/apple.dm b/code/modules/hydroponics/grown/apple.dm index 4d4712e093..f5b4e7ab76 100644 --- a/code/modules/hydroponics/grown/apple.dm +++ b/code/modules/hydroponics/grown/apple.dm @@ -23,6 +23,7 @@ icon_state = "apple" filling_color = "#FF4500" bitesize = 100 // Always eat the apple in one bite + foodtype = FRUIT // Posioned Apple /obj/item/seeds/apple/poisoned @@ -33,6 +34,7 @@ /obj/item/weapon/reagent_containers/food/snacks/grown/apple/poisoned seed = /obj/item/seeds/apple/poisoned + foodtype = FRUIT | TOXIC // Gold Apple /obj/item/seeds/apple/gold diff --git a/code/modules/hydroponics/grown/banana.dm b/code/modules/hydroponics/grown/banana.dm index 91b096bc38..e2dce252e7 100644 --- a/code/modules/hydroponics/grown/banana.dm +++ b/code/modules/hydroponics/grown/banana.dm @@ -23,6 +23,7 @@ trash = /obj/item/weapon/grown/bananapeel filling_color = "#FFFF00" bitesize = 5 + foodtype = FRUIT /obj/item/weapon/reagent_containers/food/snacks/grown/banana/suicide_act(mob/user) user.visible_message("[user] is aiming [src] at [user.p_them()]self! It looks like [user.p_theyre()] trying to commit suicide!") diff --git a/code/modules/hydroponics/grown/beans.dm b/code/modules/hydroponics/grown/beans.dm index 277dfd0629..756c23ff14 100644 --- a/code/modules/hydroponics/grown/beans.dm +++ b/code/modules/hydroponics/grown/beans.dm @@ -25,6 +25,7 @@ icon_state = "soybeans" filling_color = "#F0E68C" bitesize_mod = 2 + foodtype = VEGETABLES // Koibean /obj/item/seeds/soya/koi @@ -45,4 +46,5 @@ desc = "Something about these seems fishy." icon_state = "koibeans" filling_color = "#F0E68C" - bitesize_mod = 2 \ No newline at end of file + bitesize_mod = 2 + foodtype = VEGETABLES diff --git a/code/modules/hydroponics/grown/berries.dm b/code/modules/hydroponics/grown/berries.dm index 6ab8a98ac6..b12685557e 100644 --- a/code/modules/hydroponics/grown/berries.dm +++ b/code/modules/hydroponics/grown/berries.dm @@ -25,6 +25,7 @@ gender = PLURAL filling_color = "#FF00FF" bitesize_mod = 2 + foodtype = FRUIT // Poison Berries /obj/item/seeds/berry/poison @@ -44,6 +45,7 @@ desc = "Taste so good, you could die!" icon_state = "poisonberrypile" filling_color = "#C71585" + foodtype = FRUIT | TOXIC // Death Berries /obj/item/seeds/berry/death @@ -65,6 +67,7 @@ desc = "Taste so good, you could die!" icon_state = "deathberrypile" filling_color = "#708090" + foodtype = FRUIT | TOXIC // Glow Berries /obj/item/seeds/berry/glow @@ -88,6 +91,7 @@ icon_state = "glowberrypile" filling_color = "#7CFC00" origin_tech = "plasmatech=6" + foodtype = FRUIT // Cherries /obj/item/seeds/cherry @@ -117,6 +121,7 @@ gender = PLURAL filling_color = "#FF0000" bitesize_mod = 2 + foodtype = FRUIT // Blue Cherries /obj/item/seeds/cherry/blue @@ -137,6 +142,7 @@ icon_state = "bluecherry" filling_color = "#6495ED" bitesize_mod = 2 + foodtype = FRUIT // Grapes /obj/item/seeds/grape @@ -167,6 +173,7 @@ dried_type = /obj/item/weapon/reagent_containers/food/snacks/no_raisin/healthy filling_color = "#FF1493" bitesize_mod = 2 + foodtype = FRUIT // Green Grapes /obj/item/seeds/grape/green diff --git a/code/modules/hydroponics/grown/cannabis.dm b/code/modules/hydroponics/grown/cannabis.dm index 2788e0ba13..0afb4d4d9c 100644 --- a/code/modules/hydroponics/grown/cannabis.dm +++ b/code/modules/hydroponics/grown/cannabis.dm @@ -90,6 +90,7 @@ icon_state = "cannabis" filling_color = "#00FF00" bitesize_mod = 2 + foodtype = VEGETABLES //i dont really know what else weed could be to be honest /obj/item/weapon/reagent_containers/food/snacks/grown/cannabis/rainbow diff --git a/code/modules/hydroponics/grown/cereals.dm b/code/modules/hydroponics/grown/cereals.dm index 66c5a17a84..0a6e0d255d 100644 --- a/code/modules/hydroponics/grown/cereals.dm +++ b/code/modules/hydroponics/grown/cereals.dm @@ -21,6 +21,7 @@ icon_state = "wheat" filling_color = "#F0E68C" bitesize_mod = 2 + foodtype = GRAIN // Oat /obj/item/seeds/wheat/oat @@ -40,6 +41,7 @@ icon_state = "oat" filling_color = "#556B2F" bitesize_mod = 2 + foodtype = GRAIN // Rice /obj/item/seeds/wheat/rice @@ -60,6 +62,7 @@ icon_state = "rice" filling_color = "#FAFAD2" bitesize_mod = 2 + foodtype = GRAIN //Meatwheat - grows into synthetic meat /obj/item/seeds/wheat/meat @@ -79,6 +82,7 @@ filling_color = rgb(150, 0, 0) bitesize_mod = 2 seed = /obj/item/seeds/wheat/meat + foodtype = MEAT | GRAIN /obj/item/weapon/reagent_containers/food/snacks/grown/meatwheat/attack_self(mob/living/user) user.visible_message("[user] crushes [src] into meat.", "You crush [src] into something that resembles meat.") diff --git a/code/modules/hydroponics/grown/chili.dm b/code/modules/hydroponics/grown/chili.dm index 66bd823a89..9fa27e6476 100644 --- a/code/modules/hydroponics/grown/chili.dm +++ b/code/modules/hydroponics/grown/chili.dm @@ -25,6 +25,7 @@ icon_state = "chilipepper" filling_color = "#FF0000" bitesize_mod = 2 + foodtype = VEGETABLES // Ice Chili /obj/item/seeds/chili/ice @@ -49,6 +50,7 @@ filling_color = "#0000CD" bitesize_mod = 2 origin_tech = "biotech=4" + foodtype = VEGETABLES // Ghost Chili /obj/item/seeds/chili/ghost @@ -75,6 +77,7 @@ filling_color = "#F8F8FF" bitesize_mod = 4 origin_tech = "biotech=4;magnets=5" + foodtype = VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/grown/ghost_chili/attack_hand(mob/user) ..() diff --git a/code/modules/hydroponics/grown/citrus.dm b/code/modules/hydroponics/grown/citrus.dm index 133d0d71f4..a6e7ef9211 100644 --- a/code/modules/hydroponics/grown/citrus.dm +++ b/code/modules/hydroponics/grown/citrus.dm @@ -5,6 +5,7 @@ desc = "It's so sour, your face will twist." icon_state = "lime" bitesize_mod = 2 + foodtype = FRUIT // Lime /obj/item/seeds/lime @@ -104,6 +105,7 @@ desc = "Made for burning houses down." icon_state = "firelemon" bitesize_mod = 2 + foodtype = FRUIT /obj/item/weapon/reagent_containers/food/snacks/grown/firelemon/attack_self(mob/living/user) var/area/A = get_area(user) diff --git a/code/modules/hydroponics/grown/cocoa_vanilla.dm b/code/modules/hydroponics/grown/cocoa_vanilla.dm index 6e04bdaf97..35fb9b1eaf 100644 --- a/code/modules/hydroponics/grown/cocoa_vanilla.dm +++ b/code/modules/hydroponics/grown/cocoa_vanilla.dm @@ -25,6 +25,7 @@ icon_state = "cocoapod" filling_color = "#FFD700" bitesize_mod = 2 + foodtype = VEGETABLES // Vanilla Pod /obj/item/seeds/cocoapod/vanillapod @@ -43,4 +44,5 @@ name = "vanilla pod" desc = "Fattening... Mmmmm... vanilla." icon_state = "vanillapod" - filling_color = "#FFD700" \ No newline at end of file + filling_color = "#FFD700" + foodtype = VEGETABLES diff --git a/code/modules/hydroponics/grown/corn.dm b/code/modules/hydroponics/grown/corn.dm index 59e7a0c008..9c0a12bc4b 100644 --- a/code/modules/hydroponics/grown/corn.dm +++ b/code/modules/hydroponics/grown/corn.dm @@ -24,6 +24,7 @@ filling_color = "#FFFF00" trash = /obj/item/weapon/grown/corncob bitesize_mod = 2 + foodtype = VEGETABLES /obj/item/weapon/grown/corncob name = "corn cob" @@ -79,4 +80,4 @@ snap_pops -= 1 if(!snap_pops) new /obj/item/weapon/grown/corncob(user.loc) - qdel(src) \ No newline at end of file + qdel(src) diff --git a/code/modules/hydroponics/grown/eggplant.dm b/code/modules/hydroponics/grown/eggplant.dm index 8ec46ff77d..1cad3917f2 100644 --- a/code/modules/hydroponics/grown/eggplant.dm +++ b/code/modules/hydroponics/grown/eggplant.dm @@ -22,6 +22,7 @@ icon_state = "eggplant" filling_color = "#800080" bitesize_mod = 2 + foodtype = FRUIT // Egg-Plant /obj/item/seeds/eggplant/eggy @@ -41,4 +42,5 @@ icon_state = "eggyplant" trash = /obj/item/weapon/reagent_containers/food/snacks/egg filling_color = "#F8F8FF" - bitesize_mod = 2 \ No newline at end of file + bitesize_mod = 2 + foodtype = MEAT diff --git a/code/modules/hydroponics/grown/flowers.dm b/code/modules/hydroponics/grown/flowers.dm index 881e47238e..9d1e3037ad 100644 --- a/code/modules/hydroponics/grown/flowers.dm +++ b/code/modules/hydroponics/grown/flowers.dm @@ -25,6 +25,7 @@ slot_flags = SLOT_HEAD filling_color = "#FF6347" bitesize_mod = 3 + foodtype = VEGETABLES | GROSS // Lily /obj/item/seeds/poppy/lily diff --git a/code/modules/hydroponics/grown/kudzu.dm b/code/modules/hydroponics/grown/kudzu.dm index 45269743a5..ad32be14d5 100644 --- a/code/modules/hydroponics/grown/kudzu.dm +++ b/code/modules/hydroponics/grown/kudzu.dm @@ -99,4 +99,5 @@ desc = "Pueraria Virallis: An invasive species with vines that rapidly creep and wrap around whatever they contact." icon_state = "kudzupod" filling_color = "#6B8E23" - bitesize_mod = 2 \ No newline at end of file + bitesize_mod = 2 + foodtype = VEGETABLES | GROSS diff --git a/code/modules/hydroponics/grown/melon.dm b/code/modules/hydroponics/grown/melon.dm index 4c6fa15b04..3cbbe49451 100644 --- a/code/modules/hydroponics/grown/melon.dm +++ b/code/modules/hydroponics/grown/melon.dm @@ -25,6 +25,7 @@ w_class = WEIGHT_CLASS_NORMAL filling_color = "#008000" bitesize_mod = 3 + foodtype = FRUIT // Holymelon /obj/item/seeds/watermelon/holy diff --git a/code/modules/hydroponics/grown/misc.dm b/code/modules/hydroponics/grown/misc.dm index f96f7d821b..54b53c9a95 100644 --- a/code/modules/hydroponics/grown/misc.dm +++ b/code/modules/hydroponics/grown/misc.dm @@ -54,6 +54,7 @@ icon_state = "cabbage" filling_color = "#90EE90" bitesize_mod = 2 + foodtype = VEGETABLES // Sugarcane @@ -79,6 +80,7 @@ icon_state = "sugarcane" filling_color = "#FFD700" bitesize_mod = 2 + foodtype = VEGETABLES | SUGAR // Gatfruit @@ -109,6 +111,7 @@ origin_tech = "combat=6" trash = /obj/item/weapon/gun/ballistic/revolver bitesize_mod = 2 + foodtype = FRUIT //Cherry Bombs /obj/item/seeds/cherry/bomb @@ -164,4 +167,4 @@ plantname = "Fruiting Cactus" product = /obj/item/weapon/reagent_containers/food/snacks/grown/ash_flora/cactus_fruit growing_icon = 'icons/obj/hydroponics/growing_fruits.dmi' - growthstages = 2 \ No newline at end of file + growthstages = 2 diff --git a/code/modules/hydroponics/grown/mushrooms.dm b/code/modules/hydroponics/grown/mushrooms.dm index 18f6353ba2..088a9aa144 100644 --- a/code/modules/hydroponics/grown/mushrooms.dm +++ b/code/modules/hydroponics/grown/mushrooms.dm @@ -1,6 +1,7 @@ /obj/item/weapon/reagent_containers/food/snacks/grown/mushroom name = "mushroom" bitesize_mod = 2 + foodtype = VEGETABLES // Reishi @@ -22,6 +23,9 @@ growing_icon = 'icons/obj/hydroponics/growing_mushrooms.dmi' reagents_add = list("morphine" = 0.35, "charcoal" = 0.35, "nutriment" = 0) + + + /obj/item/weapon/reagent_containers/food/snacks/grown/mushroom/reishi seed = /obj/item/seeds/reishi name = "reishi" @@ -29,7 +33,6 @@ icon_state = "reishi" filling_color = "#FF4500" - // Fly Amanita /obj/item/seeds/amanita name = "pack of fly amanita mycelium" diff --git a/code/modules/hydroponics/grown/potato.dm b/code/modules/hydroponics/grown/potato.dm index 12d8e46ccd..95cadfe979 100644 --- a/code/modules/hydroponics/grown/potato.dm +++ b/code/modules/hydroponics/grown/potato.dm @@ -25,6 +25,7 @@ icon_state = "potato" filling_color = "#E9967A" bitesize = 100 + foodtype = VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/grown/potato/wedges @@ -61,4 +62,4 @@ seed = /obj/item/seeds/potato/sweet name = "sweet potato" desc = "It's sweet." - icon_state = "sweetpotato" \ No newline at end of file + icon_state = "sweetpotato" diff --git a/code/modules/hydroponics/grown/pumpkin.dm b/code/modules/hydroponics/grown/pumpkin.dm index 1354edbcaa..4e7bc179d3 100644 --- a/code/modules/hydroponics/grown/pumpkin.dm +++ b/code/modules/hydroponics/grown/pumpkin.dm @@ -23,6 +23,7 @@ icon_state = "pumpkin" filling_color = "#FFA500" bitesize_mod = 2 + foodtype = VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/grown/pumpkin/attackby(obj/item/weapon/W as obj, mob/user as mob, params) if(W.is_sharp()) @@ -52,3 +53,4 @@ icon_state = "blumpkin" filling_color = "#87CEFA" bitesize_mod = 2 + foodtype = VEGETABLES \ No newline at end of file diff --git a/code/modules/hydroponics/grown/root.dm b/code/modules/hydroponics/grown/root.dm index 7794148f0e..7a4547bd1d 100644 --- a/code/modules/hydroponics/grown/root.dm +++ b/code/modules/hydroponics/grown/root.dm @@ -21,6 +21,7 @@ icon_state = "carrot" filling_color = "#FFA500" bitesize_mod = 2 + foodtype = VEGETABLES /obj/item/weapon/reagent_containers/food/snacks/grown/carrot/attackby(obj/item/I, mob/user, params) if(I.is_sharp()) @@ -50,6 +51,7 @@ desc = "Closely related to carrots." icon_state = "parsnip" bitesize_mod = 2 + foodtype = VEGETABLES // White-Beet @@ -75,6 +77,7 @@ icon_state = "whitebeet" filling_color = "#F4A460" bitesize_mod = 2 + foodtype = VEGETABLES // Red Beet /obj/item/seeds/redbeet @@ -98,3 +101,4 @@ desc = "You can't beat red beet." icon_state = "redbeet" bitesize_mod = 2 + foodtype = VEGETABLES diff --git a/code/modules/hydroponics/grown/tomato.dm b/code/modules/hydroponics/grown/tomato.dm index 4a8faa6829..24780216a2 100644 --- a/code/modules/hydroponics/grown/tomato.dm +++ b/code/modules/hydroponics/grown/tomato.dm @@ -22,6 +22,7 @@ splat_type = /obj/effect/decal/cleanable/tomato_smudge filling_color = "#FF6347" bitesize_mod = 2 + foodtype = VEGETABLES // Blood Tomato /obj/item/seeds/tomato/blood @@ -43,7 +44,7 @@ splat_type = /obj/effect/gibspawner/generic filling_color = "#FF0000" origin_tech = "biotech=5" - + foodtype = VEGETABLES | GROSS // Blue Tomato /obj/item/seeds/tomato/blue diff --git a/code/modules/mob/living/carbon/carbon_defines.dm b/code/modules/mob/living/carbon/carbon_defines.dm index fec1422ff1..a6055c7d70 100644 --- a/code/modules/mob/living/carbon/carbon_defines.dm +++ b/code/modules/mob/living/carbon/carbon_defines.dm @@ -11,6 +11,8 @@ var/obj/item/handcuffed = null //Whether or not the mob is handcuffed var/obj/item/legcuffed = null //Same as handcuffs but for legs. Bear traps use this. + var/disgust = 0 + //inventory slots var/obj/item/back = null var/obj/item/clothing/mask/wear_mask = null @@ -47,4 +49,4 @@ var/list/hand_bodyparts = list() //a collection of arms (or actually whatever the fug /bodyparts you monsters use to wreck my systems) var/icon_render_key = "" - var/static/list/limb_icon_cache = list() \ No newline at end of file + var/static/list/limb_icon_cache = list() diff --git a/code/modules/mob/living/carbon/human/examine.dm b/code/modules/mob/living/carbon/human/examine.dm index c2bec849e2..31867cd608 100644 --- a/code/modules/mob/living/carbon/human/examine.dm +++ b/code/modules/mob/living/carbon/human/examine.dm @@ -224,6 +224,13 @@ msg += "[t_He] [t_is] plump and delicious looking - Like a fat little piggy. A tasty piggy.\n" else msg += "[t_He] [t_is] quite chubby.\n" + switch(disgust) + if(0 to DISGUST_LEVEL_GROSS) + msg += "[t_He] looks a bit grossed out.\n" + if(DISGUST_LEVEL_GROSS to DISGUST_LEVEL_VERYGROSS) + msg += "[t_He] looks really grossed out.\n" + if(DISGUST_LEVEL_VERYGROSS to DISGUST_LEVEL_DISGUSTED) + msg += "[t_He] looks disgusted.\n" if(blood_volume < BLOOD_VOLUME_SAFE) msg += "[t_He] [t_has] pale skin.\n" diff --git a/code/modules/mob/living/carbon/human/species.dm b/code/modules/mob/living/carbon/human/species.dm index 6f01593933..847f904017 100644 --- a/code/modules/mob/living/carbon/human/species.dm +++ b/code/modules/mob/living/carbon/human/species.dm @@ -10,9 +10,9 @@ /datum/species - var/id = null // if the game needs to manually check your race to do something not included in a proc here, it will use this - var/limbs_id = null //this is used if you want to use a different species limb sprites. Mainly used for angels as they look like humans. - var/name = null // this is the fluff name. these will be left generic (such as 'Lizardperson' for the lizard race) so servers can change them to whatever + var/id // if the game needs to manually check your race to do something not included in a proc here, it will use this + var/limbs_id //this is used if you want to use a different species limb sprites. Mainly used for angels as they look like humans. + var/name // this is the fluff name. these will be left generic (such as 'Lizardperson' for the lizard race) so servers can change them to whatever var/roundstart = 0 // can this mob be chosen at roundstart? (assuming the config option is checked?) var/default_color = "#FFF" // if alien colors are disabled, this is the color that will be used by that race @@ -21,17 +21,21 @@ var/face_y_offset = 0 var/hair_y_offset = 0 - var/hair_color = null // this allows races to have specific hair colors... if null, it uses the H's hair/facial hair colors. if "mutcolor", it uses the H's mutant_color + var/hair_color // this allows races to have specific hair colors... if null, it uses the H's hair/facial hair colors. if "mutcolor", it uses the H's mutant_color var/hair_alpha = 255 // the alpha used by the hair. 255 is completely solid, 0 is transparent. + var/use_skintones = 0 // does it use skintones or not? (spoiler alert this is only used by humans) var/exotic_blood = "" // If your race wants to bleed something other than bog standard blood, change this to reagent id. var/exotic_bloodtype = "" //If your race uses a non standard bloodtype (A+, O-, AB-, etc) var/meat = /obj/item/weapon/reagent_containers/food/snacks/meat/slab/human //What the species drops on gibbing - var/skinned_type = null + var/skinned_type + var/liked_food = NONE + var/disliked_food = GROSS + var/toxic_food = TOXIC var/list/no_equip = list() // slots the race can't equip stuff to var/nojumpsuit = 0 // this is sorta... weird. it basically lets you equip stuff that usually needs jumpsuits without one, like belts and pockets and ids var/blacklisted = 0 //Flag to exclude from green slime core species. - var/dangerous_existence = null //A flag for transformation spells that tells them "hey if you turn a person into one of these without preperation, they'll probably die!" + var/dangerous_existence //A flag for transformation spells that tells them "hey if you turn a person into one of these without preperation, they'll probably die!" var/say_mod = "says" // affects the speech message var/list/default_features = list() // Default mutant bodyparts for this species. Don't forget to set one for every mutant bodypart you allow this species to have. var/list/mutant_bodyparts = list() // Parts of the body that are diferent enough from the standard human model that they cause clipping with some equipment @@ -67,23 +71,21 @@ var/obj/item/organ/eyes/mutanteyes = /obj/item/organ/eyes var/obj/item/organ/ears/mutantears = /obj/item/organ/ears + var/obj/item/mutanthands var/obj/item/organ/tongue/mutanttongue = /obj/item/organ/tongue - + var/obj/item/organ/liver/mutantliver var/obj/item/organ/stomach/mutantstomach - //Hands - var/obj/item/mutanthands = null - //Citadel snowflake var/fixed_mut_color2 = "" var/fixed_mut_color3 = "" var/whitelisted = 0 //Is this species restricted to certain players? var/whitelist = list() //List the ckeys that can use this species, if it's whitelisted.: list("John Doe", "poopface666", "SeeALiggerPullTheTrigger") Spaces & capitalization can be included or ignored entirely for each key as it checks for both. - /////////// - // PROCS // - /////////// +/////////// +// PROCS // +/////////// /datum/species/New() @@ -411,6 +413,7 @@ standing += wear_female_version(undershirt.icon_state, undershirt.icon, BODY_LAYER) else standing += mutable_appearance(undershirt.icon, undershirt.icon_state, -BODY_LAYER) + if(H.socks && H.get_num_legs() >= 2 && !(DIGITIGRADE in species_traits)) var/datum/sprite_accessory/socks/socks = GLOB.socks_list[H.socks] if(socks) @@ -1321,7 +1324,6 @@ target.apply_effect(40, KNOCKDOWN, target.run_armor_check(affecting, "melee", "Your armor prevents your fall!", "Your armor softens your fall!")) target.forcesay(GLOB.hit_appends) add_logs(user, target, "disarmed", " pushing them to the ground") - return if(randn <= 60) @@ -1329,7 +1331,6 @@ if(target.pulling) to_chat(target, "[user] has broken [target]'s grip on [target.pulling]!") target.stop_pulling() - else I = target.get_active_held_item() if(target.drop_item()) @@ -1587,6 +1588,7 @@ else H.throw_alert("temp", /obj/screen/alert/cold, 3) H.apply_damage(COLD_DAMAGE_LEVEL_3*coldmod, BURN) + else H.clear_alert("temp") @@ -1695,9 +1697,9 @@ return -//////// +//////////// //Stun// -//////// +//////////// /datum/species/proc/spec_stun(mob/living/carbon/human/H,amount) . = stunmod * amount diff --git a/code/modules/mob/living/carbon/human/species_types/flypeople.dm b/code/modules/mob/living/carbon/human/species_types/flypeople.dm index 804f9bf3a2..07a6ddee47 100644 --- a/code/modules/mob/living/carbon/human/species_types/flypeople.dm +++ b/code/modules/mob/living/carbon/human/species_types/flypeople.dm @@ -6,6 +6,8 @@ mutantliver = /obj/item/organ/liver/fly mutantstomach = /obj/item/organ/stomach/fly meat = /obj/item/weapon/reagent_containers/food/snacks/meat/slab/human/mutant/fly + disliked_food = null + liked_food = GROSS /datum/species/fly/handle_chemicals(datum/reagent/chem, mob/living/carbon/human/H) if(chem.id == "pestkiller") diff --git a/code/modules/mob/living/carbon/human/species_types/humans.dm b/code/modules/mob/living/carbon/human/species_types/humans.dm index d7ff8df172..70df503ff4 100644 --- a/code/modules/mob/living/carbon/human/species_types/humans.dm +++ b/code/modules/mob/living/carbon/human/species_types/humans.dm @@ -1,25 +1,27 @@ -/datum/species/human - name = "Human" - id = "human" - default_color = "FFFFFF" - species_traits = list(MUTCOLORS_PARTSONLY,EYECOLOR,HAIR,FACEHAIR,LIPS) - mutant_bodyparts = list("tail_human", "ears", "taur") - default_features = list("tail_human" = "None", "ears" = "None", "taur" = "none") - use_skintones = 1 - skinned_type = /obj/item/stack/sheet/animalhide/human - - -/datum/species/human/qualifies_for_rank(rank, list/features) - return TRUE - -//Curiosity killed the cat's wagging tail. -/datum/species/human/spec_death(gibbed, mob/living/carbon/human/H) - if(H) - H.endTailWag() - -/datum/species/human/space_move(mob/living/carbon/human/H) - var/obj/item/device/flightpack/F = H.get_flightpack() - if(istype(F) && (F.flight) && F.allow_thrust(0.01, src)) +/datum/species/human + name = "Human" + id = "human" + default_color = "FFFFFF" + species_traits = list(MUTCOLORS_PARTSONLY,EYECOLOR,HAIR,FACEHAIR,LIPS) + mutant_bodyparts = list("tail_human", "ears", "taur") + default_features = list("tail_human" = "None", "ears" = "None", "taur" = "none") + use_skintones = 1 + skinned_type = /obj/item/stack/sheet/animalhide/human + disliked_food = GROSS | RAW + liked_food = JUNKFOOD | FRIED + + +/datum/species/human/qualifies_for_rank(rank, list/features) + return TRUE + +//Curiosity killed the cat's wagging tail. +/datum/species/human/spec_death(gibbed, mob/living/carbon/human/H) + if(H) + H.endTailWag() + +/datum/species/human/space_move(mob/living/carbon/human/H) + var/obj/item/device/flightpack/F = H.get_flightpack() + if(istype(F) && (F.flight) && F.allow_thrust(0.01, src)) return TRUE datum/species/human/on_species_gain(mob/living/carbon/human/H, datum/species/old_species) @@ -28,4 +30,4 @@ datum/species/human/on_species_gain(mob/living/carbon/human/H, datum/species/old if(H.dna.features["tail_human"] == "Cat") var/tail = /obj/item/organ/tail/cat mutant_organs += tail - ..() \ No newline at end of file + ..() diff --git a/code/modules/mob/living/carbon/human/species_types/jellypeople.dm b/code/modules/mob/living/carbon/human/species_types/jellypeople.dm index 59bf481369..4fa5193b40 100644 --- a/code/modules/mob/living/carbon/human/species_types/jellypeople.dm +++ b/code/modules/mob/living/carbon/human/species_types/jellypeople.dm @@ -9,6 +9,8 @@ exotic_blood = "slimejelly" damage_overlay_type = "" var/datum/action/innate/regenerate_limbs/regenerate_limbs + toxic_food = MEAT | DAIRY + liked_food = TOXIC /datum/species/jelly/on_species_loss(mob/living/carbon/C) if(regenerate_limbs) @@ -324,4 +326,4 @@ M.transfer_to(dupe) dupe.visible_message("[dupe] blinks and looks \ around.", - "...and move this one instead.") \ No newline at end of file + "...and move this one instead.") diff --git a/code/modules/mob/living/carbon/human/species_types/lizardpeople.dm b/code/modules/mob/living/carbon/human/species_types/lizardpeople.dm index 8adc1f19f3..822bd03a21 100644 --- a/code/modules/mob/living/carbon/human/species_types/lizardpeople.dm +++ b/code/modules/mob/living/carbon/human/species_types/lizardpeople.dm @@ -16,6 +16,8 @@ meat = /obj/item/weapon/reagent_containers/food/snacks/meat/slab/human/mutant/lizard skinned_type = /obj/item/stack/sheet/animalhide/lizard exotic_bloodtype = "L" + disliked_food = GRAIN | DAIRY + liked_food = GROSS | MEAT /datum/species/lizard/after_equip_job(datum/job/J, mob/living/carbon/human/H) H.grant_language(/datum/language/draconic) diff --git a/code/modules/mob/living/carbon/human/species_types/plasmamen.dm b/code/modules/mob/living/carbon/human/species_types/plasmamen.dm index 6ac2934ea4..2aec3df781 100644 --- a/code/modules/mob/living/carbon/human/species_types/plasmamen.dm +++ b/code/modules/mob/living/carbon/human/species_types/plasmamen.dm @@ -17,6 +17,8 @@ speedmod = 1 damage_overlay_type = ""//let's not show bloody wounds or burns over bones. var/internal_fire = FALSE //If the bones themselves are burning clothes won't help you much + disliked_food = FRUIT + liked_food = VEGETABLES /datum/species/plasmaman/spec_life(mob/living/carbon/human/H) var/datum/gas_mixture/environment = H.loc.return_air() diff --git a/code/modules/mob/living/carbon/human/species_types/podpeople.dm b/code/modules/mob/living/carbon/human/species_types/podpeople.dm index cdfa938456..10be1eb2b8 100644 --- a/code/modules/mob/living/carbon/human/species_types/podpeople.dm +++ b/code/modules/mob/living/carbon/human/species_types/podpeople.dm @@ -10,6 +10,8 @@ burnmod = 1.25 heatmod = 1.5 meat = /obj/item/weapon/reagent_containers/food/snacks/meat/slab/human/mutant/plant + disliked_food = MEAT | DAIRY + liked_food = VEGETABLES | FRUIT | GRAIN /datum/species/pod/on_species_gain(mob/living/carbon/C, datum/species/old_species) . = ..() diff --git a/code/modules/mob/living/carbon/human/species_types/skeletons.dm b/code/modules/mob/living/carbon/human/species_types/skeletons.dm index df91f19bb0..8246d5a949 100644 --- a/code/modules/mob/living/carbon/human/species_types/skeletons.dm +++ b/code/modules/mob/living/carbon/human/species_types/skeletons.dm @@ -8,4 +8,6 @@ meat = /obj/item/weapon/reagent_containers/food/snacks/meat/slab/human/mutant/skeleton species_traits = list(NOBREATH,RESISTHOT,RESISTCOLD,RESISTPRESSURE,NOBLOOD,RADIMMUNE,VIRUSIMMUNE,PIERCEIMMUNE,NOHUNGER,EASYDISMEMBER,EASYLIMBATTACHMENT) mutant_organs = list(/obj/item/organ/tongue/bone) - damage_overlay_type = ""//let's not show bloody wounds or burns over bones. \ No newline at end of file + damage_overlay_type = ""//let's not show bloody wounds or burns over bones. + disliked_food = NONE + liked_food = GROSS | MEAT | RAW diff --git a/code/modules/mob/living/carbon/human/species_types/synths.dm b/code/modules/mob/living/carbon/human/species_types/synths.dm index 3916f64fbb..c6fba442de 100644 --- a/code/modules/mob/living/carbon/human/species_types/synths.dm +++ b/code/modules/mob/living/carbon/human/species_types/synths.dm @@ -118,4 +118,4 @@ else return ..() else - return ..() \ No newline at end of file + return ..() diff --git a/code/modules/mob/living/carbon/human/species_types/zombies.dm b/code/modules/mob/living/carbon/human/species_types/zombies.dm index e75f862f58..01c63db0c1 100644 --- a/code/modules/mob/living/carbon/human/species_types/zombies.dm +++ b/code/modules/mob/living/carbon/human/species_types/zombies.dm @@ -9,6 +9,8 @@ species_traits = list(NOBREATH,RESISTCOLD,RESISTPRESSURE,NOBLOOD,RADIMMUNE,NOZOMBIE,EASYDISMEMBER,EASYLIMBATTACHMENT) mutant_organs = list(/obj/item/organ/tongue/zombie) var/static/list/spooks = list('sound/hallucinations/growl1.ogg','sound/hallucinations/growl2.ogg','sound/hallucinations/growl3.ogg','sound/hallucinations/veryfar_noise.ogg','sound/hallucinations/wail.ogg') + disliked_food = NONE + liked_food = GROSS | MEAT | RAW /datum/species/zombie/infectious name = "Infectious Zombie" diff --git a/code/modules/mob/living/carbon/life.dm b/code/modules/mob/living/carbon/life.dm index c52d9862ad..4e21a12f85 100644 --- a/code/modules/mob/living/carbon/life.dm +++ b/code/modules/mob/living/carbon/life.dm @@ -431,4 +431,3 @@ adjustToxLoss(8) if(prob(30)) to_chat(src, "You feel confused and nauseous...")//actual symptoms of liver failure - diff --git a/code/modules/mob/living/carbon/status_procs.dm b/code/modules/mob/living/carbon/status_procs.dm index 0216c63942..ce14664a0e 100644 --- a/code/modules/mob/living/carbon/status_procs.dm +++ b/code/modules/mob/living/carbon/status_procs.dm @@ -63,6 +63,17 @@ clear_fullscreen("high") clear_alert("high") +/mob/living/carbon/adjust_disgust(amount) + var/old_disgust = disgust + if(amount>0) + disgust = min(disgust+amount, DISGUST_LEVEL_MAXEDOUT) + + else if(old_disgust) + disgust = max(disgust+amount, 0) + +/mob/living/carbon/set_disgust(amount) + if(amount >= 0) + disgust = amount /mob/living/carbon/cure_blind() if(disabilities & BLIND) diff --git a/code/modules/mob/living/death.dm b/code/modules/mob/living/death.dm index 0fd86ed02e..69b3d75096 100644 --- a/code/modules/mob/living/death.dm +++ b/code/modules/mob/living/death.dm @@ -61,6 +61,7 @@ if(!gibbed) GLOB.dead_mob_list += src set_drugginess(0) + set_disgust(0) SetSleeping(0, 0) blind_eyes(1) reset_perspective(null) diff --git a/code/modules/mob/living/living.dm b/code/modules/mob/living/living.dm index 9684e44ac9..e2db3899de 100644 --- a/code/modules/mob/living/living.dm +++ b/code/modules/mob/living/living.dm @@ -374,6 +374,7 @@ setBrainLoss(0) setStaminaLoss(0, 0) SetUnconscious(0, FALSE) + set_disgust(0) SetStun(0, FALSE) SetKnockdown(0, FALSE) SetSleeping(0, FALSE) diff --git a/code/modules/mob/living/simple_animal/friendly/mouse.dm b/code/modules/mob/living/simple_animal/friendly/mouse.dm index 75a1759e1d..5728c8714c 100644 --- a/code/modules/mob/living/simple_animal/friendly/mouse.dm +++ b/code/modules/mob/living/simple_animal/friendly/mouse.dm @@ -43,7 +43,7 @@ /mob/living/simple_animal/mouse/death(gibbed, toast) if(!ckey) ..(1) - var/obj/item/trash/deadmouse/M = new(src.loc) + var/obj/item/weapon/reagent_containers/food/snacks/deadmouse/M = new(loc) M.icon_state = icon_dead M.name = name if(toast) @@ -101,8 +101,12 @@ response_harm = "splats" gold_core_spawnable = 0 -/obj/item/trash/deadmouse +/obj/item/weapon/reagent_containers/food/snacks/deadmouse name = "dead mouse" - desc = "It looks like somebody dropped the bass on it." + desc = "It looks like somebody dropped the bass on it. A lizard's favorite meal." icon = 'icons/mob/animal.dmi' icon_state = "mouse_gray_dead" + bitesize = 3 + eatverb = "devours" + list_reagents = list("nutriment" = 3, "vitamin" = 2) + foodtype = GROSS | MEAT | RAW diff --git a/code/modules/mob/status_procs.dm b/code/modules/mob/status_procs.dm index f25a01b9fe..bd938cf598 100644 --- a/code/modules/mob/status_procs.dm +++ b/code/modules/mob/status_procs.dm @@ -219,6 +219,14 @@ /mob/proc/set_drugginess(amount) return +/////////////////////////////////// GROSSED OUT //////////////////////////////////// + +/mob/proc/adjust_disgust(amount) + return + +/mob/proc/set_disgust(amount) + return + /////////////////////////////////// BLIND DISABILITY //////////////////////////////////// /mob/proc/cure_blind() //when we want to cure the BLIND disability only. diff --git a/code/modules/reagents/chemistry/reagents/medicine_reagents.dm b/code/modules/reagents/chemistry/reagents/medicine_reagents.dm index adf7292a56..57a7f3445d 100644 --- a/code/modules/reagents/chemistry/reagents/medicine_reagents.dm +++ b/code/modules/reagents/chemistry/reagents/medicine_reagents.dm @@ -52,6 +52,7 @@ M.SetUnconscious(0, 0) M.silent = 0 M.dizziness = 0 + M.disgust = 0 M.drowsyness = 0 M.stuttering = 0 M.slurring = 0 diff --git a/code/modules/surgery/organs/organ_internal.dm b/code/modules/surgery/organs/organ_internal.dm index 12fdadaeb1..d63eb283c5 100644 --- a/code/modules/surgery/organs/organ_internal.dm +++ b/code/modules/surgery/organs/organ_internal.dm @@ -74,6 +74,7 @@ icon_state = "appendix" icon = 'icons/obj/surgery.dmi' list_reagents = list("nutriment" = 5) + foodtype = RAW | MEAT | GROSS /obj/item/organ/Destroy() diff --git a/code/modules/surgery/organs/stomach.dm b/code/modules/surgery/organs/stomach.dm index 74bc7821b0..e3228fa100 100755 --- a/code/modules/surgery/organs/stomach.dm +++ b/code/modules/surgery/organs/stomach.dm @@ -7,12 +7,53 @@ slot = "stomach" attack_verb = list("gored", "squished", "slapped", "digested") desc = "Onaka ga suite imasu." + var/disgust_metabolism = 1 /obj/item/organ/stomach/on_life() var/mob/living/carbon/human/H = owner if(istype(H)) H.dna.species.handle_digestion(H) + handle_disgust(H) + +/obj/item/organ/stomach/proc/handle_disgust(mob/living/carbon/human/H) + if(H.disgust) + var/pukeprob = 5 + 0.05 * H.disgust + if(H.disgust >= DISGUST_LEVEL_GROSS) + if(prob(10)) + H.stuttering += 1 + H.confused += 2 + if(prob(10) && !H.stat) + to_chat(H, "You feel kind of iffy...") + H.jitteriness = max(H.jitteriness - 3, 0) + if(H.disgust >= DISGUST_LEVEL_VERYGROSS) + if(prob(pukeprob)) //iT hAndLeS mOrE ThaN PukInG + H.confused += 2.5 + H.stuttering += 1 + H.vomit(10, 0, 1, 0, 1, 0) + H.Dizzy(5) + if(H.disgust >= DISGUST_LEVEL_DISGUSTED) + if(prob(25)) + H.blur_eyes(3) //We need to add more shit down here + + H.adjust_disgust(-0.5 * disgust_metabolism) + + switch(H.disgust) + if(0 to DISGUST_LEVEL_GROSS) + H.clear_alert("disgust") + if(DISGUST_LEVEL_GROSS to DISGUST_LEVEL_VERYGROSS) + H.throw_alert("disgust", /obj/screen/alert/gross) + if(DISGUST_LEVEL_VERYGROSS to DISGUST_LEVEL_DISGUSTED) + H.throw_alert("disgust", /obj/screen/alert/verygross) + if(DISGUST_LEVEL_DISGUSTED to INFINITY) + H.throw_alert("disgust", /obj/screen/alert/disgusted) + +/obj/item/organ/stomach/Remove() + var/mob/living/carbon/human/H = owner + if(istype(H)) + H.clear_alert("disgust") + + ..() /obj/item/organ/stomach/fly name = "insectoid stomach" @@ -21,5 +62,5 @@ /obj/item/organ/stomach/plasmaman name = "digestive crystal" - icon_state = "pstomach" + icon_state = "pstomach" desc = "A strange crystal that is responsible for metabolizing the unseen energy force that feeds plasmamen." diff --git a/tgstation.dme b/tgstation.dme index c51dc6e899..45960fc7de 100644 --- a/tgstation.dme +++ b/tgstation.dme @@ -37,6 +37,7 @@ #include "code\__DEFINES\DNA.dm" #include "code\__DEFINES\events.dm" #include "code\__DEFINES\flags.dm" +#include "code\__DEFINES\food.dm" #include "code\__DEFINES\hud.dm" #include "code\__DEFINES\inventory.dm" #include "code\__DEFINES\is_helpers.dm"