mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 15:47:15 +01:00
Merge commit '179a607a90ad7ec62bdaff4e6fe72af60ee56442' of https://github.com/tgstation/tgstation into upstream-24-10b
This commit is contained in:
@@ -165,7 +165,7 @@
|
||||
else
|
||||
balloon_alert(user, "inserted [tool]")
|
||||
inserted_item = tool
|
||||
playsound(src, 'sound/machines/pda_button1.ogg', 50, TRUE)
|
||||
playsound(src, 'sound/machines/pda_button/pda_button1.ogg', 50, TRUE)
|
||||
return ITEM_INTERACT_SUCCESS
|
||||
|
||||
|
||||
@@ -184,7 +184,7 @@
|
||||
|
||||
/obj/item/modular_computer/pda/proc/remove_pen(mob/user)
|
||||
|
||||
if(issilicon(user) || !user.can_perform_action(src, FORBID_TELEKINESIS_REACH)) //TK doesn't work even with this removed but here for readability
|
||||
if(issilicon(user) || !user.can_perform_action(src, FORBID_TELEKINESIS_REACH | NEED_DEXTERITY)) //TK doesn't work even with this removed but here for readability
|
||||
return
|
||||
|
||||
if(inserted_item)
|
||||
@@ -192,7 +192,7 @@
|
||||
user.put_in_hands(inserted_item)
|
||||
inserted_item = null
|
||||
update_appearance()
|
||||
playsound(src, 'sound/machines/pda_button2.ogg', 50, TRUE)
|
||||
playsound(src, 'sound/machines/pda_button/pda_button2.ogg', 50, TRUE)
|
||||
|
||||
/obj/item/modular_computer/pda/proc/swap_pen(mob/user, obj/item/tool)
|
||||
if(inserted_item)
|
||||
@@ -200,7 +200,7 @@
|
||||
user.put_in_hands(inserted_item)
|
||||
inserted_item = tool
|
||||
update_appearance()
|
||||
playsound(src, 'sound/machines/pda_button1.ogg', 50, TRUE)
|
||||
playsound(src, 'sound/machines/pda_button/pda_button1.ogg', 50, TRUE)
|
||||
|
||||
/obj/item/modular_computer/pda/proc/explode(mob/target, mob/bomber, from_message_menu = FALSE)
|
||||
var/turf/current_turf = get_turf(src)
|
||||
@@ -325,12 +325,21 @@
|
||||
///Ref to the silicon we're installed in. Set by the silicon itself during its creation.
|
||||
var/mob/living/silicon/silicon_owner
|
||||
|
||||
/obj/item/modular_computer/pda/silicon/pai
|
||||
starting_programs = list(
|
||||
/datum/computer_file/program/messenger,
|
||||
/datum/computer_file/program/chatclient,
|
||||
)
|
||||
|
||||
/obj/item/modular_computer/pda/silicon/cyborg
|
||||
starting_programs = list(
|
||||
/datum/computer_file/program/filemanager,
|
||||
/datum/computer_file/program/robotact,
|
||||
/datum/computer_file/program/crew_manifest, // SKYRAT EDIT ADDITION - Manifests for borgs
|
||||
/datum/computer_file/program/messenger, // SKYRAT EDIT ADDITION - Messenger for borgs
|
||||
/datum/computer_file/program/borg_monitor,
|
||||
/datum/computer_file/program/atmosscan,
|
||||
/datum/computer_file/program/crew_manifest,
|
||||
)
|
||||
|
||||
/obj/item/modular_computer/pda/silicon/Initialize(mapload)
|
||||
|
||||
Reference in New Issue
Block a user