Great-asset

Latest version: v1.2.0

Safety actively analyzes 688053 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.2.0

GreatAsset Changelog

Added
- Added new purple suit ship unlock. (274902b8a43f87a4b6c3635d915d25c3eaff4e66)
- Add parameter to all classmethods or constructors for creating a specific save number. (f3b7e5ed1500871d9493ec0572f5670c236a8ef9)
- Added handling for new challenge mode save files. (e35fb5ddfc45443713b7eed703615151c96ee1df)
- Change constructors to take raw data and change to classmethod for using `pathlib.Path`. (c901274abd01c28a9a5d45bad3a8b88810e54b38)
- Missing documentation items. (e8ddc60090796ed5f9335815b4348951b383b203)
- New example for file opening. (2b381be3eea823f7445ec44ff0d337affd33ba7a)

Fixed
- Fix ways we parse the file contents for validaty, increasing speed. (02efe8607581a867e020f6171dfe25ad009370b3)
- Examples directory now covered by tooling. (a377e0b3fd6d3997f763643f3b0f95acbd66569b)

Changed
- `Vector.in_cupboard` now accounts for the current position of the cupboard if it was changed. (17accc554397808803ce1d95be5fadee9a4cbb59)
- Readme updates. (565785bce07bb72331993f514e12c08fa015eb5a)

Notes
Project now runs at a minver of Python 3.8.

Noted Contributors

1.1.3

GreatAsset Changelog

Added
- Finalised the `ShipUnlock` enum (as of game ver .45). (db253f92547ff96a36c2ed78c55524682480d5e1)
- Some examples. (174002ba8ddcb67d595061f3ae1144cad7e1d468)
- `_BaseSaveFile.__enter__`/`__exit__` for ease of use, and relevant example. (6d708964adde1eacb3ab87e2db231069050cccae and 174002ba8ddcb67d595061f3ae1144cad7e1d468 and 1c042541f61a763bc7b00f5e3b137198cadd3246)
- `_BaseSaveFile.from_data` classmethod to allow creation of an object from the raw `bytes` rather than a `Path`. (d576be089f7f76fb18016a08bf5ff61a13cd14b8)

Fixed
- The way in which we spawn items. (04963a38cacb8d1a2a3223367b0ba6df800a7b50)
- This likely deserves a post of it's own but the tl;dr is that items on the ship are directly `zip`able with the scrap values key.

Changed
- Some `Item`s were split into the `Scrap` enum for better separation of item/scrap. (3d4b3309125c2004744b772699e5b86f32284966)
- `Vector.on_cupboard` -> `Vector.in_cupboard`. (3ee802b61d54459cdab819f3d4322a98fa20b726)
- `Vector.default` and `Vector.in_cupboard`'s `x` value was a little askew. (092e61a63943b61fa7583723995ba72222b687e4 and 92579775a159e2e7426386b29fe44d2a6f357e00)
- Removed `SaveFile`'s `__init__` so that the base class' is utilised. (ee7bab52df5beabee9cdccb5713306926dbdcdd6)

Notes

Noted Contributors

1.1.2

GreatAsset Changelog

Added
- `SaveFile.resolve_from_file` was added to load the save files from the default (Windows) save file paths. (4797b259c05a4ebcb1385e3f974e4be6f09507e0 and 01f0a35d8f60d4f7237af0b8509082903846215f)
- `Vector.in_cupboard` was added to provide a random place in the default cupboard location for item spawning. (2db2cc92dd6a325536b7ab319bfce60646ecd4c4)
- `BestiaryEntry` enum and `SaveFile.unlock_(all_)bestiary_entries` methods were added to allow control over these unlocks. (17ae5e81d71723f3b945ecd2ef2cf93d40ff2735)

Fixed
- Corrected the inner type information on the save file structure. (90518841be74dfd9f0b9fa3fe22ba1fe044619ac)
- This is not part of the public API and should not be relied on.
- Corrected the serialised name for the signal transmitter/locator. (39fbfae5cb249c51c176003b9efd987b89c607cf)
- The default `Vector` location was in the middle of the wall at the bunkbeds, this has now been fixed. (2db2cc92dd6a325536b7ab319bfce60646ecd4c4)
- Enemy scan data was missed during serialisation, this has now been corrected. (17ae5e81d71723f3b945ecd2ef2cf93d40ff2735)

Changed


Notes


Noted Contributors

1.1.1

GreatAsset Changelog

Added
- More tests around the library. (7b4f562bcfe3755095f02aca18dd585306200176)
- Update the in-memory `SaveFile` as well as the serialisation object. (9e19214c76bf600080a57ed405c8f1f2ae177fab)
- More `ShipUnlock` ids and one `ExtraUnlock` id. (bfde042c92e5990a77c6451eb2c03fcba8d12a78)

Fixed
- Update usage and setting of `SaveFile.deadline` and added `SaveFile.raw_deadline`. (4b9d9142f9ec77420df3f45efe18db4400dcb219 and c4f263886c5d299d4a1466498ad59a02aa1de149)
- The save file uses the minute value per day as the setting. E.g. 1 day is 1080 serialised.
- Fixed a typo in `SaveFile.update_elapsed_days`. (1c3fcf59e79730c42670019ffe61b0986e7b568d)
Changed
- Project on GitHub renamed to `GreatAsset` in favour of `great_asset`. This shouldn't break anything but yell at me if it does.

Notes
The enums still need to be fleshed out further.

Noted Contributors

1.1.0

great_asset Changelog

Added
- `great_asset.ConfigFile` to support the `LCGeneralSaveFile` that is created on launch, to allow control of the finer details of each player/setup configuration. (87523d5399d2acc2570d967731e5b485bdafdda9)

Fixed
- Update the GitHub Action to perform the project build on PRs too, to allow contributors to test PRs. (903eefddd795a25e89cfdaf60ae7ed57f049369c)

Changed
- Moved the primitive inner types of the deserialised files to `types_.shared` instead of `types_.save_file` due to their shared usage. (87523d5399d2acc2570d967731e5b485bdafdda9)
- Added `poethepoet` dev dependency for pre-push CI. (be84c8529fc09121c9a80bd54602794f33d82c11)

Notes
I'll add some example usage soon.
I'll add a way to edit the other files within the save folder like general config.
The enums still need to be fleshed out and documented, which is slightly tedious.

Noted Contributors
sudosnok for their work in deserialising the config file and implementing the base class and config file class.

1.0.0

great_asset Changelog

Added
- Everything...
... No just kidding.

- `great_asset.SaveFile`, `great_asset.enums` and `great_asset.Vector` are the only available public symbols for now. The enums are still incomplete pending more data.
- If you want to contribute either PR or submit save files directly to me (via Discord or any other contact media you care to use) and I can pull data from it.
- The reason being - the store refreshes per quota submission and it's a static rotation (apparently?)

Notes
I'll add some example usage soon.
I'll add a way to edit the other files within the save folder like general config.
The enums still need to be fleshed out and documented, which is slightly tedious.

Noted Contributors

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.