Sanity for the "give" command, changelog.

This commit is contained in:
SkyMarshal
2012-06-23 21:38:39 -07:00
parent e0edc29acf
commit 484c01498d
2 changed files with 16 additions and 0 deletions
+4
View File
@@ -23,6 +23,8 @@ mob/living/carbon/verb/give()
if(src.r_hand == null)
switch(alert(src,"[usr] wants to give you \a [I]?",,"Yes","No"))
if("Yes")
if(!I)
return
if(!check_can_reach(usr,src))
usr << "You need to keep in reaching distance."
src << "[usr.name] moved too far away."
@@ -52,6 +54,8 @@ mob/living/carbon/verb/give()
else if(src.l_hand == null)
switch(alert(src,"[usr] wants to give you \a [I]?",,"Yes","No"))
if("Yes")
if(!I)
return
if(!check_can_reach(usr,src))
usr << "You need to keep in reaching distance."
src << "[usr.name] moved too far away."