User talk:Cauterite

Jump to navigation Jump to search

About this board

Harakoni (talkcontribs)

Hi! Before I get to my question, belated welcome to the wiki! I'm one of the moderators here so please feel free to reach out if you have any questions or issues.

Anyway, I'm just trying to understand your recent edit to Rescue (mostly because I I am unsure if it needs to use the Delta temperature rather than the normal). So assume a rescuing pawn has the default 16 °C (60.8 °F) to 26 °C (78.8 °F) comfy range. They would rescue to anywhere between -74 °C (-101.2 °F) and 116 °C (240.8 °F)? This seems like an extreme range and I can't help but thing Im misinterpreting

Cauterite (talkcontribs)

Hi, That's right, it is a surprisingly extreme range and I wasn't convinced either until I tested it in the game. Indeed the rescue action becomes disabled the instant the temperature in the room crosses the comfy ± 90°C threshold.

This logic is in the Verse.Region.DangerFor(Pawn) function:

range = pawn.SafeTemperatureRange();
  var danger = !range.Includes(temperature) ? (range.ExpandedBy(80).Includes(temperature) ? Danger.Some : Danger.Deadly) : Danger.None;

And SafeTemperatureRange(this Pawn) is essentially:

pawn.ComfortableTemperatureRange().ExpandedBy(10)

So this leads to:

  comfy ± 10°C -> Danger.None,
  comfy ± 90°C -> Danger.Some,
  comfy ± >90°C -> Danger.Deadly.

It turns out 'Danger.Some' is considered 'safe' for rescue.

Hope this puts your mind at ease.

Reply to "Rescue Temperature edit"
There are no older topics