mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-20 19:44:46 +01:00
@@ -38,4 +38,4 @@
|
||||
/datum/event2/event/camera_damage/proc/is_valid_camera(var/obj/machinery/camera/C)
|
||||
// Only return a functional camera, not installed in a silicon/hardsuit/circuit/etc, and that exists somewhere players have access
|
||||
var/turf/T = get_turf(C)
|
||||
return T && C?.can_use() && istype(C.loc, /turf) && (T.z in using_map.player_levels)
|
||||
return T && C?.can_use() && istype(C.loc, /turf) && (T.z in using_map.player_levels)
|
||||
|
||||
@@ -23,4 +23,3 @@
|
||||
log_debug("canister_leak event: Canister [C] ([C.x],[C.y],[C.z]) destroyed.")
|
||||
C.health = 0
|
||||
C.healthcheck()
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
/datum/gm_action/carp_migration/announce()
|
||||
var/announcement = "Unknown biological entities have been detected near the asteroid, please stand-by."
|
||||
command_announcement.Announce(announcement, "Lifesign Alert")
|
||||
command_announcement.Announce(announcement, "Lifesign Alert")
|
||||
|
||||
@@ -41,6 +41,3 @@
|
||||
rot_count++
|
||||
if(rot_count >= target_rot)
|
||||
break
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -96,4 +96,3 @@
|
||||
// log_debug("ELECTRICAL EVENT: Emagged \the [A].")
|
||||
playsound(A, 'sound/machines/chime.ogg', 50, 1)
|
||||
apcs_emagged++
|
||||
|
||||
|
||||
@@ -31,4 +31,4 @@
|
||||
if(A.z in get_location_z_levels(space_only = TRUE))
|
||||
A.gravitychange(TRUE)
|
||||
|
||||
command_announcement.Announce("Gravity generators are again functioning within normal parameters. Sorry for any inconvenience.", "Gravity Restored")
|
||||
command_announcement.Announce("Gravity generators are again functioning within normal parameters. Sorry for any inconvenience.", "Gravity Restored")
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
/datum/event2/event/gravity/end()
|
||||
gravity_is_on = 1
|
||||
|
||||
|
||||
var/did_anything = FALSE
|
||||
for(var/obj/machinery/gravity_generator/main/GG in generators)
|
||||
if(!GG.on)
|
||||
@@ -42,4 +42,4 @@
|
||||
did_anything = TRUE
|
||||
|
||||
if(did_anything)
|
||||
command_announcement.Announce("Gravity generators are again functioning within normal parameters. Sorry for any inconvenience.", "Gravity Restored")
|
||||
command_announcement.Announce("Gravity generators are again functioning within normal parameters. Sorry for any inconvenience.", "Gravity Restored")
|
||||
|
||||
@@ -18,4 +18,4 @@
|
||||
post_pod_creation(pod)
|
||||
|
||||
// Override to do things to the pod after it's spawned.
|
||||
/datum/event2/event/ghost_pod_spawner/proc/post_pod_creation(obj/structure/ghost_pod/pod)
|
||||
/datum/event2/event/ghost_pod_spawner/proc/post_pod_creation(obj/structure/ghost_pod/pod)
|
||||
|
||||
@@ -60,4 +60,4 @@
|
||||
|
||||
/datum/event2/event/legacy/gravity
|
||||
legacy_event = /datum/event/gravity
|
||||
*/
|
||||
*/
|
||||
|
||||
@@ -78,4 +78,4 @@
|
||||
enabled = !enabled
|
||||
message_admins("Event '[name]' was toggled [enabled ? "on" : "off"] by [usr.key].")
|
||||
|
||||
// SSgame_master.interact(usr) // To refresh the UI. // VOREStation Edit - We don't use SSgame_master yet.
|
||||
// SSgame_master.interact(usr) // To refresh the UI. // VOREStation Edit - We don't use SSgame_master yet.
|
||||
|
||||
Reference in New Issue
Block a user