mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-25 09:31:42 +00:00
Merge pull request #14423 from TheGreatKitsune/circuit_board_examine
Add required components to circuit board examine text
This commit is contained in:
committed by
CHOMPStation2
parent
61b96d004a
commit
7801d8845f
@@ -2,6 +2,17 @@
|
|||||||
#error T_BOARD macro is not defined but we need it!
|
#error T_BOARD macro is not defined but we need it!
|
||||||
#endif
|
#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!
|
// VOREStation specific circuit boards!
|
||||||
|
|
||||||
// Board for the parts lathe in partslathe.dm
|
// Board for the parts lathe in partslathe.dm
|
||||||
|
|||||||
Reference in New Issue
Block a user