diff --git a/code/modules/mob/living/silicon/pai/pai.dm b/code/modules/mob/living/silicon/pai/pai.dm index 7594dae17b0..8c79ef206a9 100644 --- a/code/modules/mob/living/silicon/pai/pai.dm +++ b/code/modules/mob/living/silicon/pai/pai.dm @@ -432,7 +432,22 @@ //Overriding this will stop a number of headaches down the track. /mob/living/silicon/pai/attackby(obj/item/weapon/W as obj, mob/user as mob, params) - if(W.force) + if(istype(W, /obj/item/stack/nanopaste)) + var/obj/item/stack/nanopaste/N = W + if (stat == DEAD) + user << "\The [src] is beyond help, at this point." + else if (getBruteLoss() || getFireLoss()) + adjustBruteLoss(-15) + adjustFireLoss(-15) + updatehealth() + N.use(1) + user.visible_message("[user.name] applied some [W] at [src]'s damaged areas.",\ + "You apply some [W] at [src.name]'s damaged areas.") + else + user << "All [src.name]'s systems are nominal." + + return + else if(W.force) visible_message("[user.name] attacks [src] with [W]!") src.adjustBruteLoss(W.force) src.updatehealth()