mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user