Files
Shadow-Quill 14aec07fc4 Removes Pollution (#3725)
## About The Pull Request

deletes pollution

## Why It's Good For The Game

`The odor of decaying waste fills your nostrils...`

## Changelog
🆑
del: Due to new environmental regulations, we have removed all
pollutants from our space stations.
/🆑

---------

Co-authored-by: lessthanthree <83487515+lessthnthree@users.noreply.github.com>
Co-authored-by: Roxy <75404941+TealSeer@users.noreply.github.com>
2025-05-06 21:52:01 -04:00

14 lines
789 B
Plaintext

// Proc taken from yogstation, credit to nichlas0010 for the original
ADMIN_VERB_AND_CONTEXT_MENU(fix_air, R_ADMIN, "Fix Air", "Fixes air in a specified radius.", ADMIN_CATEGORY_GAME, turf/open/locale in world, range = 2 as num)
message_admins("[key_name_admin(user)] fixed air with range [range] in area [locale.loc.name]")
user.mob.log_message("fixed air with range [range] in area [locale.loc.name]", LOG_ADMIN)
for(var/turf/open/valid_range_turf in range(range,locale))
if(valid_range_turf.blocks_air)
//skip walls
continue
var/datum/gas_mixture/GM = SSair.parse_gas_string(valid_range_turf.initial_gas_mix, /datum/gas_mixture/turf)
valid_range_turf.copy_air(GM)
valid_range_turf.temperature = initial(valid_range_turf.temperature)
valid_range_turf.update_visuals()