mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-14 16:44:33 +01:00
Merge remote-tracking branch 'upstream/master' into hit-reactions
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
to_chat(M, "<span class='notice'>Your [Item.name] has been added to your [M.back.name].</span>")
|
||||
if(ok == 0)
|
||||
for(var/obj/item/weapon/storage/S in M.contents) // Try to place it in any item that can store stuff, on the mob.
|
||||
if (S.contents.len < S.storage_slots)
|
||||
if(S.contents.len < S.storage_slots)
|
||||
Item.loc = S
|
||||
ok = 1
|
||||
to_chat(M, "<span class='notice'>Your [Item.name] has been added to your [S.name].</span>")
|
||||
@@ -58,7 +58,7 @@
|
||||
if(newname)
|
||||
Item.name = newname
|
||||
|
||||
if (ok == 0) // Finally, since everything else failed, place it on the ground
|
||||
if(ok == 0) // Finally, since everything else failed, place it on the ground
|
||||
Item.loc = get_turf(M.loc)
|
||||
|
||||
HackProperties(Item,propadjust)
|
||||
|
||||
Reference in New Issue
Block a user