Remove drop_item, drop_item_v, put_in_hands_or_del

This commit is contained in:
Jordan Brown
2017-10-07 13:36:33 -04:00
committed by CitadelStationBot
parent 5f4b3594d0
commit 075cb673c0
152 changed files with 1778 additions and 425 deletions
+1 -2
View File
@@ -141,8 +141,7 @@
to_chat(user, "<span class='notice'>You reverse [src]'s direction.</span>")
else if(user.a_intent != INTENT_HARM)
if(user.drop_item())
I.loc = src.loc
user.transferItemToLoc(I, drop_location())
else
return ..()
+1 -1
View File
@@ -96,7 +96,7 @@
return
if(user.a_intent != INTENT_HARM)
if(!user.drop_item() || (I.flags_1 & ABSTRACT_1))
if((I.flags_1 & ABSTRACT_1) || !user.temporarilyRemoveItemFromInventory(I))
return
place_item_in_disposal(I, user)
update_icon()