mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 05:23:22 +01:00
[MDB Ignore] [IDB Ignore] Kills off /obj/item/device (#21774)
This has zero reason to exist in our code base. We have no procs or variables tied to this. I removed it to make future modifications cleaner. --------- Signed-off-by: Cody Brittain <1779662+Generalcamo@users.noreply.github.com>
This commit is contained in:
@@ -210,7 +210,7 @@
|
||||
qdel(S)
|
||||
..()
|
||||
|
||||
/obj/item/device/spaceflare
|
||||
/obj/item/spaceflare
|
||||
name = "bluespace flare"
|
||||
desc = "Burst transmitter used to broadcast all needed information for shuttle navigation systems. Has a flare attached for marking the spot where you probably shouldn't be standing."
|
||||
icon = 'icons/obj/space_flare.dmi'
|
||||
@@ -222,11 +222,11 @@
|
||||
/// The shuttle landmark synced to this beacon. This is set when the beacon is activated.
|
||||
var/obj/effect/shuttle_landmark/automatic/spaceflare/landmark
|
||||
|
||||
/obj/item/device/spaceflare/attack_self(var/mob/user)
|
||||
/obj/item/spaceflare/attack_self(var/mob/user)
|
||||
if(activate(user))
|
||||
user.visible_message(SPAN_NOTICE("\The [user] pulls the cord, activating \the [src]."), SPAN_NOTICE("You pull the cord, activating \the [src]."), SPAN_ITALIC("You hear the sound of something being struck and ignited."))
|
||||
|
||||
/obj/item/device/spaceflare/proc/activate(mob/user)
|
||||
/obj/item/spaceflare/proc/activate(mob/user)
|
||||
if(active)
|
||||
to_chat(user, SPAN_WARNING("\The [src] is already active."))
|
||||
return FALSE
|
||||
@@ -247,7 +247,7 @@
|
||||
update_icon()
|
||||
return TRUE
|
||||
|
||||
/obj/item/device/spaceflare/proc/deactivate(silent = FALSE)
|
||||
/obj/item/spaceflare/proc/deactivate(silent = FALSE)
|
||||
if (!active)
|
||||
return FALSE
|
||||
|
||||
@@ -259,7 +259,7 @@
|
||||
visible_message(SPAN_WARNING("\The [src] stops burning and deactivates."))
|
||||
return TRUE
|
||||
|
||||
/obj/item/device/spaceflare/update_icon()
|
||||
/obj/item/spaceflare/update_icon()
|
||||
if (active)
|
||||
icon_state = "[initial(icon_state)]_on"
|
||||
set_light(0.3, 0.1, 6, 2, "85d1ff")
|
||||
@@ -267,11 +267,11 @@
|
||||
icon_state = initial(icon_state)
|
||||
set_light(0)
|
||||
|
||||
/obj/item/device/spaceflare/Destroy()
|
||||
/obj/item/spaceflare/Destroy()
|
||||
deactivate(TRUE)
|
||||
. = ..()
|
||||
|
||||
/obj/item/device/spaceflare/attack_hand(mob/user)
|
||||
/obj/item/spaceflare/attack_hand(mob/user)
|
||||
if(active)
|
||||
var/choice = tgui_alert(user, "Do you want to deactivate \the [src]?", "Bluespace Flare", list("Yes","No"))
|
||||
if(choice == "Yes")
|
||||
@@ -284,9 +284,9 @@
|
||||
/obj/effect/shuttle_landmark/automatic/spaceflare
|
||||
name = "Bluespace Beacon Signal"
|
||||
/// The beacon object synced to this landmark. If this is ever null or qdeleted the landmark should delete itself.
|
||||
var/obj/item/device/spaceflare/beacon
|
||||
var/obj/item/spaceflare/beacon
|
||||
|
||||
/obj/effect/shuttle_landmark/automatic/spaceflare/Initialize(mapload, obj/item/device/spaceflare/beacon)
|
||||
/obj/effect/shuttle_landmark/automatic/spaceflare/Initialize(mapload, obj/item/spaceflare/beacon)
|
||||
. = ..()
|
||||
|
||||
if(!istype(beacon))
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
var/specops_return_delay = 6000 //After moving, the amount of time that must pass before the shuttle may move again
|
||||
var/specops_countdown_time = 600 //Length of the countdown when moving the shuttle
|
||||
|
||||
var/obj/item/device/radio/intercom/announcer
|
||||
var/obj/item/radio/intercom/announcer
|
||||
var/reset_time = 0 //the world.time at which the shuttle will be ready to move again.
|
||||
var/launch_prep = 0
|
||||
var/cancel_countdown = 0
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
/datum/shuttle/autodock/ferry/specops/New()
|
||||
..()
|
||||
announcer = new /obj/item/device/radio/intercom(null)//We need a fake AI to announce some stuff below. Otherwise it will be wonky.
|
||||
announcer = new /obj/item/radio/intercom(null)//We need a fake AI to announce some stuff below. Otherwise it will be wonky.
|
||||
announcer.config(list("Response Team" = 0))
|
||||
|
||||
/datum/shuttle/autodock/ferry/specops/proc/radio_announce(var/message)
|
||||
|
||||
Reference in New Issue
Block a user