Makes Mobs Lazier and Removes Hard References (#13693)

* Makes Mobs Lazier and Removes Hard References

* fluff
This commit is contained in:
Fox McCloud
2020-06-30 19:52:28 -04:00
committed by GitHub
parent 0dea896023
commit e438ff4d36
31 changed files with 99 additions and 171 deletions
+4 -1
View File
@@ -207,7 +207,10 @@
else if(target != user && !user.restrained() && !user.stat && !user.IsWeakened() && !user.stunned && !user.paralysis)
msg = "[user.name] stuffs [target.name] into the [src]!"
to_chat(user, "You stuff [target.name] into the [src]!")
if(!iscarbon(user))
target.LAssailant = null
else
target.LAssailant = user
add_attack_logs(user, target, "Disposal'ed", !!target.ckey ? null : ATKLOG_ALL)
else
return