Change and explain the mimic-method filter

This commit is contained in:
Feufochmar 2019-10-20 16:17:14 +02:00
parent edb207e693
commit 3e525b55b9
2 changed files with 12 additions and 8 deletions

View File

@ -129,10 +129,14 @@ The `species` object contains the following fields:
- `wild?` (`boolean`): if `true`, indicate that member of this species are usually considered as wild animals in civilized places.
- `vegetal?` (`boolean`): if `true`, indicate a species whose members are unable to move on their own, like trees.
- `mimic?` (`boolean`): if `true`, indicate the species physically mimics other species, and member of this species (the real species) must be instanciated with another associated species (the immited species). Members of this species usually physically look like members of the immited species, but with modifications from their real species.
- `mimic-method` (`object`): indicate the filter used for a mimic species to choose the assoicated species during instanciation.
- `mimic-method` (`mimic-filter`): indicate the filter used for a mimic species to choose the assoicated species during instanciation.
- `mimic-genes-used?` (`boolean`): if `true`, indicate the genes used to compute the species use the real species. If `false`, the genes use the immited species.
- `varieties` (`list`: `species`): a list of species based on this species. They used the values of this species as default values and can be considered as variations of a same species.
The `mimic-filter` object contains the following fields:
- `species` (`species`): a filter on the species fields. The associated value may be the value to search or an object of the form `{"not": [...]}` to list the values to exclude.
- `relationship` (`string`, optional): a filter indicating a relationship between the character of the mimic species and another character from which the species is copied.
## crossbreed.csv
A table indicating if species reproducing by sexual reproduction are compatible and the name of the crossbreed if there is one.

View File

@ -20,7 +20,7 @@
"wild?": false,
"vegetal?": false,
"mimic?": false,
"mimic-method": {"mimic?": false},
"mimic-method": {"species": {"mimic?": false}},
"mimic-genes-used?": true,
"varieties": []
},
@ -214,7 +214,7 @@
"generable-as-character?": true,
"citizen?": true,
"mimic?": true,
"mimic-method": {"mimic?": false, "citizen?": true, "reproduction": "sexual"},
"mimic-method": {"species": {"mimic?": false, "citizen?": true, "reproduction": "sexual"}},
"mimic-genes-used?": false
},
{
@ -380,21 +380,21 @@
"generable-as-character?": true,
"citizen?": true,
"mimic?": true,
"mimic-method": {"mimic?": false, "citizen?": true},
"mimic-method": {"species": {"mimic?": false, "citizen?": true}},
"varieties": [
{
"name": "Wild Gelbeast",
"generable-as-character?": false,
"citizen?": false,
"wild?": true,
"mimic-method": {"mimic?": false, "wild?": true}
"mimic-method": {"species": {"mimic?": false, "wild?": true}}
},
{
"name": "Pet Gelbeast",
"generable-as-character?": false,
"citizen?": false,
"pet?": true,
"mimic-method": {"mimic?": false, "pet?": true}
"mimic-method": {"species": {"mimic?": false, "pet?": true}}
}
]
},
@ -505,7 +505,7 @@
{
"name": "Masked Owl Hybrid",
"mimic?": true,
"mimic-method": {"mimic?": false, "citizen?": true, "name": {"not": ["Masked Owl"]}, "relationship": "foster-parent"}
"mimic-method": {"species": {"mimic?": false, "citizen?": true, "name": {"not": ["Masked Owl"]}}, "relationship": "foster-parent"}
}
]
},
@ -541,7 +541,7 @@
"generable-as-character?": true,
"citizen?": true,
"mimic?": true,
"mimic-method": {"mimic?": false, "citizen?": true}
"mimic-method": {"species": {"mimic?": false, "citizen?": true}}
},
{
"name": "Scrapgoat",