Merge pull request #9746 from Ghommie/Ghommie-cit328

Ports "Cleans up the new alt clicking functionality" from /tg/
This commit is contained in:
kevinz000
2019-11-10 11:43:41 -07:00
committed by Dip
parent 14b3fa22ce
commit c59c9e88ae
8 changed files with 156 additions and 405 deletions

View File

@@ -304,7 +304,9 @@
return
var/alloy_id = params["id"]
var/datum/design/alloy = stored_research.isDesignResearchedID(alloy_id)
if((check_access(inserted_scan_id) || allowed(usr)) && alloy)
var/mob/M = usr
var/obj/item/card/id/I = M.get_idcard(TRUE)
if((check_access(I) || allowed(usr)) && alloy)
var/smelt_amount = can_smelt_alloy(alloy)
var/desired = 0
if (params["sheets"])