Add elements.json
This commit is contained in:
parent
f157eca51a
commit
09131ca6e8
18
README.md
18
README.md
|
@ -58,3 +58,21 @@ A `sex` object has the following fields:
|
|||
- `gender-distribution` (`distribution`: `gender`): indicate the default distribution used when generating `gender` for individuals of the given `sex`.
|
||||
|
||||
A `distribution` of `gender` is described as a map object whose keys are the `name` of a given `gender` and associated values are `number` giving the corresponding weight in the distribution.
|
||||
|
||||
## elements.json
|
||||
Contains the description of magical elements. Used for affinities.
|
||||
|
||||
The root is an `object` containing the following fields:
|
||||
- `none` (`element`): an element value used for a lack of elemental affinity
|
||||
- `primary` (`list`: `element`): the list of primary elements
|
||||
- `secondary` (`list`: `combined-element`): the list of secondary elements
|
||||
|
||||
The `element` object has the following fields:
|
||||
- `name` (`string`): the name of the element
|
||||
- `affinity-description` (`string`): a string used to describe someone or something having an elemental affinity
|
||||
- `related-nouns` (`list`: `string`): a list of nouns that can be used to convey the idea of the element
|
||||
- `related-adjectives` (`list`: `string`): a list of adjectives that can be used to convey the idea of the element
|
||||
|
||||
The `combined-element` object has the following fields:
|
||||
- `components` (`list`: `string`): a list of primary elements that compose a combined element; each string correspond to the name of the primary element
|
||||
- `result` (`element`): the resulting element of the combination
|
||||
|
|
|
@ -0,0 +1,177 @@
|
|||
{
|
||||
"none": {
|
||||
"name": "None",
|
||||
"affinity-description": "no affinity",
|
||||
"related-nouns": [],
|
||||
"related-adjectives": []
|
||||
},
|
||||
"primary": [
|
||||
{
|
||||
"name": "Fire",
|
||||
"affinity-description": "a Fire affinity",
|
||||
"related-nouns": [],
|
||||
"related-adjectives": []
|
||||
},
|
||||
{
|
||||
"name": "Water",
|
||||
"affinity-description": "a Water affinity",
|
||||
"related-nouns": [],
|
||||
"related-adjectives": []
|
||||
},
|
||||
{
|
||||
"name": "Earth",
|
||||
"affinity-description": "an Earth affinity",
|
||||
"related-nouns": [],
|
||||
"related-adjectives": []
|
||||
}
|
||||
{
|
||||
"name": "Air",
|
||||
"affinity-description": "an Air affinity",
|
||||
"related-nouns": [],
|
||||
"related-adjectives": []
|
||||
},
|
||||
{
|
||||
"name": "Spirit",
|
||||
"affinity-description": "a Spirit affinity",
|
||||
"related-nouns": [],
|
||||
"related-adjectives": []
|
||||
}
|
||||
],
|
||||
"secondary": [
|
||||
{
|
||||
"components": ["Fire", "Fire"],
|
||||
"result": {
|
||||
"name": "Plasma",
|
||||
"affinity-description": "a Plasma affinity",
|
||||
"related-nouns": [],
|
||||
"related-adjectives": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"components": ["Fire", "Water"],
|
||||
"result": {
|
||||
"name": "Acid",
|
||||
"affinity-description": "an Acid affinity",
|
||||
"related-nouns": [],
|
||||
"related-adjectives": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"components": ["Fire", "Earth"],
|
||||
"result": {
|
||||
"name": "Lava",
|
||||
"affinity-description": "a Lava affinity",
|
||||
"related-nouns": [],
|
||||
"related-adjectives": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"components": ["Fire", "Air"],
|
||||
"result": {
|
||||
"name": "Light",
|
||||
"affinity-description": "a Light affinity",
|
||||
"related-nouns": [],
|
||||
"related-adjectives": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"components": ["Fire", "Spirit"],
|
||||
"result": {
|
||||
"name": "Aura",
|
||||
"affinity-description": "an Aura affinity",
|
||||
"related-nouns": [],
|
||||
"related-adjectives": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"components": ["Water", "Water"],
|
||||
"result": {
|
||||
"name": "Ice",
|
||||
"affinity-description": "an Ice affinity",
|
||||
"related-nouns": [],
|
||||
"related-adjectives": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"components": ["Water", "Earth"],
|
||||
"result": {
|
||||
"name": "Clay",
|
||||
"affinity-description": "a Clay affinity",
|
||||
"related-nouns": [],
|
||||
"related-adjectives": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"components": ["Water", "Air"],
|
||||
"result": {
|
||||
"name": "Cloud",
|
||||
"affinity-description": "a Cloud affinity",
|
||||
"related-nouns": [],
|
||||
"related-adjectives": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"components": ["Water", "Spirit"],
|
||||
"result": {
|
||||
"name": "Poison",
|
||||
"affinity-description": "a Poison affinity",
|
||||
"related-nouns": [],
|
||||
"related-adjectives": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"components": ["Earth", "Earth"],
|
||||
"result": {
|
||||
"name": "Crystal",
|
||||
"affinity-description": "a Crystal affinity",
|
||||
"related-nouns": [],
|
||||
"related-adjectives": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"components": ["Earth", "Air"],
|
||||
"result": {
|
||||
"name": "Sand",
|
||||
"affinity-description": "a Sand affinity",
|
||||
"related-nouns": [],
|
||||
"related-adjectives": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"components": ["Earth", "Spirit"],
|
||||
"result": {
|
||||
"name": "Magnet",
|
||||
"affinity-description": "a Magnet affinity",
|
||||
"related-nouns": [],
|
||||
"related-adjectives": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"components": ["Air", "Air"],
|
||||
"result": {
|
||||
"name": "Storm",
|
||||
"affinity-description": "a Storm affinity",
|
||||
"related-nouns": [],
|
||||
"related-adjectives": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"components": ["Air", "Spirit"],
|
||||
"result": {
|
||||
"name": "Sound",
|
||||
"affinity-description": "a Sound affinity",
|
||||
"related-nouns": [],
|
||||
"related-adjectives": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"components": ["Spirit", "Spirit"],
|
||||
"result": {
|
||||
"name": "PSI",
|
||||
"affinity-description": "a PSI affinity",
|
||||
"related-nouns": [],
|
||||
"related-adjectives": []
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue