mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 19:52:40 +00:00
Merge branch 'master' of github.com:Baystation12/Baystation12 into TGUpdates
This commit is contained in:
@@ -1208,7 +1208,6 @@
|
|||||||
#include "code\WorkInProgress\virus2\monkeydispensor.dm"
|
#include "code\WorkInProgress\virus2\monkeydispensor.dm"
|
||||||
#include "code\WorkInProgress\virus2\Prob.dm"
|
#include "code\WorkInProgress\virus2\Prob.dm"
|
||||||
#include "code\WorkInProgress\Wrongnumber\weldbackpack.dm"
|
#include "code\WorkInProgress\Wrongnumber\weldbackpack.dm"
|
||||||
#include "code\ZAS\Airflow.dm"
|
|
||||||
#include "code\ZAS\Connection.dm"
|
#include "code\ZAS\Connection.dm"
|
||||||
#include "code\ZAS\Creation.dm"
|
#include "code\ZAS\Creation.dm"
|
||||||
#include "code\ZAS\Definition.dm"
|
#include "code\ZAS\Definition.dm"
|
||||||
|
|||||||
@@ -51,8 +51,8 @@ zone
|
|||||||
//Add checks to ensure that we're not sucking air out of an empty room.
|
//Add checks to ensure that we're not sucking air out of an empty room.
|
||||||
if(total_space && air.total_moles > 0.1 && air.temperature > TCMB+0.5)
|
if(total_space && air.total_moles > 0.1 && air.temperature > TCMB+0.5)
|
||||||
//If there is space, air should flow out of the zone.
|
//If there is space, air should flow out of the zone.
|
||||||
if(abs(air.pressure) > vsc.airflow_lightest_pressure)
|
//if(abs(air.pressure) > vsc.airflow_lightest_pressure)
|
||||||
AirflowSpace(src)
|
// AirflowSpace(src)
|
||||||
ShareSpace(air,total_space*(zone_share_percent/100))
|
ShareSpace(air,total_space*(zone_share_percent/100))
|
||||||
|
|
||||||
//React the air here.
|
//React the air here.
|
||||||
@@ -109,8 +109,8 @@ zone
|
|||||||
for(var/zone/Z in connected_zones)
|
for(var/zone/Z in connected_zones)
|
||||||
//Ensure we're not doing pointless calculations on equilibrium zones.
|
//Ensure we're not doing pointless calculations on equilibrium zones.
|
||||||
if(abs(air.total_moles - Z.air.total_moles) > 0.1 || abs(air.temperature - Z.air.temperature) > 0.1)
|
if(abs(air.total_moles - Z.air.total_moles) > 0.1 || abs(air.temperature - Z.air.temperature) > 0.1)
|
||||||
if(abs(Z.air.pressure - air.pressure) > vsc.airflow_lightest_pressure)
|
//if(abs(Z.air.pressure - air.pressure) > vsc.airflow_lightest_pressure)
|
||||||
Airflow(src,Z)
|
// Airflow(src,Z)
|
||||||
ShareRatio(air,Z.air,connected_zones[Z]*(zone_share_percent/100))
|
ShareRatio(air,Z.air,connected_zones[Z]*(zone_share_percent/100))
|
||||||
|
|
||||||
proc/ShareRatio(datum/gas_mixture/A, datum/gas_mixture/B, ratio)
|
proc/ShareRatio(datum/gas_mixture/A, datum/gas_mixture/B, ratio)
|
||||||
|
|||||||
@@ -134,10 +134,8 @@ obj/machinery/computer/forensic_scanning
|
|||||||
authenticated = 1
|
authenticated = 1
|
||||||
updateDialog()
|
updateDialog()
|
||||||
return
|
return
|
||||||
var/obj/item/weapon/card/id/I = M.equipped()
|
if (allowed(M))
|
||||||
if (I && istype(I))
|
authenticated = 1
|
||||||
if(src.check_access(I))
|
|
||||||
authenticated = 1
|
|
||||||
//usr << "\green Access Granted"
|
//usr << "\green Access Granted"
|
||||||
//if(!authenticated)
|
//if(!authenticated)
|
||||||
//usr << "\red Access Denied"
|
//usr << "\red Access Denied"
|
||||||
|
|||||||
@@ -4,4 +4,16 @@ mob/living/carbon/human
|
|||||||
var/image/sec_img
|
var/image/sec_img
|
||||||
var/image/sec2_img
|
var/image/sec2_img
|
||||||
var/image/imp_img
|
var/image/imp_img
|
||||||
var/image/health_img
|
var/image/health_img
|
||||||
|
|
||||||
|
mob/New()
|
||||||
|
. = ..()
|
||||||
|
antag_img = image('icons/mob/hud.dmi',src)
|
||||||
|
|
||||||
|
mob/living/carbon/human/New()
|
||||||
|
. = ..()
|
||||||
|
med_img = image('icons/mob/hud.dmi',src)
|
||||||
|
sec_img = image('icons/mob/hud.dmi',src)
|
||||||
|
sec2_img = image('icons/mob/hud.dmi',src)
|
||||||
|
imp_img = image('icons/mob/hud.dmi',src)
|
||||||
|
health_img = image('icons/mob/hud.dmi',src)
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 3.0 KiB |
8459
maps/Antiqua.dmm
8459
maps/Antiqua.dmm
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user