diff --git a/code/modules/mob/living/silicon/ai/ai.dm b/code/modules/mob/living/silicon/ai/ai.dm index 092a66b37b3..20b2c502220 100644 --- a/code/modules/mob/living/silicon/ai/ai.dm +++ b/code/modules/mob/living/silicon/ai/ai.dm @@ -17,7 +17,7 @@ real_name = "AI" icon = 'icons/mob/ai.dmi' icon_state = "ai" - move_resist = MOVE_FORCE_VERY_STRONG + move_resist = MOVE_FORCE_OVERPOWERING density = TRUE mobility_flags = ALL status_flags = CANSTUN|CANPUSH @@ -104,7 +104,7 @@ new/obj/structure/AIcore/deactivated(loc) //New empty terminal. return INITIALIZE_HINT_QDEL //Delete AI. - anchored = TRUE + ADD_TRAIT(src, TRAIT_NO_TELEPORT, src) if(L && istype(L, /datum/ai_laws)) laws = L laws.associate(src) @@ -340,14 +340,16 @@ return battery = battery - 50 to_chat(src, "You route power from your backup battery to move the bolts.") - if(move_resist == MOVE_FORCE_VERY_STRONG) - anchored = FALSE + var/is_anchored = FALSE + if(move_resist == MOVE_FORCE_OVERPOWERING) move_resist = MOVE_FORCE_NORMAL + REMOVE_TRAIT(src, TRAIT_NO_TELEPORT, src) else - anchored = TRUE - move_resist = MOVE_FORCE_VERY_STRONG + is_anchored = TRUE + move_resist = MOVE_FORCE_OVERPOWERING + ADD_TRAIT(src, TRAIT_NO_TELEPORT, src) - to_chat(src, "You are now [anchored ? "" : "un"]anchored.") + to_chat(src, "You are now [is_anchored ? "" : "un"]anchored.") // the message in the [] will change depending whether or not the AI is anchored /mob/living/silicon/ai/update_mobility() //If the AI dies, mobs won't go through it anymore