Refactors some procs from unsorted.dm helper to better places (#10443)

This commit is contained in:
Jiří Barouš
2020-11-07 11:28:23 -03:00
committed by GitHub
parent ca193a6bc6
commit cf58a96cc4
17 changed files with 247 additions and 258 deletions
@@ -62,7 +62,7 @@ Note: Must be placed within 3 tiles of the R&D Console
to_chat(user, "<span class='notice'>\The [src] must be linked to an R&D console first.</span>")
return
if(istype(O, /obj/item) && !loaded_item)
if(!dropsafety(O)) //Don't put your module items in there!
if(!O.dropsafety()) //Don't put your module items in there!
return
if(!O.origin_tech)
to_chat(user, "<span class='notice'>This doesn't seem to have a tech origin.</span>")
@@ -82,4 +82,4 @@ Note: Must be placed within 3 tiles of the R&D Console
linked_console.screen = 2.2
linked_console.updateUsrDialog()
return 1
return
return