Files
Bubberstation/modular_skyrat/modules/mapping/code/planetary_atmos_helper.dm
b18269e0f5 Porting Condos from Nova, Deletes the Unused Vox Box (#4872)
## About The Pull Request

Title. Porting https://github.com/NovaSector/NovaSector/pull/5020 by
[unit0016](https://github.com/unit0016), an OG. I love them which is why
I shamelessly stole and ported this.

## Why It's Good For The Game

Less piggybacking is good, it also does some... Good...Code... Stuff???
I dunno

## Proof Of Testing
TBD

## Changelog
🆑 LT3, unit0016, OrbisAnima, vinylspiders, Hydrosatan, theSelfish
add: The infinidorms have been rewritten and rethemed significantly,
coming with a handful of new rooms in the process.
fix: Ghost Cafe fishing doesn't affect station lootpools.
fix: Cafe Visitors, like plasmamen and vox get cannisters.
fix: Even if the Ghost Cafe somehow get radios, they won't transmit
anymore. This includes Borgs.
fix: Somehow, multitools returned to Ghost Cafe belts.
del: The not working Vox Box is gone from the Cafe.
code: Instead of being automapped, the Interlink CC office has been
merged into the map.
/🆑

---------

Co-authored-by: Artur Lang <24881678+Arturlang@users.noreply.github.com>
Co-authored-by: Roxy <75404941+TealSeer@users.noreply.github.com>
Co-authored-by: LT3 <83487515+lessthnthree@users.noreply.github.com>
2025-12-25 22:21:43 -08:00

20 lines
640 B
Plaintext

/// Sets every turf in the area to have planetary atmos; which gradually self-corrects.
/obj/effect/planetary_turf_atmos_helper
name = "planetary turf atmos helper"
icon = 'icons/effects/mapping_helpers.dmi'
icon_state = ""
plane = POINT_PLANE
/obj/effect/planetary_turf_atmos_helper/Initialize(mapload)
. = ..()
return INITIALIZE_HINT_LATELOAD
/obj/effect/planetary_turf_atmos_helper/LateInitialize()
var/area/our_area = get_area(src)
for(var/turf/potential_turf in get_area_turfs(our_area, z))
if(!potential_turf.density)
var/turf/open/our_target_turf = potential_turf
our_target_turf.planetary_atmos = TRUE
qdel(src)