From 4d7cd78a7f0e8535db91d05720ca66afff927ec7 Mon Sep 17 00:00:00 2001 From: CHOMPStation2 <58959929+CHOMPStation2@users.noreply.github.com> Date: Sun, 7 Jan 2024 16:20:47 -0700 Subject: [PATCH] [MIRROR] Temp disable textlimit warnings (#7519) Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: CHOMPStation2 --- code/modules/vore/eating/mob_vr.dm | 3 ++- code/modules/vore/eating/vorepanel_vr.dm | 4 +++- code/modules/vore/mouseray.dm | 1 + code/modules/vore/resizing/resize_vr.dm | 4 ---- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/code/modules/vore/eating/mob_vr.dm b/code/modules/vore/eating/mob_vr.dm index ed5f666d45..9adbe7bad4 100644 --- a/code/modules/vore/eating/mob_vr.dm +++ b/code/modules/vore/eating/mob_vr.dm @@ -27,7 +27,8 @@ var/latejoin_prey = FALSE //CHOMPedit: If enabled, latejoiners can spawn ontop of and instantly eat the victim var/noisy_full = FALSE //CHOMPedit: Enables belching when a mob has overeaten var/selective_preference = DM_DEFAULT // Preference for selective bellymode - var/eating_privacy_global = FALSE //Makes eating attempt/success messages only reach for subtle range if true, overwritten by belly-specific var + var/text_warnings = TRUE // Allows us to dismiss the text limit warning messages after viewing it once per round + var/eating_privacy_global = FALSE // Makes eating attempt/success messages only reach for subtle range if true, overwritten by belly-specific var var/nutrition_message_visible = TRUE var/list/nutrition_messages = list( "They are starving! You can hear their stomach snarling from across the room!", diff --git a/code/modules/vore/eating/vorepanel_vr.dm b/code/modules/vore/eating/vorepanel_vr.dm index d04f79b2dc..d7cd4db571 100644 --- a/code/modules/vore/eating/vorepanel_vr.dm +++ b/code/modules/vore/eating/vorepanel_vr.dm @@ -2526,7 +2526,9 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono", host.vore_selected.absorbed_desc = new_desc . = TRUE if("b_msgs") - tgui_alert(user,"Setting abusive or deceptive messages will result in a ban. Consider this your warning. Max 150 characters per message (250 for examines, 500 for idle messages), max 10 messages per topic.","Really, don't.") // Should remain tgui_alert() (blocking) + if(user.text_warnings) + if(tgui_alert(user,"Setting abusive or deceptive messages will result in a ban. Consider this your warning. Max 150 characters per message (250 for examines, 500 for idle messages), max 10 messages per topic.","Really, don't.",list("OK", "Disable Warnings")) == "Disable Warnings") // Should remain tgui_alert() (blocking) + user.text_warnings = FALSE var/help = " Press enter twice to separate messages. '%pred' will be replaced with your name. '%prey' will be replaced with the prey's name. '%belly' will be replaced with your belly's name. '%count' will be replaced with the number of anything in your belly. '%countprey' will be replaced with the number of living prey in your belly." switch(params["msgtype"]) if("dmp") diff --git a/code/modules/vore/mouseray.dm b/code/modules/vore/mouseray.dm index 9bd79e804b..ba81ac8fce 100644 --- a/code/modules/vore/mouseray.dm +++ b/code/modules/vore/mouseray.dm @@ -281,6 +281,7 @@ new_mob.nutrition_message_visible = nutrition_message_visible new_mob.allow_spontaneous_tf = allow_spontaneous_tf new_mob.eating_privacy_global = eating_privacy_global + new_mob.text_warnings = text_warnings /////SUBTYPES///// diff --git a/code/modules/vore/resizing/resize_vr.dm b/code/modules/vore/resizing/resize_vr.dm index 07d2bd087e..ad5571edfb 100644 --- a/code/modules/vore/resizing/resize_vr.dm +++ b/code/modules/vore/resizing/resize_vr.dm @@ -158,10 +158,6 @@ set name = "Adjust Mass" set category = "Abilities" //Seeing as prometheans have an IC reason to be changing mass. - if(!resizable) - to_chat(src, "You are immune to resizing!") - return - var/nagmessage = "Adjust your mass to be a size between 25 to 200% (or 1% to 600% in dormitories). (DO NOT ABUSE)" var/default = size_multiplier * 100 var/new_size = tgui_input_number(usr, nagmessage, "Pick a Size", default, 600, 1)