We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 785e66c commit 1307687Copy full SHA for 1307687
code/game/machinery/doors/table.dm
@@ -92,6 +92,14 @@
92
/obj/machinery/door/table/door_animate(animation) // no spritework for it
93
return
94
95
+/obj/machinery/door/table/attack_ai(mob/user) //those aren't really machinery without electronics in them
96
+ if(electronics) //likewise, if they exist, treat as normal doors
97
+ return TryToSwitchState(user)
98
+ if(isAI(user)) //so the AI can't open it
99
+ return
100
+ else if(isrobot(user) && get_dist(user,src) <= 1) //but robots can, not remotely though
101
+ return TryToSwitchState(user) //also >nesting if statements
102
+
103
/obj/machinery/door/table/attack_paw(mob/user)
104
if(M_HULK in user.mutations)
105
user.do_attack_animation(src, user)
0 commit comments