mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-21 20:11:04 +01:00
Pretty Parts (#10362)
Part replacers now output the contents of closed machines nicely.
This commit is contained in:
@@ -388,9 +388,8 @@ Class Procs:
|
||||
RefreshParts()
|
||||
update_icon()
|
||||
else
|
||||
to_chat(user, "<span class='notice'>Following parts detected in the machine:</span>")
|
||||
for(var/obj/item/C in component_parts)
|
||||
to_chat(user, "<span class='notice'> [C.name]</span>")
|
||||
to_chat(user, "<span class='notice'>The following parts have been detected in \the [src]:</span>")
|
||||
to_chat(user, counting_english_list(component_parts))
|
||||
if(parts_replaced) //only play sound when RPED actually replaces parts
|
||||
playsound(src, 'sound/items/rped.ogg', 40, TRUE)
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user