feat!: Account features
- Bump version to 0.2.0
- Added trait SquadObject
- Implemented SquadObject for Quest and Account
- Implemented Config::load_accounts
- Removed src/quest/error.rs
- Added account tests in tests/main.rs
BREAKING CHANGE: Quest::{load,delete,save} are now provided by
SquadObject trait
This commit is contained in:
parent
1dc7d94785
commit
0e8cdde697
12 changed files with 285 additions and 98 deletions
1
tests/main/accounts/none.toml
Normal file
1
tests/main/accounts/none.toml
Normal file
|
|
@ -0,0 +1 @@
|
|||
# Empty account for testing
|
||||
5
tests/main/accounts/test.toml
Normal file
5
tests/main/accounts/test.toml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
id = "test"
|
||||
balance = 150
|
||||
location = 0
|
||||
quests_completed = [ 0 ]
|
||||
rooms_unlocked = []
|
||||
Loading…
Add table
Add a link
Reference in a new issue