mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
Icons on component scan
- Because RR likes pretty pictures. - Also closes a span properly.
This commit is contained in:
@@ -413,7 +413,7 @@ Class Procs:
|
||||
/obj/machinery/proc/display_parts(mob/user)
|
||||
user << "<span class='notice'>Following parts detected in the machine:</span>"
|
||||
for(var/var/obj/item/C in component_parts)
|
||||
user << "<span class='notice'> [C.name]</span>"
|
||||
user << "<span class='notice'>\icon[C] [C.name]</span>"
|
||||
|
||||
/obj/machinery/examine(mob/user)
|
||||
..(user)
|
||||
|
||||
@@ -172,7 +172,7 @@ var/global/image/fire_overlay = image("icon" = 'icons/effects/fire.dmi', "icon_s
|
||||
var/msg = "*--------* <BR>"
|
||||
|
||||
if(origin_tech)
|
||||
msg += "<span class='notice'>Testing potentials:<BR>"
|
||||
msg += "<span class='notice'>Testing potentials:</span><BR>"
|
||||
var/list/techlvls = params2list(origin_tech)
|
||||
for(var/T in techlvls) //This needs to use the better names.
|
||||
msg += "Tech: [capitalize(T)] | magnitude: [techlvls[T]] <BR>"
|
||||
|
||||
Reference in New Issue
Block a user