- Added a confirmation message for the 'sleep' verb

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3971 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz
2012-07-02 20:26:16 +00:00
parent 507aeac51e
commit 30348f24c4

View File

@@ -529,7 +529,8 @@
usr << "\red You are already sleeping"
return
else
usr.sleeping = 20 //Short nap
if(alert(src,"You sure you want to sleep for a while?","Sleep","Yes","No") == "Yes")
usr.sleeping = 20 //Short nap
/mob/living/carbon/verb/lay_down()
set name = "Lay down / Get up"