mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Merge pull request #5651 from CHOMPStation2/upstream-merge-14423
[MIRROR] Add required components to circuit board examine text
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user