From 1069e561bc2d89f0367054558ea94e97f55cd8f6 Mon Sep 17 00:00:00 2001 From: deathride58 Date: Mon, 16 Jul 2018 22:28:27 -0400 Subject: [PATCH] Adds a var that determines if voreprefs can be shown on examine --- code/modules/vore/eating/living_vr.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/modules/vore/eating/living_vr.dm b/code/modules/vore/eating/living_vr.dm index 129dd8b5ce..7b608e5c56 100644 --- a/code/modules/vore/eating/living_vr.dm +++ b/code/modules/vore/eating/living_vr.dm @@ -2,6 +2,7 @@ /mob/living var/digestable = 1 // Can the mob be digested inside a belly? var/allowmobvore = 1 // Will simplemobs attempt to eat the mob? + var/showvoreprefs = 1 // Determines if the mechanical vore preferences button will be displayed on the mob or not. var/obj/belly/vore_selected // Default to no vore capability. var/list/vore_organs = list() // List of vore containers inside a mob var/absorbed = 0 // If a mob is absorbed into another @@ -612,7 +613,8 @@ /mob/living/examine(mob/user) . = ..() - to_chat(user, "\[Mechanical Vore Preferences\]") + if(showvoreprefs) + to_chat(user, "\[Mechanical Vore Preferences\]") /mob/living/Topic(href, href_list) //Can't find any instances of Topic() being overridden by /mob/living in polaris' base code, even though /mob/living/carbon/human's Topic() has a ..() call if(href_list["vore_prefs"])