mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +01:00
Merge pull request #27544 from Skyrat-SS13/upstream-merge-82629
[MIRROR] Human AI camera consoles can now be repackaged
This commit is contained in:
@@ -339,3 +339,12 @@
|
||||
to_chat(owner, span_notice("You move downwards."))
|
||||
else
|
||||
to_chat(owner, span_notice("You couldn't move downwards!"))
|
||||
|
||||
/obj/machinery/computer/camera_advanced/human_ai/screwdriver_act(mob/living/user, obj/item/tool)
|
||||
balloon_alert(user, "repackaging...")
|
||||
if(!do_after(user, 5 SECONDS, src))
|
||||
return ITEM_INTERACT_BLOCKING
|
||||
tool.play_tool_sound(src, 40)
|
||||
new /obj/item/secure_camera_console_pod(get_turf(src))
|
||||
qdel(src)
|
||||
return ITEM_INTERACT_SUCCESS
|
||||
|
||||
@@ -148,8 +148,8 @@
|
||||
return ..()
|
||||
|
||||
/obj/item/secure_camera_console_pod
|
||||
name = "advanced camera control pod"
|
||||
desc = "Calls down a secure camera console to use for all your AI stuff, may only be activated in the SAT."
|
||||
name = "pre-packaged advanced camera control"
|
||||
desc = "A pre-packaged camera console used for all your AI stuff, programmed to only active in the SAT."
|
||||
icon = 'icons/obj/devices/remote.dmi'
|
||||
icon_state = "botpad_controller"
|
||||
inhand_icon_state = "radio"
|
||||
@@ -163,9 +163,9 @@
|
||||
if(!is_type_in_typecache(current_area, allowed_areas))
|
||||
user.balloon_alert(user, "not in the sat!")
|
||||
return
|
||||
podspawn(list(
|
||||
"target" = get_turf(src),
|
||||
"style" = STYLE_BLUESPACE,
|
||||
"spawn" = /obj/machinery/computer/camera_advanced,
|
||||
))
|
||||
user.balloon_alert(user, "unpacking...")
|
||||
if(!do_after(user, 5 SECONDS, src))
|
||||
return
|
||||
playsound(src, 'sound/items/drill_use.ogg', 40, TRUE)
|
||||
new /obj/machinery/computer/camera_advanced/human_ai(get_turf(src))
|
||||
qdel(src)
|
||||
|
||||
Reference in New Issue
Block a user