computer_file ![code/modules/modular_computers/file_system/computer_file.dm 3](git.png)
Vars | |
filename | Placeholder. Whitespace and most special characters are not allowed. |
---|---|
filetype | File full names are [filename].[filetype] so like NewFile.XXX in this case |
hidden | Whether the file is hidden from view in the OS |
holder | Holder that contains this file. |
metadata | Any metadata the file uses. |
papertype | Paper type to use for printing |
read_only | Protects files that should never be edited by the user due to special properties. |
size | File size in GQ. Integers only! |
uid | UID of this file |
undeletable | Whether the file may be deleted. Setting to TRUE prevents deletion/renaming/etc. |
unsendable | Whether the file may be sent to someone via NTNet transfer, email or other means. |
Procs | |
clone | Returns independent copy of this file. |
Var Details
filename ![code/modules/modular_computers/file_system/computer_file.dm 5](git.png)
Placeholder. Whitespace and most special characters are not allowed.
filetype ![code/modules/modular_computers/file_system/computer_file.dm 7](git.png)
File full names are [filename].[filetype] so like NewFile.XXX in this case
hidden ![code/modules/modular_computers/file_system/computer_file.dm 17](git.png)
Whether the file is hidden from view in the OS
holder ![code/modules/modular_computers/file_system/computer_file.dm 11](git.png)
Holder that contains this file.
metadata ![code/modules/modular_computers/file_system/computer_file.dm 23](git.png)
Any metadata the file uses.
papertype ![code/modules/modular_computers/file_system/computer_file.dm 25](git.png)
Paper type to use for printing
read_only ![code/modules/modular_computers/file_system/computer_file.dm 19](git.png)
Protects files that should never be edited by the user due to special properties.
size ![code/modules/modular_computers/file_system/computer_file.dm 9](git.png)
File size in GQ. Integers only!
uid ![code/modules/modular_computers/file_system/computer_file.dm 21](git.png)
UID of this file
undeletable ![code/modules/modular_computers/file_system/computer_file.dm 15](git.png)
Whether the file may be deleted. Setting to TRUE prevents deletion/renaming/etc.
unsendable ![code/modules/modular_computers/file_system/computer_file.dm 13](git.png)
Whether the file may be sent to someone via NTNet transfer, email or other means.
Proc Details
clone
Returns independent copy of this file.