From 634fb034c7feb60fe820c9a83a787a2fbc59a151 Mon Sep 17 00:00:00 2001 From: Rerik007 <120549107+Rerik007@users.noreply.github.com> Date: Tue, 20 Feb 2024 21:00:55 +0300 Subject: [PATCH] tweak: cargo few orders and change access for cargo quest console (#4472) --- code/modules/economy/quests/_base_quests.dm | 27 ++-- code/modules/economy/quests/quest_console.dm | 8 +- .../modules/economy/quests/reagents_quests.dm | 21 +-- code/modules/economy/quests/thing_quests.dm | 152 ++++++------------ .../food_and_drinks/food/foods/meat.dm | 16 ++ 5 files changed, 90 insertions(+), 134 deletions(-) diff --git a/code/modules/economy/quests/_base_quests.dm b/code/modules/economy/quests/_base_quests.dm index 7022f3a0dd6..419d9b715a2 100644 --- a/code/modules/economy/quests/_base_quests.dm +++ b/code/modules/economy/quests/_base_quests.dm @@ -64,7 +64,7 @@ if(!quest_type) var/list/possible_types = list() if((length(GLOB.clients) < MIN_PLAYERS_FOR_MIX) && (length(current_quests) == 2)) - for(var/datum/cargo_quest/quest in current_quests) + for(var/datum/cargo_quest/quest as anything in current_quests) possible_types += quest.type else for(var/path in subtypesof(/datum/cargo_quest) - /datum/cargo_quest/thing) @@ -75,10 +75,10 @@ possible_types.Remove(customer.cant_order) quest_type = pick(possible_types) - for(var/datum/cargo_quest/quest in current_quests) + for(var/datum/cargo_quest/quest as anything in current_quests) if(quest.type != quest_type) continue - quest.generate_goal(difficultly = quest_difficulty.diff_flag) + quest.add_goal(difficultly = quest_difficulty.diff_flag) quest.update_interface_icon() return @@ -140,10 +140,12 @@ var/datum/cargo_quests_storage/q_storage /// Quest desc, using in interface. var/list/desc = list() - /// Quest interface icons, using in interface. - var/list/interface_icons = list() - /// Quest interface icon states, using in interface. - var/list/interface_icon_states = list() + /// Quest base icon, using in interface. + var/interface_icon + /// Quest base icon state, using in interface. + var/interface_icon_state + /// Quest interface images, using in interface. + var/list/interface_images = list() /// Requested order's item types, unless otherwise specified. var/list/req_items = list() ///possible difficultly @@ -152,18 +154,21 @@ /datum/cargo_quest/New(storage) q_storage = storage - generate_goal(difficultly = q_storage.quest_difficulty.diff_flag) + add_goal(difficultly = q_storage.quest_difficulty.diff_flag) update_interface_icon() -/datum/cargo_quest/proc/generate_goal(difficultly) +/datum/cargo_quest/proc/generate_goal_list(difficultly) return -/datum/cargo_quest/proc/length_quest() +/datum/cargo_quest/proc/add_goal(difficultly) return -/datum/cargo_quest/proc/update_interface_icon() +/datum/cargo_quest/proc/length_quest() return +/datum/cargo_quest/proc/update_interface_icon() + if(interface_icon && interface_icon_state) + interface_images += icon2base64(icon(interface_icon, interface_icon_state, SOUTH, 1)) /datum/cargo_quest/proc/check_required_item(atom/movable/check_item) return diff --git a/code/modules/economy/quests/quest_console.dm b/code/modules/economy/quests/quest_console.dm index 7604ad4df03..5627a9942e8 100644 --- a/code/modules/economy/quests/quest_console.dm +++ b/code/modules/economy/quests/quest_console.dm @@ -9,7 +9,7 @@ desc = "Essential for supply requests. Your bread and butter." icon_keyboard = "cargo_quest_key" icon_screen = "cargo_quest" - req_access = list(ACCESS_QM) + req_access = list(ACCESS_CARGO) circuit = /obj/item/circuitboard/supplyquest /// If TRUE you can see only active quests var/for_active_quests = FALSE @@ -71,17 +71,16 @@ /obj/machinery/computer/supplyquest/ui_data(mob/user) var/list/data = list() var/list/quest_storages = list() - for(var/datum/cargo_quests_storage/quest_storage in SScargo_quests.quest_storages) + for(var/datum/cargo_quests_storage/quest_storage as anything in SScargo_quests.quest_storages) if(for_active_quests && !quest_storage.active) continue var/timeleft_sec = round((quest_storage.time_start + quest_storage.quest_time - world.time) / 10) var/list/quests_items = list() for(var/datum/cargo_quest/cargo_quest as anything in quest_storage.current_quests) - var/image_index = rand(1, length(cargo_quest.interface_icons)) quests_items.Add(list(list( "quest_type_name" = cargo_quest.quest_type_name, "desc" = cargo_quest.desc.Join(""), - "image" = "[icon2base64(icon(cargo_quest.interface_icons[image_index], cargo_quest.interface_icon_states[image_index], SOUTH, 1))]", + "image" = "[cargo_quest.interface_images[rand(1, length(cargo_quest.interface_images))]]", ))) quest_storages.Add(list(list( @@ -236,7 +235,6 @@ for_active_quests = TRUE circuit = /obj/item/circuitboard/questcons density = FALSE - req_access = list(ACCESS_CARGO) /obj/machinery/computer/supplyquest/workers/Initialize(mapload) diff --git a/code/modules/economy/quests/reagents_quests.dm b/code/modules/economy/quests/reagents_quests.dm index 9acb56afdbc..2e6ca37bfdb 100644 --- a/code/modules/economy/quests/reagents_quests.dm +++ b/code/modules/economy/quests/reagents_quests.dm @@ -1,8 +1,8 @@ /datum/cargo_quest/reagents quest_type_name = "Chemical" req_items = list(/obj/item/reagent_containers) - interface_icons = list('icons/obj/chemical.dmi') - interface_icon_states = list("beakerlarge") + interface_icon = 'icons/obj/chemical.dmi' + interface_icon_state = "beakerlarge" difficultly_flags = (QUEST_DIFFICULTY_EASY) @@ -34,7 +34,7 @@ "growthserum" = list("volume" = 15, "reward" = 55) ) -/datum/cargo_quest/reagents/generate_goal(difficultly) +/datum/cargo_quest/reagents/add_goal(difficultly) var/list/possible_reagents_list = repeated_reagents.Copy() + unique_reagents.Copy() var/our_reagent = pick(possible_reagents_list) required_reagents[our_reagent] += possible_reagents_list[our_reagent] @@ -65,9 +65,6 @@ /datum/cargo_quest/reagents/drinks quest_type_name = "Drink" - interface_icons = list() - interface_icon_states = list() - repeated_reagents = list( "b52" = list("volume" = 30,"reward" = 60), "bacchus_blessing" = list("volume" = 30,"reward" = 100), @@ -107,17 +104,9 @@ /datum/cargo_quest/reagents/drinks/update_interface_icon() - var/list/new_interface_icons = list() - var/list/new_interface_icon_states = list() - for(var/reagent_id in required_reagents) var/datum/reagent/reagent = GLOB.chemical_reagents_list[reagent_id] if(reagent.drink_icon) - new_interface_icons += 'icons/obj/drinks.dmi' - new_interface_icon_states += reagent.drink_icon + interface_images += icon2base64(icon('icons/obj/drinks.dmi', reagent.drink_icon, SOUTH, 1)) else - new_interface_icons += 'icons/obj/chemical.dmi' - new_interface_icon_states += "beakerlarge" - - interface_icons = new_interface_icons - interface_icon_states = new_interface_icon_states + interface_images += icon2base64(icon('icons/obj/chemical.dmi', "beakerlarge", SOUTH, 1)) diff --git a/code/modules/economy/quests/thing_quests.dm b/code/modules/economy/quests/thing_quests.dm index 1f568bd52a0..03a34d37c82 100644 --- a/code/modules/economy/quests/thing_quests.dm +++ b/code/modules/economy/quests/thing_quests.dm @@ -8,11 +8,7 @@ var/unique_things = TRUE var/list/current_list -/datum/cargo_quest/thing/generate_goal(difficultly, request_obj, target_reward) - if(request_obj) - req_items += request_obj - q_storage.reward += target_reward - return +/datum/cargo_quest/thing/generate_goal_list(difficultly) var/list/difficult_list switch(difficultly) @@ -28,10 +24,16 @@ if(QUEST_DIFFICULTY_VERY_HARD) difficult_list = very_hard_items + return difficult_list + +/datum/cargo_quest/thing/add_goal(difficultly) + var/list/difficult_list = generate_goal_list(difficultly) var/obj/generated_item = pick(difficult_list) + q_storage.reward += difficult_list[generated_item] if(unique_things) difficult_list.Remove(generated_item) + req_items += generated_item current_list = req_items.Copy() @@ -39,20 +41,15 @@ /datum/cargo_quest/thing/update_interface_icon() - var/list/new_interface_icons = list() - var/list/new_interface_icon_states = list() - + if(interface_icon && interface_icon_state) + interface_images += icon2base64(icon(interface_icon, interface_icon_state, SOUTH, 1)) + return for(var/our_item in req_items) var/obj/obj = our_item if(initial(obj.icon) && initial(obj.icon_state)) - new_interface_icons += initial(obj.icon) - new_interface_icon_states += initial(obj.icon_state) + interface_images += icon2base64(icon(initial(obj.icon), initial(obj.icon_state), SOUTH, 1)) else - new_interface_icons += 'icons/obj/storage.dmi' - new_interface_icon_states += "box" - - interface_icons = new_interface_icons - interface_icon_states = new_interface_icon_states + interface_images += icon2base64(icon('icons/obj/storage.dmi', "box", SOUTH, 1)) /datum/cargo_quest/thing/length_quest() return length(req_items) @@ -149,6 +146,7 @@ /obj/item/reagent_containers/food/snacks/amanitajelly = 50, /obj/item/reagent_containers/food/snacks/donut/chaos = 50, /obj/item/reagent_containers/food/snacks/sliceable/noel = 50, + /obj/item/reagent_containers/food/snacks/candy/jellybean/purple = 50, /obj/item/reagent_containers/food/snacks/monstermeat/bearmeat = 50, /obj/item/reagent_containers/food/snacks/sashimi = 60, /obj/item/reagent_containers/food/snacks/fishburger = 60, @@ -161,10 +159,27 @@ /obj/item/reagent_containers/food/snacks/monkeysdelight = 60, /obj/item/reagent_containers/food/snacks/aesirsalad = 60, /obj/item/reagent_containers/food/snacks/rofflewaffles = 60, + /obj/item/reagent_containers/food/snacks/muffin = 60, + /obj/item/reagent_containers/food/snacks/pancake/choc_chip_pancake = 60, + /obj/item/reagent_containers/food/snacks/meatsteak/vulpkanin = 60, + /obj/item/reagent_containers/food/snacks/meatsteak/human = 60, + /obj/item/reagent_containers/food/snacks/meatsteak/slime = 60, + /obj/item/reagent_containers/food/snacks/meatsteak/skrell = 60, + /obj/item/reagent_containers/food/snacks/meatsteak/tajaran = 60, + /obj/item/reagent_containers/food/snacks/meatsteak/unathi = 60, ) normal_items = list( + /obj/item/reagent_containers/food/snacks/meatsteak/vox = 70, + /obj/item/reagent_containers/food/snacks/meatsteak/wryn = 70, + /obj/item/reagent_containers/food/snacks/meatsteak/kidan = 70, + /obj/item/reagent_containers/food/snacks/meatsteak/diona = 70, + /obj/item/reagent_containers/food/snacks/meatsteak/nian = 70, + /obj/item/reagent_containers/food/snacks/meatsteak/drask = 70, + /obj/item/reagent_containers/food/snacks/meatsteak/grey = 70, /obj/item/reagent_containers/food/snacks/candy/jawbreaker = 70, + /obj/item/reagent_containers/food/snacks/telebacon = 70, + /obj/item/reagent_containers/food/snacks/plov = 70, /obj/item/reagent_containers/food/snacks/weirdoliviersalad = 70, /obj/item/reagent_containers/food/snacks/doner_mushroom = 70, /obj/item/reagent_containers/food/snacks/doner_vegan = 70, @@ -250,19 +265,10 @@ difficultly_flags = (QUEST_DIFFICULTY_EASY|QUEST_DIFFICULTY_NORMAL|QUEST_DIFFICULTY_HARD) -/datum/cargo_quest/thing/minerals/generate_goal(difficultly, request_obj, target_reward) - var/list/difficult_list - switch(difficultly) - if(QUEST_DIFFICULTY_EASY) - difficult_list = easy_items - - if(QUEST_DIFFICULTY_NORMAL) - difficult_list = normal_items - - if(QUEST_DIFFICULTY_HARD) - difficult_list = hard_items - +/datum/cargo_quest/thing/minerals/add_goal(difficultly) + var/list/difficult_list = generate_goal_list(difficultly) var/obj/item/generated_mineral = pick(difficult_list) + q_storage.reward += difficult_list[generated_mineral]["reward"] if(!required_minerals[generated_mineral]) required_minerals += generated_mineral @@ -299,16 +305,10 @@ current_list = required_minerals.Copy() /datum/cargo_quest/thing/minerals/update_interface_icon() - var/list/new_interface_icons = list() - var/list/new_interface_icon_states = list() for(var/mineral in required_minerals) var/obj/obj = mineral - new_interface_icons += initial(obj.icon) - new_interface_icon_states += initial(obj.icon_state) - - interface_icons = new_interface_icons - interface_icon_states = new_interface_icon_states + interface_images += icon2base64(icon(initial(obj.icon), initial(obj.icon_state), SOUTH, 1)) /datum/cargo_quest/thing/minerals/length_quest() var/stack_length @@ -397,8 +397,8 @@ /datum/cargo_quest/thing/botanygenes quest_type_name = "Botany Genes on Disks" - interface_icons = list('icons/obj/module.dmi') - interface_icon_states = list("datadisk_hydro") + interface_icon = 'icons/obj/module.dmi' + interface_icon_state = "datadisk_hydro" req_items = list(/obj/item/disk/plantgene) var/list/required_genes = list() easy_items = list( @@ -427,17 +427,9 @@ ) difficultly_flags = (QUEST_DIFFICULTY_EASY|QUEST_DIFFICULTY_NORMAL|QUEST_DIFFICULTY_HARD) -/datum/cargo_quest/thing/botanygenes/generate_goal(difficultly, request_obj, target_reward) - - var/list/difficult_list - switch(difficultly) - if(QUEST_DIFFICULTY_EASY) - difficult_list = easy_items - if(QUEST_DIFFICULTY_NORMAL) - difficult_list = normal_items - if(QUEST_DIFFICULTY_HARD) - difficult_list = hard_items +/datum/cargo_quest/thing/botanygenes/add_goal(difficultly) + var/list/difficult_list = generate_goal_list(difficultly) var/datum/plant_gene/generated_gene = pick(difficult_list) q_storage.reward += difficult_list[generated_gene] @@ -449,9 +441,6 @@ desc += "[capitalize(format_text(initial(generated_gene.name)))]
" -/datum/cargo_quest/thing/botanygenes/update_interface_icon() - return - /datum/cargo_quest/thing/botanygenes/length_quest() return length(required_genes) @@ -474,8 +463,8 @@ /datum/cargo_quest/thing/genes quest_type_name = "DNA Genes" - interface_icons = list('icons/obj/hypo.dmi') - interface_icon_states = list("dnainjector") + interface_icon = 'icons/obj/hypo.dmi' + interface_icon_state = "dnainjector" req_items = list(/obj/item/dnainjector) var/list/required_blocks = list() @@ -529,22 +518,12 @@ ) difficultly_flags = (QUEST_DIFFICULTY_NORMAL|QUEST_DIFFICULTY_HARD) -/datum/cargo_quest/thing/genes/update_interface_icon() - return - /datum/cargo_quest/thing/genes/length_quest() return length(required_blocks) -/datum/cargo_quest/thing/genes/generate_goal(difficultly, request_obj, target_reward) +/datum/cargo_quest/thing/genes/add_goal(difficultly) - var/list/difficult_list - switch(difficultly) - if(QUEST_DIFFICULTY_EASY) - difficult_list = easy_items - if(QUEST_DIFFICULTY_NORMAL) - difficult_list = normal_items - if(QUEST_DIFFICULTY_HARD) - difficult_list = hard_items + var/list/difficult_list = generate_goal_list(difficultly) var/generated_gene = pick(difficult_list) q_storage.reward += difficult_list[generated_gene] @@ -586,8 +565,8 @@ #define REQUIRED_BLOOD_AMOUNT 10 /datum/cargo_quest/thing/virus quest_type_name = "Viruses symptoms in vials (10u minimum)" - interface_icons = list('icons/obj/chemical.dmi') - interface_icon_states = list("vial") + interface_icon = 'icons/obj/chemical.dmi' + interface_icon_state = "vial" req_items = list(/obj/item/reagent_containers/glass/beaker/vial) var/list/required_symptoms = list() @@ -639,26 +618,11 @@ ) difficultly_flags = (QUEST_DIFFICULTY_EASY|QUEST_DIFFICULTY_NORMAL|QUEST_DIFFICULTY_HARD) -/datum/cargo_quest/thing/virus/update_interface_icon() - return - /datum/cargo_quest/thing/virus/length_quest() return length(required_symptoms) -/datum/cargo_quest/thing/virus/generate_goal(difficultly, request_obj, target_reward) - var/list/difficult_list - switch(difficultly) - if(QUEST_DIFFICULTY_EASY) - difficult_list = easy_items - - if(QUEST_DIFFICULTY_NORMAL) - difficult_list = normal_items - - if(QUEST_DIFFICULTY_HARD) - difficult_list = hard_items - - if(QUEST_DIFFICULTY_VERY_HARD) - difficult_list = very_hard_items +/datum/cargo_quest/thing/virus/add_goal(difficultly) + var/list/difficult_list = generate_goal_list(difficultly) var/datum/symptom/generated_symptom = pick(difficult_list) q_storage.reward += difficult_list[generated_symptom] @@ -706,8 +670,8 @@ /datum/cargo_quest/thing/capsule quest_type_name = "Mob in lazarus capsule" - interface_icons = list('icons/obj/mobcap.dmi') - interface_icon_states = list("mobcap3") + interface_icon = 'icons/obj/mobcap.dmi' + interface_icon_state = "mobcap3" req_items = list(/obj/item/mobcapsule) var/list/required_mobs = list() @@ -727,27 +691,11 @@ ) difficultly_flags = (QUEST_DIFFICULTY_NORMAL|QUEST_DIFFICULTY_HARD) -/datum/cargo_quest/thing/capsule/update_interface_icon() - return - /datum/cargo_quest/thing/capsule/length_quest() return length(required_mobs) -/datum/cargo_quest/thing/capsule/generate_goal(difficultly, request_obj, target_reward) - var/list/difficult_list - switch(difficultly) - if(QUEST_DIFFICULTY_EASY) - difficult_list = easy_items - - if(QUEST_DIFFICULTY_NORMAL) - difficult_list = normal_items - - if(QUEST_DIFFICULTY_HARD) - difficult_list = hard_items - - if(QUEST_DIFFICULTY_VERY_HARD) - difficult_list = very_hard_items - +/datum/cargo_quest/thing/capsule/add_goal(difficultly) + var/list/difficult_list = generate_goal_list(difficultly) var/mob/generated_mob = pick(difficult_list) q_storage.reward += difficult_list[generated_mob] if(unique_things) diff --git a/code/modules/food_and_drinks/food/foods/meat.dm b/code/modules/food_and_drinks/food/foods/meat.dm index 63cbae2dea6..328d77f4641 100644 --- a/code/modules/food_and_drinks/food/foods/meat.dm +++ b/code/modules/food_and_drinks/food/foods/meat.dm @@ -408,42 +408,50 @@ foodtype = MEAT /obj/item/reagent_containers/food/snacks/meatsteak/human + name = "human meat steak" icon_state = "meatstake_human" list_reagents = list("nutriment" = 3, "vitamins" = 3, "protein" = 3) tastes = list("human meat odor" = 1, "eggplant" = 1) /obj/item/reagent_containers/food/snacks/meatsteak/vulpkanin + name = "vulpkanin meat steak" icon_state = "meatstake_vulp" list_reagents = list("nutriment" = 3, "vitamins" = 3, "protein" = 3) tastes = list("vulpkanin meat odor" = 1, "chanterelle" = 1, "lemon" = 1) /obj/item/reagent_containers/food/snacks/meatsteak/tajaran + name = "tajaran meat steak" icon_state = "meatstake_tajara" list_reagents = list("nutriment" = 3, "vitamins" = 3, "protein" = 3) tastes = list("tajaran meat odor" = 1, "nettle" = 1, "soda water" = 1) /obj/item/reagent_containers/food/snacks/meatsteak/unathi + name = "unathi meat steak" icon_state = "meatstake_unathi" list_reagents = list("nutriment" = 3, "vitamins" = 3, "protein" = 3) tastes = list("unathi meat odor" = 1, "tomato" = 2, "harebell" = 1, "black pepper" = 2, "salt" = 2, "chiken" = 1) /obj/item/reagent_containers/food/snacks/meatsteak/drask + name = "drask meat steak" desc = "A piece of cold spicy meat." icon_state = "meatstake_drask" list_reagents = list("nutriment" = 3, "vitamins" = 3, "protein" = 3) tastes = list("drask meat odor" = 1, "garlic" = 1, "chili" = 2, "berries" = 2, "black pepper" = 2) /obj/item/reagent_containers/food/snacks/meatsteak/grey + name = "grey meat steak" icon_state = "meatstake_grey" list_reagents = list("nutriment" = 3, "vitamins" = 3, "protein" = 3) tastes = list("grey meat odor" = 1, "garlic" = 1, "cabbage" = 1, "tomato" = 2, "salt" = 2) /obj/item/reagent_containers/food/snacks/meatsteak/skrell + name = "skrell meat steak" icon_state = "meatstake_skrell" list_reagents = list("nutriment" = 3, "vitamins" = 3, "protein" = 3) tastes = list("skrell meat odor" = 1, "banana" = 1, "tomato" = 1, "black pepper" = 2) /obj/item/reagent_containers/food/snacks/meatsteak/vox + name = "vox meat steak" icon_state = "meatstake_vox" list_reagents = list("nutriment" = 3, "vitamins" = 3, "protein" = 3) tastes = list("vox meat odor" = 1, "garlic" = 1, "herbs" = 1, "chiken" = 1, "sweet potato" = 2) @@ -456,16 +464,19 @@ tastes = list("slime meat odor" = 1, "garlic" = 1, "sugar" = 1, "herbs" = 1, "lemon" = 1, "ambrosia" = 1, "salt" = 2) /obj/item/reagent_containers/food/snacks/meatsteak/wryn + name = "wryn meat steak" icon_state = "meatstake_wryn" list_reagents = list("nutriment" = 3, "vitamins" = 3, "protein" = 3) tastes = list("wryn meat odor" = 1, "sweetness" = 1, "potato" = 2, "orange" = 1) /obj/item/reagent_containers/food/snacks/meatsteak/kidan + name = "kidan meat steak" icon_state = "meatstake_kidan" list_reagents = list("nutriment" = 3, "vitamins" = 3, "protein" = 3) tastes = list("kidan meat odor" = 1, "bug odor" = 1, "herbs" = 2, "olives" = 2, "salt" = 2) /obj/item/reagent_containers/food/snacks/meatsteak/nian + name = "nian meat steak" icon_state = "meatstake_nian" list_reagents = list("nutriment" = 3, "vitamins" = 3, "protein" = 3) tastes = list("nian meat odor" = 1, "bug odor" = 1, "sweetness" = 1, "orange" = 1, "lemon" = 1, "herbs" = 1) @@ -480,26 +491,31 @@ foodtype = VEGETABLES /obj/item/reagent_containers/food/snacks/meatsteak/monkey + name = "monkey meat steak" icon_state = "meatstake_monkey" list_reagents = list("nutriment" = 3, "vitamins" = 3, "protein" = 3) tastes = list("monkey meat odor" = 1, "salt" = 2, "herbs" = 1, "lemon" = 1, "chili" = 2) /obj/item/reagent_containers/food/snacks/meatsteak/farwa + name = "farwa meat steak" icon_state = "meatstake_farwa" list_reagents = list("nutriment" = 3, "vitamins" = 3, "protein" = 3) tastes = list("farwa meat odor" = 1, "poppy" = 2, "grape" = 1) /obj/item/reagent_containers/food/snacks/meatsteak/wolpin + name = "wolpin meat steak" icon_state = "meatstake_wolpin" list_reagents = list("nutriment" = 3, "vitamins" = 3, "protein" = 3) tastes = list("wolpin meat odor" = 1, "potato" = 1, "onion" = 2) /obj/item/reagent_containers/food/snacks/meatsteak/neara + name = "neara meat steak" icon_state = "meatstake_neara" list_reagents = list("nutriment" = 3, "vitamins" = 3, "protein" = 3) tastes = list("neara meat odor" = 1, "lemon" = 1, "soy" = 2, "herbs" = 1) /obj/item/reagent_containers/food/snacks/meatsteak/stok + name = "stok meat steak" icon_state = "meatstake_stok" list_reagents = list("nutriment" = 3, "vitamins" = 3, "protein" = 3) tastes = list("stok meat odor" = 1, "chiken" = 1, "cucumber" = 2, "herbs" = 1, "orange" = 1)