Add sexes.json

This commit is contained in:
Feufochmar 2019-09-29 12:07:41 +02:00 committed by Feufochmar
parent 3a1ba490f5
commit f157eca51a
2 changed files with 84 additions and 0 deletions

View File

@ -45,3 +45,16 @@ A `gender` object has the following fields:
- `genitive-adjective` (`string`): the 3rd person genitive adjective corresponding to the gender
- `reflexive-pronoun` (`string`): the 3rd person reflexive pronoun corresponding to the gender
- `plural?` (`boolean`): indicate if verbs should be conjugated in plural when the subject pronoun is the subject of a sentence
## sexes.json
Contains the description of biological sexes. Used when generating ancestors or descendants.
The root is a `list` of `sex` objects.
A `sex` object has the following fields:
- `name` (`string`): the name of the sex
- `context` (`string`): a description indicating in which context to use that object.
- `mother?` (`boolean` or the `string` `"maybe"`): indicate if individuals of that sex are described as biological mother.
- `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.

71
sexes.json Normal file
View File

@ -0,0 +1,71 @@
[
{
"name": "male",
"context": "Describe individuals providing male gametes in species reproducing by binary sexual reproduction.",
"mother?": false,
"gender-distribution": { "masculine": 85, "feminine": 10, "neutral-person": 4, "neutral-thing": 1 }
},
{
"name": "female",
"context": "Describe individuals providing female gametes in species reproducing by binary sexual reproduction.",
"mother?": true,
"gender-distribution": { "masculine": 10, "feminine": 85, "neutral-person": 4, "neutral-thing": 1 }
},
{
"name": "asexual",
"context": "Describe individuals of species reproducing by asexual reproduction.",
"mother?": true,
"gender-distribution": { "masculine": 30, "feminine": 30, "neutral-person": 30, "neutral-thing": 1 }
},
{
"name": "hermaphrodite",
"context": "Describe individuals able to provide both male and female gametes in species reproducing by binary sexual reproduction. Apply to species where all individuals can provide both kind of gametes either simultaneously or sequentially.",
"mother?": "maybe",
"gender-distribution": { "masculine": 33, "feminine": 33, "neutral-person": 33, "neutral-thing": 1 }
},
{
"name": "intersex",
"context": "Describe individuals able to provide both male and female gametes in species reproducing by binary sexual reproduction. Apply to species where individuals are usually male or female, but in which a few individuals may be born with both sexes.",
"mother?": "maybe",
"gender-distribution": { "masculine": 33, "feminine": 33, "neutral-person": 33, "neutral-thing": 1 }
}
]
(define floraverse-sexes
(sexes
(male
(description "male")
(is-mother? #f)
(default-gender-distribution
(masculine 85)
(feminine 10)
(neutral-person 4)
(neutral-thing 1)))
(female
(description "female")
(is-mother? #t)
(default-gender-distribution
(masculine 10)
(feminine 85)
(neutral-person 4)
(neutral-thing 1)))
(none
(description "without a sex")
(is-mother? maybe)
(default-gender-distribution
(masculine 30)
(feminine 30)
(neutral-person 30)
(neutral-thing 10)))
(both
(description "both male and female")
(is-mother? maybe)
(default-gender-distribution
(masculine 33)
(feminine 33)
(neutral-person 33)
(neutral-thing 1)))
))