mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-06 07:22:15 +00:00
Clear Toxins/Fire in Zone verb
This commit is contained in:
21
code/modules/admin/verbs/clear_toxins.dm
Normal file
21
code/modules/admin/verbs/clear_toxins.dm
Normal file
@@ -0,0 +1,21 @@
|
||||
/client/proc/clear_toxins()
|
||||
set category = "Special Verbs"
|
||||
set name = "Clear Toxin/Fire in Zone"
|
||||
|
||||
if (!check_rights(R_ADMIN))
|
||||
return
|
||||
|
||||
var/datum/gas_mixture/environment = usr.loc.return_air()
|
||||
environment.gas["phoron"] = 0
|
||||
environment.gas["nitrogen"] = 82.1472
|
||||
environment.gas["oxygen"] = 21.8366
|
||||
environment.gas["carbon_dioxide"] = 0
|
||||
environment.gas["sleeping_agent"] = 0
|
||||
environment.gas["oxygen_agent_b"] = 0
|
||||
environment.temperature = 293.15
|
||||
environment.update_values()
|
||||
var/turf/simulated/location = get_turf(usr)
|
||||
if (location.zone)
|
||||
for (var/turf/T in location.zone.contents)
|
||||
for (var/obj/fire/F in T.contents)
|
||||
qdel(F)
|
||||
Reference in New Issue
Block a user