Skip to content

Commit

Permalink
Пробелы на табы
Browse files Browse the repository at this point in the history
  • Loading branch information
SadNinjaSid committed Feb 25, 2024
1 parent 9ed91bd commit 2756afa
Showing 1 changed file with 36 additions and 36 deletions.
72 changes: 36 additions & 36 deletions infinity/code/game/objects/items/devices/datajack.dm
Original file line number Diff line number Diff line change
Expand Up @@ -31,48 +31,48 @@
return

/obj/item/device/multitool/multimeter/datajack/Process()
if(!holder)
qdel_self()
return PROCESS_KILL
if(!Adjacent(holder))
holder.insert_datajack()
return PROCESS_KILL
if(!holder)
qdel_self()
return PROCESS_KILL
if(!Adjacent(holder))
holder.insert_datajack()
return PROCESS_KILL

/obj/item/modular_computer/proc/eject_datajack(mob/living/carbon/human/user)
if(!datajack || datajack.loc != src)
return
if(!datajack || datajack.loc != src)
return

if(!user.put_in_hands(datajack))
to_chat(user, SPAN_WARNING("Datajack cannot be deployed in your hands, dropping it on the ground"))
START_PROCESSING(SSobj, datajack)
return
if(!user.put_in_hands(datajack))
to_chat(user, SPAN_WARNING("Datajack cannot be deployed in your hands, dropping it on the ground"))
START_PROCESSING(SSobj, datajack)
return

START_PROCESSING(SSobj, datajack)
visible_message(
SPAN_WARNING("Datajack ejects from device."),
SPAN_WARNING("You hear coil reeling out something.")
)
START_PROCESSING(SSobj, datajack)
visible_message(
SPAN_WARNING("Datajack ejects from device."),
SPAN_WARNING("You hear coil reeling out something.")
)

/obj/item/modular_computer/proc/insert_datajack()
if(!datajack)
return

STOP_PROCESSING(SSobj, datajack)

if(istype(datajack.loc, /mob/living/carbon/human))

var/mob/living/carbon/human/H = datajack.loc
H.remove_from_mob(datajack, src)
visible_message(
SPAN_WARNING("Datajack moves into portable device."),
SPAN_WARNING("You hear coil reeling back in place")
)
return
visible_message(
SPAN_WARNING("Datajack moves into portable device."),
SPAN_WARNING("You hear coil reeling back in place")
)
datajack.forceMove(src)
if(!datajack)
return

STOP_PROCESSING(SSobj, datajack)

if(istype(datajack.loc, /mob/living/carbon/human))

var/mob/living/carbon/human/H = datajack.loc
H.remove_from_mob(datajack, src)
visible_message(
SPAN_WARNING("Datajack moves into portable device."),
SPAN_WARNING("You hear coil reeling back in place")
)
return
visible_message(
SPAN_WARNING("Datajack moves into portable device."),
SPAN_WARNING("You hear coil reeling back in place")
)
datajack.forceMove(src)

/datum/terminal_command/datajack
name = "datajack"
Expand Down

0 comments on commit 2756afa

Please sign in to comment.