From a9a9b647a0b6b112c3d036413f02d0bd7eded331 Mon Sep 17 00:00:00 2001 From: Alexey Mostovoy <1931904+AMurkin@users.noreply.github.com> Date: Wed, 13 May 2020 20:59:23 +0400 Subject: [PATCH] Minor doc fix (#40531) * Set c++ syntax for JSON code snippet with comments * Enclose a code snippet in the Field types section --- doc/JSON_INFO.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/JSON_INFO.md b/doc/JSON_INFO.md index 70ce92d83676e..5ba7140a70e7b 100644 --- a/doc/JSON_INFO.md +++ b/doc/JSON_INFO.md @@ -2949,7 +2949,7 @@ A flat multiplier on the harvest count of the plant. For numbers greater than on ### clothing_mod -```JSON +```C++ "type": "clothing_mod", "id": "leather_padded", // Unique ID. "flag": "leather_padded", // flag to add to clothing. @@ -3316,7 +3316,7 @@ The internal ID of the compatible tilesets. MOD tileset is only applied when bas Setting of sprite sheets. Same as `tiles-new` field in `tile_config`. Sprite files are loaded from the same folder json file exists. # Field types - +```C++ { "type": "field_type", // this is a field type "id": "fd_gum_web", // id of the field @@ -3339,3 +3339,4 @@ Setting of sprite sheets. Same as `tiles-new` field in `tile_config`. Sprite fil ] } } +```