[MIRROR] Dronespeak manual is once again infinite use, and can once again only be used on drones or silicons. (#1191)

* Dronespeak manual is once again infinite use, and can once again only be used on drones or silicons. (#54192)

* Dronespeak manual is once again infinite use, and can once again only be used on drones or silicons.

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
This commit is contained in:
SkyratBot
2020-10-07 20:49:33 +02:00
committed by GitHub
co-authored by Timberpoes
parent 8cf503a4eb
commit bc7ece19fa
+10 -1
View File
@@ -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("<span class='danger'>[user] beats [M] over the head with [src]!</span>", "<span class='userdanger'>[user] beats you over the head with [src]!</span>", "<span class='hear'>You hear smacking.</span>")
return
return ..()