From 0f22ea26a7aaf2b2cdf7b1bbedc9c8d746bb3218 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sat, 12 Aug 2023 03:03:56 +0100 Subject: [PATCH] specs/weaschem: param2 will also need to be deltad also improve wording clarity earlier on --- .docs/specs/WorldEditAdditionsSchematic_v1.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.docs/specs/WorldEditAdditionsSchematic_v1.md b/.docs/specs/WorldEditAdditionsSchematic_v1.md index 97b374f..b87d018 100644 --- a/.docs/specs/WorldEditAdditionsSchematic_v1.md +++ b/.docs/specs/WorldEditAdditionsSchematic_v1.md @@ -106,7 +106,7 @@ WEASCHEM 1 The non-terminal tokens `
`, ``, and `` are defined below. -A full (trivial) example file is given below: +A complete (trivial) example full schematic file is given below: ``` WEASCHEM 1 @@ -314,7 +314,7 @@ The data tables store the actual data in the schematic. This data is stored in f ::= 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 ``` -There are currently 2 data tables that are stored in schematics, that MUST be present in the following orders. +There are currently the following data tables that are stored in schematics, that MUST be present in the following orders, depending on the type of schematic file (see [types of schematic](#types-of-schematic)). For **full** schematic files: @@ -324,8 +324,9 @@ For **full** schematic files: For [**delta** schematic files](#delta-schematic-files): 1. **`data` (previous state):** The list of node IDs for the **previous** state -2. **`data` (current state):** The list of node IDs for the **current** state -3. **`param2`:** The list of [`param2`](https://github.com/minetest/minetest/blob/master/doc/lua_api.md#nodes) values +2. **`param2` (previous state):** The list of [`param2`](https://github.com/minetest/minetest/blob/master/doc/lua_api.md#nodes) values for the **previous** state +3. **`data` (current state):** The list of node IDs for the **current** state +4. **`param2` (current state):** The list of [`param2`](https://github.com/minetest/minetest/blob/master/doc/lua_api.md#nodes) values for the **current** state **Note:** Either type of schematic file MAY contain additional data tables beyond those described here. In such cases, implementers MUST ignore them, and any such tables MUST be present only *after* the data tables described above.