/tg/ Station 13 - Modules - TypesVar Details - Proc Details

computer_disk

Vars

max_capacityThe amount of storage space is on the disk
starting_programsList of all programs that the disk should start with.
stored_filesList of stored files on this drive. DO NOT MODIFY DIRECTLY!
used_capacityThe amount of storage space we've got filled

Procs

add_fileadd_file
remove_fileremove_file

Var Details

max_capacity

The amount of storage space is on the disk

starting_programs

List of all programs that the disk should start with.

stored_files

List of stored files on this drive. DO NOT MODIFY DIRECTLY!

used_capacity

The amount of storage space we've got filled

Proc Details

add_file

add_file

Attempts to add an already existing file to the computer disk, then adds that capacity to the used capicity.

remove_file

remove_file

Removes an app from the stored_files list, then removes their size from the capacity.