Merge pull request #13193 from Citadel-Station-13/silicons-patch-17
buffsi ntegrated circuit medium screens
This commit is contained in:
@@ -44,18 +44,18 @@
|
||||
/obj/item/integrated_circuit/output/screen/large/do_work()
|
||||
..()
|
||||
|
||||
if(isliving(assembly.loc))//this whole block just returns if the assembly is neither in a mobs hands or on the ground
|
||||
var/mob/living/H = assembly.loc
|
||||
if(H.get_active_held_item() != assembly && H.get_inactive_held_item() != assembly)
|
||||
return
|
||||
else
|
||||
if(!isturf(assembly.loc))
|
||||
return
|
||||
|
||||
var/atom/host = assembly || src
|
||||
var/list/mobs = list()
|
||||
for(var/mob/M in range(0, get_turf(src)))
|
||||
mobs += M
|
||||
if(isliving(assembly.loc))
|
||||
mobs += assembly.loc
|
||||
var/mob/living/L = assembly.loc
|
||||
if(L.is_holding(src))
|
||||
for(var/mob/M in range(1, get_turf(src)))
|
||||
mobs += M
|
||||
else
|
||||
for(var/mob/M in range(2, get_turf(src)))
|
||||
mobs += M
|
||||
|
||||
var/atom/host = assembly || src
|
||||
to_chat(mobs, "<span class='notice'>[icon2html(host.icon, world, host.icon_state)] flashes a message: [stuff_to_display]</span>")
|
||||
host.investigate_log("displayed \"[html_encode(stuff_to_display)]\" as [type].", INVESTIGATE_CIRCUIT)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user