Data File Tweak (#8069)

Changed block size from 250 to 1500, making size storage six times more efficient.
This commit is contained in:
Geeves
2020-01-25 13:15:49 +02:00
committed by Matt Atlas
parent e08f055a39
commit 89d3c3218d
2 changed files with 8 additions and 3 deletions

View File

@@ -3,7 +3,7 @@
/datum/computer_file/data
var/stored_data = "" // Stored data in string format.
filetype = "DAT"
var/block_size = 250
var/block_size = 1500
var/do_not_edit = 0 // Whether the user will be reminded that the file probably shouldn't be edited.
/datum/computer_file/data/clone()
@@ -16,5 +16,4 @@
size = max(1, round(length(stored_data) / block_size))
/datum/computer_file/data/logfile
filetype = "LOG"
filetype = "LOG"