mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 19:17:50 +01:00
Prevents TK moving objects with people in or buckled to it (#16160)
* Prevents TK moving objects with people in or buckled to it * Better proc for mob checking Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
This commit is contained in:
co-authored by
AffectedArc07
parent
0690c3dddd
commit
ec967cbaa7
@@ -139,6 +139,12 @@
|
||||
|
||||
|
||||
else
|
||||
if(focus.buckled_mobs)
|
||||
to_chat(user, "<span class='notice'>This object is too heavy to move with something buckled to it!</span>")
|
||||
return
|
||||
if(length(focus.client_mobs_in_contents))
|
||||
to_chat(user, "<span class='notice'>This object is too heavy to move with something inside of it!</span>")
|
||||
return
|
||||
apply_focus_overlay()
|
||||
focus.throw_at(target, 10, 1, user)
|
||||
last_throw = world.time
|
||||
|
||||
Reference in New Issue
Block a user