mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 06:00:16 +01:00
Removes tablet hard drives entirely (HDD & SSD) (#70678)
* Removes HDD's entirely HDDs have been removed, though the code for it is still currently lingering as it's required for portable disks. I'll have to find a solution to this one day, but as I am going to sleep, this is a problem for future me. * starts on removing SSD * updatepaths and kills off SSD * update path :D * Fixes to programs and icons * Ready for review now I read over everything I did and tried to fix anything I saw wasn't done right. Hopefully better comments now. * merge conflict fix * can't win them all * takes viruses into account in paths, fixes it in snowcabin * Renames the updatepaths * removes the qdel loop * accidentally new'ed programs twice * Fix program's computer var * destroy pen and disk, dont run kill program on something killed * more fixes for pens and idle threads * Fixes PDAs installing apps twice. * simplifies inserted disk & PDA disk * fuck's sake * Use istype instead * revert * Revert "revert" This reverts commit 9ede628c6fef9c7c86417234f6d8ada1ff9e2fef. * why did that happen * Update code/modules/modular_computers/computers/item/tablet.dm * MC_SSD added to master lol Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
This commit is contained in:
co-authored by
ShizCalev
parent
336752b4f7
commit
f1f46275f0
@@ -27,7 +27,7 @@
|
||||
linked_techweb = SSresearch.science_tech
|
||||
|
||||
/datum/computer_file/program/scipaper_program/proc/recheck_file_presence()
|
||||
if(selected_file in holder.stored_files)
|
||||
if(selected_file in computer.stored_files)
|
||||
return FALSE
|
||||
UnregisterSignal(selected_file, COMSIG_MODULAR_COMPUTER_FILE_DELETED)
|
||||
selected_file = null
|
||||
@@ -84,7 +84,7 @@
|
||||
data["allowedTiers"] = list()
|
||||
data["allowedPartners"] = list()
|
||||
// Both the file and experiment list are assoc lists. ID as value, display name as keys.
|
||||
for(var/datum/computer_file/data/ordnance/ordnance_file in holder.stored_files)
|
||||
for(var/datum/computer_file/data/ordnance/ordnance_file in computer.stored_files)
|
||||
data["fileList"] += list(ordnance_file.filename = ordnance_file.uid)
|
||||
if(selected_file)
|
||||
for (var/possible_experiment in selected_file.possible_experiments)
|
||||
@@ -180,7 +180,7 @@
|
||||
if(selected_file)
|
||||
UnregisterSignal(selected_file, COMSIG_MODULAR_COMPUTER_FILE_DELETED)
|
||||
paper_to_be.set_experiment() // Clears the paper info.
|
||||
for(var/datum/computer_file/data/ordnance/ordnance_data in holder.stored_files)
|
||||
for(var/datum/computer_file/data/ordnance/ordnance_data in computer.stored_files)
|
||||
if(ordnance_data.uid == params["selected_uid"])
|
||||
selected_file = ordnance_data
|
||||
RegisterSignal(selected_file, COMSIG_MODULAR_COMPUTER_FILE_DELETED, .proc/recheck_file_presence)
|
||||
|
||||
Reference in New Issue
Block a user