Merge pull request #14423 from TheGreatKitsune/circuit_board_examine

Add required components to circuit board examine text
This commit is contained in:
Heroman3003
2023-02-05 06:36:30 +10:00
committed by CHOMPStation2
parent 61b96d004a
commit 7801d8845f

View File

@@ -2,6 +2,17 @@
#error T_BOARD macro is not defined but we need it!
#endif
/obj/item/weapon/circuitboard/get_examine_desc()
. = ..()
if(LAZYLEN(req_components))
var/list/nice_list = list()
for(var/B in req_components)
var/atom/A = B
if(!ispath(A))
continue
nice_list += list("[req_components[A]] [initial(A.name)]")
. += "Required components: [english_list(nice_list)]."
// VOREStation specific circuit boards!
// Board for the parts lathe in partslathe.dm