From 45a62c7b21bd369c51aaf854acf9358fab068872 Mon Sep 17 00:00:00 2001 From: orbea Date: Thu, 9 Apr 2020 22:57:38 -0700 Subject: [PATCH] docs: Update the chest functions documentation. --- game_api.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game_api.txt b/game_api.txt index 6d8b08f7..361bcca1 100644 --- a/game_api.txt +++ b/game_api.txt @@ -136,12 +136,12 @@ The chests API allows the creation of chests, which have their own inventories f * A table indexed by player name to keep track of who opened what chest. * Key: The name of the player. * Value: A table containing information about the chest the player is looking at. - e.g `{ pos = {1, 1, 1}, sound = null, swap = "chest" }` + e.g `{ pos = {1, 1, 1}, sound = null, swap = "default:chest" }` `default.chest.register_chest(name, def)` * Registers new chest - * `name` Name for chest + * `name` Name for chest e.g "default:chest" * `def` See [#Chest Definition] ### Chest Definition