Skip to content

Commit

Permalink
Борис, что ты здесь делаешь
Browse files Browse the repository at this point in the history
  • Loading branch information
LordNest committed Dec 27, 2023
1 parent 67f58e9 commit 2167c62
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
2 changes: 0 additions & 2 deletions baystation12.dme
Original file line number Diff line number Diff line change
Expand Up @@ -3328,7 +3328,6 @@
#include "mods\global_modpacks.dm"
#include "mods\_master_files\code\game\world.dm"
#include "mods\_master_files\code\game\gamemodes\ert.dm"
#include "mods\_master_files\code\game\machinery\doors\_airlock.dm"
#include "mods\_master_files\code\game\objects\effects\decals\contraband.dm"
#include "mods\_master_files\code\game\objects\structures\crates_lockers\closets\_closet_appearance_definitions.dm"
#include "mods\_master_files\code\modules\client\asset_cache.dm"
Expand Down Expand Up @@ -3363,7 +3362,6 @@
#include "mods\_master_files\code\modules\culture_descriptor\religion\religions_vox.dm"
#include "mods\_master_files\code\modules\events\gravity.dm"
#include "mods\_master_files\code\modules\mob\new_player\new_player.dm"
#include "mods\_master_files\code\modules\modular_computer\_modular_computer.dm"
#include "mods\_master_files\code\modules\power\gravitygenerator.dm"
#include "mods\_master_files\maps\mapsystem\maps.dm"
#include "mods\_master_files\maps\sierra\sierra_ranks.dm"
Expand Down
4 changes: 0 additions & 4 deletions mods/_master_files/code/game/machinery/doors/_airlock.dm

This file was deleted.

This file was deleted.

19 changes: 19 additions & 0 deletions mods/ntnet/code/NTNet-items.dm
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,22 @@
s.set_up(5, 1, src)
s.start()
return ..()

/obj/machinery/door/airlock/examine(mob/user)
. = ..()
if(hasHUD(user, HUD_IT) && arePowerSystemsOn())
to_chat(user, SPAN_INFO(SPAN_ITALIC("You may notice a small hologram that says: [NTNet_id]")))

/obj/item/modular_computer/examine(mob/user)
. = ..()
if(hasHUD(user, HUD_IT))
if(network_card && network_card.check_functionality() && enabled)
to_chat(user, SPAN_INFO(SPAN_ITALIC("You may notice a small hologram that says: [network_card.get_network_tag()].")))

/obj/machinery/computer/modular/examine(mob/user)
. = ..()
if(hasHUD(user, HUD_IT))
var/datum/extension/interactive/ntos/os = get_extension(src, /datum/extension/interactive/ntos)
var/obj/item/stock_parts/computer/network_card/network_card = os.get_component(PART_NETWORK)
if(istype(network_card) && network_card.check_functionality() && os.on)
to_chat(user, SPAN_INFO(SPAN_ITALIC("You may notice a small hologram that says: [network_card.get_network_tag()].")))

0 comments on commit 2167c62

Please sign in to comment.