mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 21:48:39 +01:00
Dronespeak manual is once again infinite use, and can once again only be used on drones or silicons. (#54192)
This commit is contained in:
@@ -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 ..()
|
||||
|
||||
Reference in New Issue
Block a user