From 63b32a4f67bf2b72fe28ca550c03763bb01cfffd Mon Sep 17 00:00:00 2001 From: Verkister Date: Tue, 2 May 2023 15:08:43 +0300 Subject: [PATCH] Adds verb to toggle trasheater restriction level Adds an abilities tab verb to toggle trash eater restriction level between regular (whitelisted items only) and unlocked (all non-blacklisted items) Currently only implemented on Swoopie (currently the only mob that starts with unlocked trasheater), but can be easily added to any responsible user via ingame varedit. --- code/modules/vore/eating/living_ch.dm | 7 +++++++ .../modules/mob/living/simple_mob/subtypes/vore/swoopie.dm | 2 ++ 2 files changed, 9 insertions(+) diff --git a/code/modules/vore/eating/living_ch.dm b/code/modules/vore/eating/living_ch.dm index e52abd42d6..1eb7e27d72 100644 --- a/code/modules/vore/eating/living_ch.dm +++ b/code/modules/vore/eating/living_ch.dm @@ -313,6 +313,13 @@ trash_catching = !trash_catching to_chat(src, "Trash catching [trash_catching ? "enabled" : "disabled"].") +/mob/living/proc/restrict_trasheater() + set name = "Restrict Trash Eater" + set category = "Abilities" + set desc = "Toggle Trash Eater restriction level." + adminbus_trash = !adminbus_trash + to_chat(src, "Trash Eater restriction level set to [adminbus_trash ? "everything not blacklisted" : "only whitelisted items"].") + /mob/living/proc/liquidbelly_visuals() set name = "Toggle Liquidbelly Visuals" set category = "Preferences" diff --git a/modular_chomp/code/modules/mob/living/simple_mob/subtypes/vore/swoopie.dm b/modular_chomp/code/modules/mob/living/simple_mob/subtypes/vore/swoopie.dm index 78267e1962..9ba5e0374a 100644 --- a/modular_chomp/code/modules/mob/living/simple_mob/subtypes/vore/swoopie.dm +++ b/modular_chomp/code/modules/mob/living/simple_mob/subtypes/vore/swoopie.dm @@ -33,6 +33,8 @@ if(!voremob_loaded) return verbs |= /mob/living/proc/eat_trash + verbs |= /mob/living/proc/toggle_trash_catching + verbs |= /mob/living/proc/restrict_trasheater var/obj/belly/B = new /obj/belly/(src) B.affects_vore_sprites = TRUE B.belly_sprite_to_affect = "stomach"