feat: exodrone console UI (#93604)

Upgrades the UI of the exodrone console
Exodrones now create a small explosion (0, 0, 1, 1) when
self-destruction is triggered
This commit is contained in:
mcbalaam
2025-10-25 20:45:58 +02:00
committed by GitHub
parent b3f204099b
commit 86a98efa77
4 changed files with 239 additions and 181 deletions
+7 -2
View File
@@ -76,9 +76,14 @@ GLOBAL_LIST_EMPTY(exodrone_launchers)
// Cargo storage
create_storage(max_slots = EXODRONE_CARGO_SLOTS, canthold = GLOB.blacklisted_cargo_types)
/obj/item/exodrone/Destroy()
/obj/item/exodrone/handle_deconstruct(disassembled)
. = ..()
explosion(src, 0, 0, 1, 1)
do_sparks(5, FALSE, src)
/obj/item/exodrone/Destroy()
GLOB.exodrones -= src
. = ..()
/// Description for drone listing, describes location and current status
/obj/item/exodrone/proc/ui_description()
@@ -337,7 +342,7 @@ GLOBAL_LIST_EMPTY(exodrone_launchers)
/obj/item/exodrone/proc/drone_log(message)
if(length(drone_log) > EXODRONE_LOG_SIZE)
drone_log = list()
drone_log.Remove()
drone_log.Insert(1,message)
/obj/item/exodrone/proc/has_tool(tool_type)