Skip to content

Thoroughly fix SCP-173 + Fix Celthermia warning

Rob Nelson requested to merge pull/8257/SCP-173 into Bleeding-Edge

Created by: dylanstrategie

SCP-173 wasn't functioning correctly for a while, notably its sight code. After a bit of digging and formatting, I realized that SCP-173 was considering itself in full darkness 100 % of the time due to deprecated code (turf luminosity var)

I changed it to check if any lights affect the turf. Logically, if no lights affect the turf, it is in full darkness

  • Fix SCP-173 sightcode not working properly, SCP-173 should no longer ignore mob's sight on him

Other fixes and changes :

  • Removed grabbing and convoluted attack code from the mob. SCP-173 now instantly deals critical head damage (neck snap) once it is on a mob's tile and no-one else is looking at it. Hopefully you can't cheese it again by just running, if that happens I guess I'll throw in a Paralyze again
  • Changed all of SCP-173's actions to consider if a mob is now looking at it before proceeding. This means SCP-173 will now stop breaking its way into places or sliding into a vent if a mob looks at it
  • Vent crawl now takes five full seconds and will be interrupted if a mob starts looking at it
  • Fix warning in thermoregulation file. The commented out part wasn't big enough

This was tested and seems to work swell. Only oddity is that SCP-173 does not consider full darkness tiles for wandering/targeting unless they are adjacent to it. Won't fix because looks flavorful and you will still get snapped if you decide to turn on any light in SCP-173's real visual range

Merge request reports