mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
[MDB IGNORE] [IDB IGNORE] Upstream Sync - 04/17/2026 (#5453)
Upstream 04/17/2026 fixes https://github.com/Bubberstation/Bubberstation/issues/5549 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: tgstation-ci[bot] <179393467+tgstation-ci[bot]@users.noreply.github.com> Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com> Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com> Co-authored-by: Rhials <28870487+Rhials@users.noreply.github.com> Co-authored-by: rageguy505 <54517726+rageguy505@users.noreply.github.com> Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com> Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com> Co-authored-by: Aliceee2ch <160794176+Aliceee2ch@users.noreply.github.com> Co-authored-by: Time-Green <7501474+Time-Green@users.noreply.github.com> Co-authored-by: Tsar-Salat <62388554+Tsar-Salat@users.noreply.github.com> Co-authored-by: SmArtKar <44720187+SmArtKar@users.noreply.github.com> Co-authored-by: Maxipat <108554989+Maxipat112@users.noreply.github.com> Co-authored-by: SyncIt21 <110812394+SyncIt21@users.noreply.github.com> Co-authored-by: deltanedas <39013340+deltanedas@users.noreply.github.com> Co-authored-by: SimplyLogan <47579821+loganuk@users.noreply.github.com> Co-authored-by: loganuk <fakeemail123@aol.com> Co-authored-by: Leland Kemble <70413276+lelandkemble@users.noreply.github.com> Co-authored-by: FalloutFalcon <86381784+FalloutFalcon@users.noreply.github.com> Co-authored-by: Roxy <75404941+TealSeer@users.noreply.github.com> Co-authored-by: Lucy <lucy@absolucy.moe> Co-authored-by: siliconOpossum <138069572+siliconOpossum@users.noreply.github.com> Co-authored-by: Isratosh <Isratosh@hotmail.com> Co-authored-by: TheRyeGuyWhoWillNowDie <70169560+TheRyeGuyWhoWillNowDie@users.noreply.github.com> Co-authored-by: Neocloudy <88008002+Neocloudy@users.noreply.github.com> Co-authored-by: Alexander V. <volas@ya.ru> Co-authored-by: ElGitificador <168473461+ElGitificador@users.noreply.github.com> Co-authored-by: Twaticus <46540570+Twaticus@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com> Co-authored-by: Tim <timothymtorres@gmail.com> Co-authored-by: Iamgoofball <iamgoofball@gmail.com> Co-authored-by: Layzu666 <121319428+Layzu666@users.noreply.github.com> Co-authored-by: Arturlang <24881678+Arturlang@users.noreply.github.com> Co-authored-by: _0Steven <42909981+00-Steven@users.noreply.github.com> Co-authored-by: mrmanlikesbt <99309552+mrmanlikesbt@users.noreply.github.com> Co-authored-by: Ben10Omintrix <138636438+Ben10Omintrix@users.noreply.github.com> Co-authored-by: John F. Kennedy <54908920+MacaroniCritter@users.noreply.github.com> Co-authored-by: Cursor <102828457+theselfish@users.noreply.github.com> Co-authored-by: Josh <josh.adam.powell@gmail.com> Co-authored-by: Josh Powell <josh.powell@softwire.com> Co-authored-by: Yobrocharlie <Charliemiller5617@gmail.com> Co-authored-by: Hardly3D <66234359+Hardly3D@users.noreply.github.com> Co-authored-by: shayoki <96078776+shayoki@users.noreply.github.com> Co-authored-by: LT3 <83487515+lessthnthree@users.noreply.github.com>
This commit is contained in:
co-authored by
tgstation-ci[bot] <179393467+tgstation-ci[bot]@users.noreply.github.com>
ArcaneMusic
MrMelbert
Rhials
rageguy505
LemonInTheDark
John Willard
Aliceee2ch
Time-Green
Tsar-Salat
SmArtKar
Maxipat
SyncIt21
deltanedas
SimplyLogan
loganuk
Leland Kemble
FalloutFalcon
Roxy
Lucy
siliconOpossum
Isratosh
TheRyeGuyWhoWillNowDie
Neocloudy
Alexander V.
ElGitificador
Twaticus
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bloop
Cameron Lennox
Tim
Iamgoofball
Layzu666
Arturlang
_0Steven
mrmanlikesbt
Ben10Omintrix
John F. Kennedy
Cursor
Josh
Josh Powell
Yobrocharlie
Hardly3D
shayoki
LT3
parent
d1f6ed3137
commit
21b4095dfd
@@ -371,6 +371,7 @@
|
||||
* * silent - Boolean, determines whether fluff text would be printed
|
||||
*/
|
||||
/obj/item/modular_computer/remove_id(mob/user, silent = FALSE)
|
||||
var/obj/item/lost_id = stored_id
|
||||
if(!stored_id)
|
||||
return ..()
|
||||
|
||||
@@ -381,8 +382,6 @@
|
||||
user.put_in_hands(stored_id)
|
||||
else
|
||||
stored_id.forceMove(drop_location())
|
||||
|
||||
var/obj/item/lost_id = stored_id
|
||||
stored_id = null
|
||||
SEND_SIGNAL(src, COMSIG_MODULAR_COMPUTER_REMOVED_ID, stored_id, user) // BUBBER EDIT ADDITION - Signal on ID removal
|
||||
|
||||
@@ -712,6 +711,7 @@
|
||||
active_program = program
|
||||
program.alert_pending = FALSE
|
||||
idle_threads.Remove(program)
|
||||
program.on_made_active_program(user)
|
||||
if(open_ui)
|
||||
INVOKE_ASYNC(src, PROC_REF(update_tablet_open_uis), user)
|
||||
update_appearance(UPDATE_ICON)
|
||||
@@ -737,6 +737,7 @@
|
||||
|
||||
active_program = program
|
||||
program.alert_pending = FALSE
|
||||
program.on_made_active_program(user)
|
||||
if(open_ui)
|
||||
INVOKE_ASYNC(src, PROC_REF(update_tablet_open_uis), user)
|
||||
update_appearance(UPDATE_ICON)
|
||||
@@ -967,7 +968,9 @@
|
||||
return ITEM_INTERACT_SUCCESS
|
||||
|
||||
/obj/item/modular_computer/proc/photo_act(mob/user, obj/item/photo/scanned_photo)
|
||||
if(!store_file(new /datum/computer_file/picture(scanned_photo.picture), user))
|
||||
var/datum/picture/source_picture = scanned_photo.picture
|
||||
var/datum/computer_file/image/image_file = new /datum/computer_file/image(source_picture.picture_image, display_name = source_picture.picture_name, source_photo_or_painting = source_picture)
|
||||
if(!store_file(image_file, user))
|
||||
balloon_alert(user, "no space!")
|
||||
return ITEM_INTERACT_BLOCKING
|
||||
balloon_alert(user, "photo scanned")
|
||||
|
||||
@@ -88,6 +88,26 @@
|
||||
return file
|
||||
return null
|
||||
|
||||
/**
|
||||
* find_file_by_full_name
|
||||
*
|
||||
* Will check all applications in a tablet for files and, if they have \
|
||||
* the same filename AND extension, will return it.
|
||||
* If a computer disk is passed instead, it will check the disk over the computer.
|
||||
*/
|
||||
/obj/item/modular_computer/proc/find_file_by_full_name(full_path, obj/item/disk/computer/target_disk)
|
||||
if(!istext(full_path))
|
||||
return null
|
||||
if(isnull(target_disk))
|
||||
for(var/datum/computer_file/file as anything in stored_files)
|
||||
if("[file.filename].[file.filetype]" == full_path)
|
||||
return file
|
||||
else
|
||||
for(var/datum/computer_file/file as anything in target_disk.stored_files)
|
||||
if("[file.filename].[file.filetype]" == full_path)
|
||||
return file
|
||||
return null
|
||||
|
||||
/**
|
||||
* find_file_by_uid
|
||||
*
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/obj/item/disk/computer/syndicate
|
||||
name = "golden data disk"
|
||||
desc = "A data disk with some high-tech programs, probably expensive as hell."
|
||||
name = "syndicate data disk"
|
||||
desc = "A data disk with some high-tech programs. Rumor has it that the disk is made of gold, which probably makes it expensive as hell."
|
||||
icon_state = "datadisk9"
|
||||
custom_materials = list(/datum/material/gold = SMALL_MATERIAL_AMOUNT)
|
||||
|
||||
|
||||
@@ -72,7 +72,6 @@
|
||||
|
||||
/obj/item/modular_computer/laptop/verb/open_computer()
|
||||
set name = "Toggle Open"
|
||||
set category = "Object"
|
||||
set src in view(1)
|
||||
|
||||
try_toggle_open(usr)
|
||||
|
||||
Reference in New Issue
Block a user