Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ Each model has its own structure and read/write with blockchain store through de
### Action (Core game logic changes state)

State can be created/updated by `action`s.
In [Lib9c/Action](Lib9c/Action), you can find all actions can be executed in the game Nine
In [Lib9c/Action](Lib9c/Action), you can find all actions that can be executed in the game Nine
Chronicles.
When someone do the action in game, action data is loaded on Libplanet transaction and be propagated
When someone does the action in game, action data is loaded on Libplanet transaction and propagated
through blockchain network.
Then after the transaction is accepted by validators, this action is executed and related states are
updated with action result.

### Data

All game has its own game data such as item table, exp-level table, etc.
All game has their own game data such as item table, exp-level table, etc.
Thus Nine Chronicles is a blockchain game, all the gme data also should be stored into blockchain.
To achieve this, special models to handle data are present in [Lib9c/TableData](Lib9c/TableData)
and [Lib9c/TableCSV](Lib9c/TableCSV).
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ Since DocFX doesn't support multilingual (translation) feature like vitepress, I

### About `toc.yml` files

`toc.yml` file is an yaml file to describe *Table of Contents*. To see its spec, look around https://dotnet.github.io/docfx/docs/table-of-contents.html docs.
`toc.yml` file is a yaml file to describe *Table of Contents*. To see its spec, look around https://dotnet.github.io/docfx/docs/table-of-contents.html docs.
4 changes: 2 additions & 2 deletions docs/articles/system/avatar/inventory.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Inventory

Inventories exist for each avatar and contains a variety of items.
Inventories exist for each avatar and contain a variety of items.

- [Inventory](https://github.com/planetarium/lib9c/blob/main/Lib9c/Model/Item/Inventory.cs)

### State

- Account Address: [Addresses.Inventory](https://github.com/planetarium/lib9c/blob/1.17.3/Lib9c/Addresses.cs#L45)
- State Address: Use the address of avatar as it is.
- State Address: Use the address of the avatar as it is.

##### Get State:

Expand Down