mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
Proper name extraction
Uses the Protolathe procs to obtain the correct tech and material names!
This commit is contained in:
@@ -52,7 +52,7 @@ won't update every console in existence) but it's more of a hassle to do. Also,
|
||||
var/list/datum/design/matching_designs = list() //for the search function
|
||||
|
||||
|
||||
/obj/machinery/computer/rdconsole/proc/CallTechName(ID) //A simple helper proc to find the name of a tech with a given ID.
|
||||
/proc/CallTechName(ID) //A simple helper proc to find the name of a tech with a given ID.
|
||||
var/datum/tech/check_tech
|
||||
var/return_name = null
|
||||
for(var/T in typesof(/datum/tech) - /datum/tech)
|
||||
@@ -66,7 +66,7 @@ won't update every console in existence) but it's more of a hassle to do. Also,
|
||||
|
||||
return return_name
|
||||
|
||||
/obj/machinery/computer/rdconsole/proc/CallMaterialName(ID)
|
||||
proc/CallMaterialName(ID)
|
||||
var/datum/reagent/temp_reagent
|
||||
var/return_name = null
|
||||
if (copytext(ID, 1, 2) == "$")
|
||||
|
||||
Reference in New Issue
Block a user