First commit of this big PR

These are the files with just tiny tweaks. Mostly modify an object's attackby so it does "return ..()" instead of "..()".
If there are other things in this commit, the PR's description will explain them.
This commit is contained in:
phil235
2016-04-24 20:26:24 +02:00
parent d4c18082f8
commit 0caa59b21a
207 changed files with 672 additions and 758 deletions

View File

@@ -145,6 +145,7 @@ FLOOR SAFES
/obj/structure/safe/attackby(obj/item/I, mob/user, params)
if(open)
. = 1 //no afterattack
if(I.w_class + space <= maxspace)
space += I.w_class
if(!user.drop_item())
@@ -157,10 +158,10 @@ FLOOR SAFES
else
user << "<span class='notice'>[I] won't fit in [src].</span>"
return
else if(istype(I, /obj/item/clothing/tie/stethoscope))
user << "<span class='warning'>Hold [I] in one of your hands while you manipulate the dial!</span>"
else
if(istype(I, /obj/item/clothing/tie/stethoscope))
user << "<span class='warning'>Hold [I] in one of your hands while you manipulate the dial!</span>"
return
return ..()
obj/structure/safe/blob_act()