Add basic documentation
parent
1cd88b8a2f
commit
a94fb01568
|
@ -0,0 +1,17 @@
|
|||
# Calendar
|
||||
|
||||
This mod adds a simple and customizable calender system.
|
||||
|
||||
The calendar supports days, weeks, months and years.
|
||||
Holidays are also supported.
|
||||
|
||||
By default, a year has 12 months with 30 days each, with a total of 360 days.
|
||||
|
||||
## Info for programmers
|
||||
See `API.md`.
|
||||
|
||||
## Where is the date stored?
|
||||
Minetest stores the number of elapsed days in the world files and it
|
||||
can be queried in Lua via `minetest.get_day_count()`.
|
||||
The day count is stored in the world directory under `env_meta.txt` as
|
||||
`day_count`.
|
Loading…
Reference in New Issue