Skip to content

Commit

Permalink
[MIRROR] cockroaches adapt to icebox atmos (#1749) (#2691)
Browse files Browse the repository at this point in the history
* cockroaches adapt to icebox atmos (#82325)

## About The Pull Request

![image](https://github.com/tgstation/tgstation/assets/70376633/d1fe33b3-18b6-4189-84e5-f851f6404f80)
on any zlevel with an ice related ztrait they will turn significantly
more cold resistant


## Why It's Good For The Game

fixes  #82312

## Changelog
:cl:
fix:cockroaches adapt to icebox atmos, this is a fix because this
prevents CI failures
/:cl:

* cockroaches adapt to icebox atmos

---------

Co-authored-by: NovaBot <[email protected]>
Co-authored-by: jimmyl <[email protected]>
  • Loading branch information
3 people authored Apr 1, 2024
1 parent 51c21f7 commit c45a4fb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions code/modules/mob/living/basic/vermin/cockroach.dm
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@
var/cockroach_cell_line = CELL_LINE_TABLE_COCKROACH

/mob/living/basic/cockroach/Initialize(mapload)
var/turf/our_turf = get_turf(src)
if(SSmapping.level_trait(our_turf.z, ZTRAIT_SNOWSTORM) || SSmapping.level_trait(our_turf.z, ZTRAIT_ICE_RUINS) || SSmapping.level_trait(our_turf.z, ZTRAIT_ICE_RUINS_UNDERGROUND))
name = "ice-[name]"
real_name = name
desc += "<br>This one seems to have a blue tint and has adapted to the cold."
minimum_survivable_temperature = 140 // 40kelvin below icebox temp
add_atom_colour("#66ccff", FIXED_COLOUR_PRIORITY)
. = ..()
var/static/list/roach_drops = list(/obj/effect/decal/cleanable/insectguts)
AddElement(/datum/element/death_drops, roach_drops)
Expand Down

0 comments on commit c45a4fb

Please sign in to comment.