From 0e6ac80e5797a88fccbb6fc584b6ee0020c5e48a Mon Sep 17 00:00:00 2001 From: Timberpoes Date: Wed, 7 Oct 2020 19:37:00 +0100 Subject: [PATCH] Dronespeak manual is once again infinite use, and can once again only be used on drones or silicons. (#54192) --- code/modules/language/language_manuals.dm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/code/modules/language/language_manuals.dm b/code/modules/language/language_manuals.dm index c8a11039a41..070b382e7e5 100644 --- a/code/modules/language/language_manuals.dm +++ b/code/modules/language/language_manuals.dm @@ -91,6 +91,15 @@ // So drones can teach borgs and AI dronespeak. For best effect, combine with mother drone lawset. /obj/item/language_manual/dronespeak_manual name = "dronespeak manual" - desc = "The book's cover reads: \"Understanding Dronespeak - An exercise in futility.\"" + desc = "The book's cover reads: \"Understanding Dronespeak - An exercise in futility.\" The book is written entirely in binary, non-silicons probably won't understand it." language = /datum/language/drone flavour_text = "suddenly the drone chittering makes sense" + charges = INFINITY + +/obj/item/language_manual/dronespeak_manual/attack(mob/living/M, mob/living/user) + // If they are not drone or silicon, we don't want them to learn this language. + if(!(isdrone(M) || issilicon(M))) + M.visible_message("[user] beats [M] over the head with [src]!", "[user] beats you over the head with [src]!", "You hear smacking.") + return + + return ..()