A quick and easy data framework that uses the secure_save and secure_load functions to save and load encrypted data.
Data is grouped into DATASETS which store similar data in a file with an extension and name of your choice.
Has an auto-save feature that saves datasets periodically. Alternatively you can manually save the data at key points in your game.
No need for global variables like global.total_kills, use the scripts to return values.
Examples below:
// Get values from a dataset and move to a position
x = scr_dataset_get(DATASET_EXAMPLE, DAT_BOX_X, x);
y = scr_dataset_get(DATASET_EXAMPLE, DAT_BOX_Y, y);
// Overwrite values in the dataset
scr_dataset_set(DATASET_EXAMPLE, DAT_BOX_X, x);
scr_dataset_set(DATASET_EXAMPLE, DAT_BOX_Y, y);
// Save a dataset
scr_dataset_save(DATASET_EXAMPLE);
// Load a dataset
scr_dataset_load(DATASET_EXAMPLE);
End User Licence Agreement (EULA).