From 7ca01a7c34c16015a7758d75c159488c39c436ca Mon Sep 17 00:00:00 2001 From: datlo Date: Tue, 22 Jan 2019 04:21:01 +0000 Subject: [PATCH] add harmless help intent attacks --- code/modules/library/lib_items.dm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/code/modules/library/lib_items.dm b/code/modules/library/lib_items.dm index f893657ded7..03d610406fa 100644 --- a/code/modules/library/lib_items.dm +++ b/code/modules/library/lib_items.dm @@ -170,7 +170,7 @@ force = 2 throwforce = 2 w_class = WEIGHT_CLASS_NORMAL //upped to three because books are, y'know, pretty big. (and you could hide them inside eachother recursively forever) - attack_verb = list("bashed", "whacked", "educated") + attack_verb = list("bashed", "whacked") burn_state = FLAMMABLE var/dat // Actual page content @@ -285,6 +285,14 @@ else return ..() +/obj/item/book/attack(mob/M, mob/living/user) + if(user.a_intent == INTENT_HELP) + force = 0 + attack_verb = list("educated") + else + force = initial(force) + attack_verb = list("bashed", "whacked") + ..() /* * Barcode Scanner