-
Notifications
You must be signed in to change notification settings - Fork 441
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
admin: Событие для тушения плазменых пожаров (#6475)
* admin: Событие для тушения плазменых пожаров * fix
- Loading branch information
1 parent
be30205
commit 11e98e1
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/datum/event/plasma_decon | ||
name = "Дезакцивация плазмы" | ||
|
||
/datum/event/plasma_decon/announce() | ||
GLOB.priority_announcement.Announce("Активирована экспериментальная система дезакцивации плазмы. Пожалуйста, стойте подальше от вентиляционных отверстий и не вдыхайте выходящий дым.", "ВНИМАНИЕ: ПРОТОКОЛ DECON!") | ||
|
||
/datum/event/plasma_decon/start()// This only contains vent_pumps so don't bother with type checking | ||
for(var/obj/machinery/atmospherics/unary/vent_pump/vent as anything in GLOB.all_vent_pumps) | ||
if(vent && vent.loc && is_station_level(vent.loc.z)) | ||
var/datum/effect_system/fluid_spread/smoke/freezing/decon/smoke = new | ||
smoke.set_up(7, location = get_turf(vent), blast_radius = 7) | ||
smoke.start() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters