mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-12 08:36:00 +01:00
[MIRROR] Removes tablet hard drives entirely (HDD & SSD) [MDB IGNORE] (#17164)
* Removes tablet hard drives entirely (HDD & SSD) * map updates * changes * contractor uplink theme * uplink improvements * tab Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com> Co-authored-by: tastyfish <crazychris32@gmail.com>
This commit is contained in:
@@ -56,21 +56,3 @@ This is how the base program is setup. the rest is mostly tgui stuff. I'll use t
|
||||
/// for an example.
|
||||
var/ui_header = "downloader_finished.gif"
|
||||
```
|
||||
|
||||
## Preinstalls
|
||||
|
||||
Now. for pre-installing stuff.
|
||||
|
||||
Primarily done for consoles, there's an install_programs() proc in the console presets file in the machines folder.
|
||||
|
||||
for example, the command console one.
|
||||
|
||||
```DM
|
||||
/obj/machinery/modular_computer/console/preset/command/install_programs()
|
||||
cpu.hard_drive.store_file(new/datum/computer_file/program/chatclient())
|
||||
cpu.hard_drive.store_file(new/datum/computer_file/program/card_mod())
|
||||
```
|
||||
Basically, you want to do cpu.hard_drive.store_file(new/*program path here*()) and put it in the subtype's install_programs().
|
||||
Probably pretty self explanatory, but just in case.
|
||||
|
||||
Will probably be expanded when new features come around or I get asked to mention something.
|
||||
|
||||
Reference in New Issue
Block a user