mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
cart.dm: Removed a useless line in my commit from r2436.
FEA_gas_mixture.dm: Removed comments that documented a removal of useless variables. I will let the SVN handle documenting that. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4752 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -546,12 +546,6 @@ What are the archived variables for?
|
|||||||
var/old_self_heat_capacity = 0
|
var/old_self_heat_capacity = 0
|
||||||
var/old_sharer_heat_capacity = 0
|
var/old_sharer_heat_capacity = 0
|
||||||
|
|
||||||
|
|
||||||
//These two variables have been commented out. The author did not leave documentation on what they were supposed to be for. -Rockdtben
|
|
||||||
//These two variables are only changed and do not exist outside of this proc. -Rockdtben
|
|
||||||
//var/heat_self_to_sharer = 0
|
|
||||||
//var/heat_sharer_to_self = 0
|
|
||||||
|
|
||||||
var/heat_capacity_self_to_sharer = 0
|
var/heat_capacity_self_to_sharer = 0
|
||||||
var/heat_capacity_sharer_to_self = 0
|
var/heat_capacity_sharer_to_self = 0
|
||||||
|
|
||||||
@@ -561,28 +555,22 @@ What are the archived variables for?
|
|||||||
if(delta_air)
|
if(delta_air)
|
||||||
var/air_heat_capacity = SPECIFIC_HEAT_AIR*delta_air
|
var/air_heat_capacity = SPECIFIC_HEAT_AIR*delta_air
|
||||||
if(delta_air > 0)
|
if(delta_air > 0)
|
||||||
//heat_self_to_sharer += air_heat_capacity*temperature_archived
|
|
||||||
heat_capacity_self_to_sharer += air_heat_capacity
|
heat_capacity_self_to_sharer += air_heat_capacity
|
||||||
else
|
else
|
||||||
//heat_sharer_to_self -= air_heat_capacity*sharer.temperature_archived
|
|
||||||
heat_capacity_sharer_to_self -= air_heat_capacity
|
heat_capacity_sharer_to_self -= air_heat_capacity
|
||||||
|
|
||||||
if(delta_carbon_dioxide)
|
if(delta_carbon_dioxide)
|
||||||
var/carbon_dioxide_heat_capacity = SPECIFIC_HEAT_CDO*delta_carbon_dioxide
|
var/carbon_dioxide_heat_capacity = SPECIFIC_HEAT_CDO*delta_carbon_dioxide
|
||||||
if(delta_carbon_dioxide > 0)
|
if(delta_carbon_dioxide > 0)
|
||||||
//heat_self_to_sharer += carbon_dioxide_heat_capacity*temperature_archived
|
|
||||||
heat_capacity_self_to_sharer += carbon_dioxide_heat_capacity
|
heat_capacity_self_to_sharer += carbon_dioxide_heat_capacity
|
||||||
else
|
else
|
||||||
//heat_sharer_to_self -= carbon_dioxide_heat_capacity*sharer.temperature_archived
|
|
||||||
heat_capacity_sharer_to_self -= carbon_dioxide_heat_capacity
|
heat_capacity_sharer_to_self -= carbon_dioxide_heat_capacity
|
||||||
|
|
||||||
if(delta_toxins)
|
if(delta_toxins)
|
||||||
var/toxins_heat_capacity = SPECIFIC_HEAT_TOXIN*delta_toxins
|
var/toxins_heat_capacity = SPECIFIC_HEAT_TOXIN*delta_toxins
|
||||||
if(delta_toxins > 0)
|
if(delta_toxins > 0)
|
||||||
//heat_self_to_sharer += toxins_heat_capacity*temperature_archived
|
|
||||||
heat_capacity_self_to_sharer += toxins_heat_capacity
|
heat_capacity_self_to_sharer += toxins_heat_capacity
|
||||||
else
|
else
|
||||||
//heat_sharer_to_self -= toxins_heat_capacity*sharer.temperature_archived
|
|
||||||
heat_capacity_sharer_to_self -= toxins_heat_capacity
|
heat_capacity_sharer_to_self -= toxins_heat_capacity
|
||||||
|
|
||||||
old_self_heat_capacity = heat_capacity()*group_multiplier
|
old_self_heat_capacity = heat_capacity()*group_multiplier
|
||||||
@@ -624,10 +612,8 @@ What are the archived variables for?
|
|||||||
if(delta)
|
if(delta)
|
||||||
var/individual_heat_capacity = trace_gas.specific_heat*delta
|
var/individual_heat_capacity = trace_gas.specific_heat*delta
|
||||||
if(delta > 0)
|
if(delta > 0)
|
||||||
//heat_self_to_sharer += individual_heat_capacity*temperature_archived
|
|
||||||
heat_capacity_self_to_sharer += individual_heat_capacity
|
heat_capacity_self_to_sharer += individual_heat_capacity
|
||||||
else
|
else
|
||||||
//heat_sharer_to_self -= individual_heat_capacity*sharer.temperature_archived
|
|
||||||
heat_capacity_sharer_to_self -= individual_heat_capacity
|
heat_capacity_sharer_to_self -= individual_heat_capacity
|
||||||
|
|
||||||
moved_moles += delta
|
moved_moles += delta
|
||||||
@@ -652,7 +638,6 @@ What are the archived variables for?
|
|||||||
|
|
||||||
//Guaranteed transfer from sharer to self
|
//Guaranteed transfer from sharer to self
|
||||||
var/individual_heat_capacity = trace_gas.specific_heat*delta
|
var/individual_heat_capacity = trace_gas.specific_heat*delta
|
||||||
//heat_sharer_to_self += individual_heat_capacity*sharer.temperature_archived
|
|
||||||
heat_capacity_sharer_to_self += individual_heat_capacity
|
heat_capacity_sharer_to_self += individual_heat_capacity
|
||||||
|
|
||||||
moved_moles += -delta
|
moved_moles += -delta
|
||||||
|
|||||||
@@ -282,7 +282,6 @@ Code:
|
|||||||
if (43) //Muskets' and Rockdtben's power monitor :D
|
if (43) //Muskets' and Rockdtben's power monitor :D
|
||||||
menu = "<h4><img src=pda_power.png> Power Monitors - Please select one</h4><BR>"
|
menu = "<h4><img src=pda_power.png> Power Monitors - Please select one</h4><BR>"
|
||||||
powmonitor = null
|
powmonitor = null
|
||||||
powermonitors = null
|
|
||||||
powermonitors = list()
|
powermonitors = list()
|
||||||
var/powercount = 0
|
var/powercount = 0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user