standardize temperature_expose args (#30903)

* standardize temperature_expose args

* some i missed

* remove dubious use of temperature_expose()

* fix hardsuit tank insertion proc

* remove unused gas_mixture arg

* revert test_tiny.dmm
This commit is contained in:
Toastical
2025-12-01 18:58:38 +00:00
committed by GitHub
parent 27a4e05fdf
commit a1fc8db55f
12 changed files with 16 additions and 24 deletions
+1 -3
View File
@@ -182,9 +182,7 @@
if(src == user.get_item_by_slot(ITEM_SLOT_OUTER_SUIT)) //Make sure the player is not wearing the suit before applying the upgrade.
to_chat(user, "<span class='warning'>You cannot install the upgrade to [src] while wearing it.</span>")
return
if(user.temperature_expose(I))
I.forceMove(src)
if(user.transfer_item_to(I, src))
jetpack = I
to_chat(user, "<span class='notice'>You successfully install the jetpack into [src].</span>")
return
@@ -253,9 +253,9 @@
materials = list(MAT_PLASMA = 1000)
cares_about_temperature = TRUE
/obj/item/clothing/accessory/medal/plasma/temperature_expose(temperature, volume)
/obj/item/clothing/accessory/medal/plasma/temperature_expose(exposed_temperature, exposed_volume)
..()
if(temperature > T0C + 200)
if(exposed_temperature > T0C + 200)
burn_up()
/obj/item/clothing/accessory/medal/plasma/fire_act(datum/gas_mixture/air, exposed_temperature, exposed_volume, global_overlay)