mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user