mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 15:37:36 +01:00
SSair performance improvements (#28271)
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
w_class = WEIGHT_CLASS_TINY
|
||||
throw_speed = 1
|
||||
throw_range = 7
|
||||
cares_about_temperature = TRUE
|
||||
var/state
|
||||
var/datum/gas_mixture/air_contents = null
|
||||
|
||||
@@ -52,7 +53,7 @@
|
||||
burst()
|
||||
return ..()
|
||||
|
||||
/obj/item/latexballon/temperature_expose(datum/gas_mixture/air, temperature, volume)
|
||||
/obj/item/latexballon/temperature_expose(temperature, volume)
|
||||
..()
|
||||
if(temperature > T0C+100)
|
||||
burst()
|
||||
|
||||
@@ -125,6 +125,7 @@ GLOBAL_LIST_INIT(xeno_recipes, list (
|
||||
icon_state = "sheet-wetleather"
|
||||
item_state = "sheet-leather"
|
||||
origin_tech = ""
|
||||
cares_about_temperature = TRUE
|
||||
var/wetness = 30 //Reduced when exposed to high temperautres
|
||||
var/drying_threshold_temperature = 500 //Kelvin to start drying
|
||||
|
||||
@@ -327,7 +328,7 @@ GLOBAL_LIST_INIT(sinew_recipes, list (
|
||||
qdel(src)
|
||||
|
||||
//Step three - drying
|
||||
/obj/item/stack/sheet/wetleather/temperature_expose(datum/gas_mixture/air, exposed_temperature, exposed_volume)
|
||||
/obj/item/stack/sheet/wetleather/temperature_expose(exposed_temperature, exposed_volume)
|
||||
..()
|
||||
if(exposed_temperature >= drying_threshold_temperature)
|
||||
wetness--
|
||||
|
||||
Reference in New Issue
Block a user