Add calendar info (months, astrological signs). Used when generating birth dates.

This commit is contained in:
Feufochmar 2019-09-28 14:32:19 +02:00 committed by Feufochmar
commit ee6f2796f2
2 changed files with 77 additions and 0 deletions

31
README.md Normal file
View File

@ -0,0 +1,31 @@
# Floraverse Character Generator Data
The dataset used in the [Floraverse Character Generator](http://feuforeve.fr/FloraCharacterGenerator).
It is released under the Creative Commons BY-SA license.
The directory `images` contains various images from (or based on images from) the [Floraverse website](http://floraverse.com).
# Files
The files and their format is described below.
## calendar.json
Contains the description of the calendar year and astrological signs.
The root object contains two fields:
- `months` (`list`: `month`): the list of months
- `astrological-signs` (`list`: `sign`): the list of astrological signs
A `month` object has the following fields:
- `number` (`integer`): the numerical representation of the month in dates
- `name` (`string`): the name of the month
- `days` (`integer`): the number of days in the month
A `sign` object has the following fields:
- `name` (`string`): the name of the sign
- `symbol` (`string`): the path to the image of the symbol of the sign
- `from` (`object`: `date`): the starting date of the astrological sign
- `to` (`object`: `date`): the ending date of the astrological sign
A `date` objects used in the astrological signs has the folowing fields:
- `month` (`integer`): the month of the date
- `day` (`integer`): the day of the date

46
calendar.json Normal file
View File

@ -0,0 +1,46 @@
{
"months": [
{ "number": 1, "name": "Rath", "days": 31 },
{ "number": 2, "name": "Oxoth", "days": 29 },
{ "number": 3, "name": "Tigoth", "days": 31 },
{ "number": 4, "name": "Raboth", "days": 30 },
{ "number": 5, "name": "Drath", "days": 31 },
{ "number": 6, "name": "Snakoth", "days": 30 },
{ "number": 7, "name": "Horth", "days": 31 },
{ "number": 8, "name": "Goath", "days": 31 },
{ "number": 9, "name": "Monmonth", "days": 30 },
{ "number": 10, "name": "Roosoth", "days": 31 },
{ "number": 11, "name": "Doth", "days": 30 },
{ "number": 12, "name": "Pigoth", "days": 31 },
],
"astrological-signs": [
{ "name": "Pegasus", "symbol": "images/astrology/Pegasus.svg",
"from": { "month": 1, "day": 21 }, "to": { "month": 2, "day": 16 } },
{ "name": "Delphinus", "symbol": "images/astrology/Delphinus.svg",
"from": { "month": 2, "day": 17 }, "to": { "month": 3, "day": 11 } },
{ "name": "Volans", "symbol": "images/astrology/Volans.svg",
"from": { "month": 3, "day": 12 }, "to": { "month": 4, "day": 18 } },
{ "name": "Phoenix", "symbol": "images/astrology/Phoenix.svg",
"from": { "month": 4, "day": 19 }, "to": { "month": 5, "day": 13 } },
{ "name": "Cetus", "symbol": "images/astrology/Cetus.svg",
"from": { "month": 5, "day": 14 }, "to": { "month": 5, "day": 14 } },
{ "name": "Monoceros", "symbol": "images/astrology/Monoceros.svg",
"from": { "month": 5, "day": 15 }, "to": { "month": 6, "day": 21 } },
{ "name": "Corvus", "symbol": "images/astrology/Corvus.svg",
"from": { "month": 6, "day": 21 }, "to": { "month": 7, "day": 20 } },
{ "name": "Lepus", "symbol": "images/astrology/Lepus.svg",
"from": { "month": 7, "day": 21 }, "to": { "month": 8, "day": 10 } },
{ "name": "Lupus", "symbol": "images/astrology/Lupus.svg",
"from": { "month": 8, "day": 11 }, "to": { "month": 9, "day": 16 } },
{ "name": "Chamaeleo", "symbol": "images/astrology/Chamaeleo.svg",
"from": { "month": 9, "day": 17 }, "to": { "month": 10, "day": 30 } },
{ "name": "Hydra", "symbol": "images/astrology/Hydra.svg",
"from": { "month": 10, "day": 31 }, "to": { "month": 11, "day": 23 } },
{ "name": "Draco", "symbol": "images/astrology/Draco.svg",
"from": { "month": 11, "day": 24 }, "to": { "month": 11, "day": 29 } },
{ "name": "Ophiuchus", "symbol": "images/astrology/Ophiuchus.svg",
"from": { "month": 11, "day": 30 }, "to": { "month": 12, "day": 17 } },
{ "name": "Camelopardus", "symbol": "images/astrology/Camelopardus.svg",
"from": { "month": 12, "day": 18 }, "to": { "month": 1, "day": 20 } }
]
}