mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-21 04:48:18 +01:00
NTNet Ethernet Bugfix (#10305)
* NTNet Ethernet Tweak * Update geeves-ntnet_comp_stuff.yml * centcomm computers
This commit is contained in:
@@ -60,19 +60,22 @@ var/global/ntnet_card_uid = 1
|
||||
return 0
|
||||
if(!check_functionality())
|
||||
return 0
|
||||
if(ethernet) // Computer is connected via wired connection.
|
||||
return 3
|
||||
if(!ntnet_global || !ntnet_global.check_function(specific_action)) // NTNet is down and we are not connected via wired connection. No signal.
|
||||
if(!ntnet_global || !ntnet_global.check_function(specific_action))
|
||||
return 0
|
||||
|
||||
if(parent_computer)
|
||||
var/turf/T = get_turf(parent_computer)
|
||||
if((T && istype(T)) && isStationLevel(T.z))
|
||||
// Computer is on station. Low/High signal depending on what type of network card you have
|
||||
if(long_range)
|
||||
if(ethernet)
|
||||
return 3
|
||||
else if(long_range)
|
||||
return 2
|
||||
else
|
||||
return 1
|
||||
var/area/A = get_area(parent_computer)
|
||||
if(A.centcomm_area && ethernet)
|
||||
return 3
|
||||
|
||||
if(long_range) // Computer is not on station, but it has upgraded network card. Low signal.
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user