Skip to content

Commit

Permalink
Update input.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimasw99 authored Oct 19, 2024
1 parent a0cac51 commit f22d591
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions code/modules/integrated_electronics/subtypes/input.dm
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,6 @@
spawn_flags = IC_SPAWN_RESEARCH
origin_tech = list(TECH_ENGINEERING = 3, TECH_DATA = 3, TECH_BIO = 4)
power_draw_per_use = 80
cooldown_per_use = 50

/obj/item/integrated_circuit/input/examiner/do_work(ord)
if(ord == 1)
Expand All @@ -378,12 +377,6 @@
else
set_pin_data(IC_OUTPUT, 1, H.name)
set_pin_data(IC_OUTPUT, 2, H.desc)

if(istype(H, /mob/living))
var/msg = H.examine(H)
if(msg)
set_pin_data(IC_OUTPUT, 2, msg)

set_pin_data(IC_OUTPUT, 3, H.x-T.x)
set_pin_data(IC_OUTPUT, 4, H.y-T.y)
set_pin_data(IC_OUTPUT, 5, sqrt((H.x-T.x)*(H.x-T.x)+ (H.y-T.y)*(H.y-T.y)))
Expand Down

0 comments on commit f22d591

Please sign in to comment.