/obj/machinery/hologram_ai/New() ..() /obj/machinery/hologram_ai/attack_ai(user as mob) src.show_console(user) return /obj/machinery/hologram_ai/proc/render() var/icon/I = new /icon('human.dmi', "body_m_s") if (src.lumens >= 0) I.Blend(rgb(src.lumens, src.lumens, src.lumens), ICON_ADD) else I.Blend(rgb(- src.lumens, -src.lumens, -src.lumens), ICON_SUBTRACT) I.Blend(new /icon('human.dmi', "mouth_m_s"), ICON_OVERLAY) I.Blend(new /icon('human.dmi', "underwear1_m_s"), ICON_OVERLAY) var/icon/U = new /icon('human_face.dmi', "hair_a_s") U.Blend(rgb(src.h_r, src.h_g, src.h_b), ICON_ADD) I.Blend(U, ICON_OVERLAY) src.projection.icon = I /obj/machinery/hologram_ai/proc/show_console(var/mob/user as mob) var/dat user.machine = src if (src.temp) dat = text("[]

Clear", src.temp, src) else dat = text("Hologram Status:
\nPower: []
\nHologram Control:
\nColor Luminosity: []/220 \[Reset\]
\nLighten: 1 10
\nDarken: 1 10
\n
\nHair Color: ([],[],[]) \[Reset\]
\nRed (0-255): \[0\] -10 -1 [] 1 10 \[255\]
\nGreen (0-255): \[0\] -10 -1 [] 1 10 \[255\]
\nBlue (0-255): \[0\] -10 -1 [] 1 10 \[255\]
", src, (src.projection ? "On" : "Off"), -src.lumens + 35, src, src, src, src, src, src.h_r, src.h_g, src.h_b, src, src, src, src, src.h_r, src, src, src, src, src, src, src.h_g, src, src, src, src, src, src, src.h_b, src, src, src) user << browse(dat, "window=hologram_console") onclose(user, "hologram_console") return /obj/machinery/hologram_ai/Topic(href, href_list) ..() if (!istype(usr, /mob/living/silicon/ai)) return if (href_list["power"]) if (src.projection) src.icon_state = "hologram0" //src.projector.projection = null del(src.projection) else src.projection = new /obj/projection( src.loc ) src.projection.icon = 'human.dmi' src.projection.icon_state = "male" src.icon_state = "hologram1" src.render() else if (href_list["h_r"]) if (src.projection) src.h_r += text2num(href_list["h_r"]) src.h_r = min(max(src.h_r, 0), 255) render() else if (href_list["h_g"]) if (src.projection) src.h_g += text2num(href_list["h_g"]) src.h_g = min(max(src.h_g, 0), 255) render() else if (href_list["h_b"]) if (src.projection) src.h_b += text2num(href_list["h_b"]) src.h_b = min(max(src.h_b, 0), 255) render() else if (href_list["light"]) if (src.projection) src.lumens += text2num(href_list["light"]) src.lumens = min(max(src.lumens, -185.0), 35) render() else if (href_list["reset"]) if (src.projection) src.lumens = 0 render() else if (href_list["temp"]) src.temp = null src.show_console(usr)