From da0ffbee1410558fa49012d3ff09f9895c129082 Mon Sep 17 00:00:00 2001 From: TheFurryFeline Date: Fri, 2 Aug 2019 17:59:12 -0400 Subject: [PATCH] Delicious Bones Allow people with trash eater trait to eat bones produced from digestion of prey that have leave remains option selected. Also adds admin message notification when you toggle your ability to leave remains. --- code/_helpers/global_lists_vr.dm | 1 + code/modules/vore/eating/vorepanel_vr.dm | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/code/_helpers/global_lists_vr.dm b/code/_helpers/global_lists_vr.dm index a977a5e317..f8267d3905 100644 --- a/code/_helpers/global_lists_vr.dm +++ b/code/_helpers/global_lists_vr.dm @@ -161,6 +161,7 @@ var/global/list/edible_trash = list(/obj/item/trash, /obj/item/weapon/material/shard, /obj/item/device/paicard, /obj/item/device/mmi/digital/posibrain, + /obj/item/weapon/digestion_remains, /obj/item/device/aicard) var/global/list/cont_flavors = list( diff --git a/code/modules/vore/eating/vorepanel_vr.dm b/code/modules/vore/eating/vorepanel_vr.dm index 5b7be77ea5..c2d66dc0ce 100644 --- a/code/modules/vore/eating/vorepanel_vr.dm +++ b/code/modules/vore/eating/vorepanel_vr.dm @@ -812,8 +812,9 @@ user.client.prefs_vr.digestable = user.digestable //TFF 30/4/19: Ports VoreStation Remains Option - add option that goes paw in paw with belly setting; allow yourself to leave bones behind after you're digested + //TFF 2/8/19 - Add admin message notification for setting this ON. if(href_list["toggledlm"]) - var/choice = alert(user, "This button allows preds to have your remains be left in their belly after you are digested. This will only happen if pred sets their belly to do so. Remains consist of skeletal parts. Currently you are [user.digest_leave_remains? "" : "not"] leaving remains.", "", "Allow Post-digestion Remains", "Cancel", "Disallow Post-digestion Remains") + var/choice = alert(user, "This button allows preds to have your remains be left in their belly after you are digested. This will only happen if pred sets their belly to do so. Remains consist of skeletal parts. Setting this will notify admins. Currently you are [user.digest_leave_remains? "" : "not"] leaving remains.", "", "Allow Post-digestion Remains", "Cancel", "Disallow Post-digestion Remains") switch(choice) if("Cancel") return 0 @@ -822,6 +823,8 @@ if("Disallow Post-digestion Remains") user.digest_leave_remains = FALSE + message_admins("[key_name(user)] toggled their ability to leave remains to [user.digest_leave_remains] ([user ? "JMP" : "null"])") + if(user.client.prefs_vr) user.client.prefs_vr.digest_leave_remains = user.digest_leave_remains