Adjusts all get_temperature() accesses to compare it to a value (#95236)

## About The Pull Request

``get_temperature()`` returns a value in kelvins, not a boolean. Trying
to treat it as such will result in ***any*** item with a thermal value,
like condensers, being treated as a lighter.

## Why It's Good For The Game

Consistency, allows us to have actually functioning cooling items that
don't act like lighters all the time.

## Changelog
🆑
fix: Condensers can no longer be used to ignite things
/🆑
This commit is contained in:
SmArtKar
2026-02-24 21:05:44 -05:00
committed by GitHub
parent 8f9f466003
commit b42ebeb4c2
20 changed files with 28 additions and 25 deletions
@@ -499,7 +499,7 @@ GLOBAL_LIST_INIT(abductor_recipes, list ( \
return list(/datum/reagent/carbon = 20)
/obj/item/stack/sheet/mineral/coal/attackby(obj/item/W, mob/user, list/modifiers, list/attack_modifiers)
if(W.get_temperature() > 300)//If the temperature of the object is over 300, then ignite
if(W.get_temperature() >= FIRE_MINIMUM_TEMPERATURE_TO_EXIST) //If the temperature of the object is hot enough to start a fire, then ignite
var/turf/T = get_turf(src)
message_admins("Coal ignited by [ADMIN_LOOKUPFLW(user)] in [ADMIN_VERBOSEJMP(T)]")
user.log_message("ignited coal", LOG_GAME)