Skip to content

Commit

Permalink
Minor doc fix (CleverRaven#40531)
Browse files Browse the repository at this point in the history
* Set c++ syntax for JSON code snippet with comments

* Enclose a code snippet in the Field types section
  • Loading branch information
AMurkin authored May 13, 2020
1 parent 3ac02c5 commit a9a9b64
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/JSON_INFO.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand All @@ -3339,3 +3339,4 @@ Setting of sprite sheets. Same as `tiles-new` field in `tile_config`. Sprite fil
]
}
}
```

0 comments on commit a9a9b64

Please sign in to comment.