Restricts micro size

This commit is contained in:
Heroman
2022-07-14 04:46:52 +10:00
parent 61499f11a8
commit 5d6be3d33e
+3
View File
@@ -229,6 +229,9 @@
if(!H.held_mob)
to_chat(user, "<span class='warning'>This holder has nobody in it? Yell at a developer!</span>")
return
if(H.held_mob.get_effective_size() > 50)
to_chat(user, "<span class='warning'>\The [H] is too big to fit inside!</span>")
return
user.drop_from_inventory(H)
H.forceMove(src)
trapped = H