mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-20 20:37:34 +01:00
Small improvement to AI core area and attack code + AI Repairs (#21292)
- Adds missing blast door to AI Core Area - Small improvement to AI attackby code - Nanopaste now can repair AI, allowing AI to be repairable --------- Signed-off-by: Ben <91219575+Ben10083@users.noreply.github.com> Co-authored-by: Ben10083 <Ben10083@users.noreply.github.com> Co-authored-by: Matt Atlas <mattiathebest2000@hotmail.it>
This commit is contained in:
@@ -779,8 +779,10 @@ GLOBAL_LIST_INIT(ai_verbs_default, list(
|
||||
|
||||
|
||||
/mob/living/silicon/ai/attackby(obj/item/attacking_item, mob/user)
|
||||
if(istype(attacking_item, /obj/item/aicard))
|
||||
if(user.a_intent == I_HURT) // So you can attack an AI with a wrench, if you really wanted to.
|
||||
return ..()
|
||||
|
||||
if(istype(attacking_item, /obj/item/aicard))
|
||||
var/obj/item/aicard/card = attacking_item
|
||||
card.grab_ai(src, user)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user