some more stuff

This commit is contained in:
Geevies
2020-04-15 21:54:01 +02:00
parent d41a4e5926
commit 7200a638a8
7 changed files with 13 additions and 9 deletions

View File

@@ -2,8 +2,8 @@
..()
if(Adjacent(user))
to_chat(user, FONT_SMALL(SPAN_NOTICE("It contains the following hardware:")))
for(var/CH in get_all_components())
to_chat(user, FONT_SMALL(SPAN_NOTICE(" - [capitalize_first_letters(CH)]")))
for(var/obj/CH in get_all_components())
to_chat(user, FONT_SMALL(SPAN_NOTICE(" - [capitalize_first_letters(CH.name)]")))
if(damage > broken_damage)
to_chat(user, SPAN_DANGER("It is heavily damaged!"))
else if(damage)