Difference between revisions of "Category:Time Functions"
Jump to navigation
Jump to search
imported>ShadowDancer (Added game month names for script/quest inclusion) |
imported>DragoonWraith (changed the month chart to read easier - same information) |
||
| Line 40: | Line 40: | ||
! style="background:#efefef;" | GameMonth |
! style="background:#efefef;" | GameMonth |
||
! style="background:#efefef;" | Name |
! style="background:#efefef;" | Name |
||
! style="background:#efefef;" | |
! style="background:#efefef;" | Days |
||
! style="background:#efefef;" | Real World Equivalent |
|||
|- |
|- |
||
| 0 |
| 0 |
||
| Morningstar |
| Morningstar |
||
| 31 |
|||
| Same # of days as January (31) |
|||
| January |
|||
|- |
|- |
||
| 1 |
| 1 |
||
| Sun's Dawn |
| Sun's Dawn |
||
| 28 |
|||
| Same # of days as February (28) |
|||
| February |
|||
|- |
|- |
||
| 2 |
| 2 |
||
| First Seed |
| First Seed |
||
| 31 |
|||
| Same # of days as March (31) |
|||
| March |
|||
|- |
|- |
||
| 3 |
| 3 |
||
| Rain's Hand |
| Rain's Hand |
||
| 30 |
|||
| Same # of days as April (30) |
|||
| April |
|||
|- |
|- |
||
| 4 |
| 4 |
||
| Second Seed |
| Second Seed |
||
| 31 |
|||
| Same # of days as May (31) |
|||
| May |
|||
|- |
|- |
||
| 5 |
| 5 |
||
| Mid-Year |
| Mid-Year |
||
| 30 |
|||
| Same # of days as June (30) |
|||
| June |
|||
|- |
|- |
||
| 6 |
| 6 |
||
| Sun's Height |
| Sun's Height |
||
| 31 |
|||
| Same # of days as July (31) |
|||
| July |
|||
|- |
|- |
||
| 7 |
| 7 |
||
| Last Seed |
| Last Seed |
||
| 31 |
|||
| Same # of days as August (31) |
|||
| August |
|||
|- |
|- |
||
| 8 |
| 8 |
||
| Heartfire |
| Heartfire |
||
| 30 |
|||
| Same # of days as September (30) |
|||
| September |
|||
|- |
|- |
||
| 9 |
| 9 |
||
| Frost Fall |
| Frost Fall |
||
| 31 |
|||
| Same # of days as October (31) |
|||
| October |
|||
|- |
|- |
||
| 10 |
| 10 |
||
| Sun's Dusk |
| Sun's Dusk |
||
| 30 |
|||
| Same # of days as November (30) |
|||
| November |
|||
|- |
|- |
||
| 11 |
| 11 |
||
| Evening Star |
| Evening Star |
||
| 31 |
|||
| Same # of days as December (31) |
|||
| December |
|||
|- |
|- |
||
|} |
|} |
||
Revision as of 10:13, 2 July 2007
Several global variables deal with time:
| Type | Name | Description |
|---|---|---|
| short | GameYear | The current year (the game begins in 427) |
| short | GameMonth | The current month (0-11) |
| short | GameDay | The current day of the month (0-31) depending on month |
| float | GameHour | The current hour (0-23 hours) |
| short | TimeScale | Minutes that pass in-game within one minute of real-life |
| short | GameDaysPassed | How many days have passed in the current game.
This is most useful in tracking the passage of time in scripts. |
| GameMonth | Name | Days | Real World Equivalent |
|---|---|---|---|
| 0 | Morningstar | 31 | January |
| 1 | Sun's Dawn | 28 | February |
| 2 | First Seed | 31 | March |
| 3 | Rain's Hand | 30 | April |
| 4 | Second Seed | 31 | May |
| 5 | Mid-Year | 30 | June |
| 6 | Sun's Height | 31 | July |
| 7 | Last Seed | 31 | August |
| 8 | Heartfire | 30 | September |
| 9 | Frost Fall | 31 | October |
| 10 | Sun's Dusk | 30 | November |
| 11 | Evening Star | 31 | December |
The following functions are also available:
Pages in category "Time Functions"
The following 4 pages are in this category, out of 4 total.