# Super simple json question

**URL:** <https://discourse.cataclysmdda.org/t/super-simple-json-question/17404>\
**Category:** The Drawing Board\
**Created:** [November 9, 2018, 10:45pm UTC](https://discourse.cataclysmdda.org/t/super-simple-json-question/17404 "2018-11-09T22:45:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Erk](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/erk/32/3871_2.png) [@Erk](https://discourse.cataclysmdda.org/u/Erk)\
**Post date:** [November 9, 2018, 10:45pm UTC](https://discourse.cataclysmdda.org/t/super-simple-json-question/17404/1 "2018-11-09T22:45:42Z")

</div>

In classes.json, things like skill bonuses and stat bonuses are often listed as:

```
"rng" : [-2, 0]

```

I understand this to mean that the bonus is a range from -2 to 0.

However, they also sometimes are listed as

```
"one_in" : 4 

```

What the heck does this second version mean?

Also, related, is the “dice” : [x , y] code working as I think? Like does “dice” : [1, 6] roll 1 six sided die, or [3, 2] roll 3 two sided dice?

Is there a manual for this stuff somewhere?

---

<div class="post-metadata">

**Author:** ![mlangsdorf](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/mlangsdorf/32/2462_2.png) [@mlangsdorf](https://discourse.cataclysmdda.org/u/mlangsdorf)\
**Post date:** [November 10, 2018, 3:03pm UTC](https://discourse.cataclysmdda.org/t/super-simple-json-question/17404/2 "2018-11-10T15:03:31Z")

</div>

“one\_in”: 4 means there is a 1 in 4 chance of something happening.  
You’ve got the dice convention correct as far as I know.  
To the extent that things are documented, they’re documented in the doc/ folder.
