Overview

The hud shows the current ingame day/night cycle. The icon rotates counter-clockwise as the day progresses. To move the hud you can hold ctrl and drag it around. Holding ctrl also allows you to quickly disable the hud. You can re-enable the hud on the main ub plugin window.

Settings

DerethTime.Enabled

Default Value: True
Enabled

DerethTime.HudX

Default Value: 415
DerethTime HUD Position X

DerethTime.HudY

Default Value: 5
DerethTime HUD Position Y

DerethTime.ShowLabel

Default Value: True
Show the label text, with minutes remaining until the next day/night

Expression Methods

getgameyear

Gets the current ingame year

Returns: number - Returns the current ingame year. Years have 360 days.

Examples:

  •  getgameyear[] - Returns the current ingame year, ie 249

getgamemonth

Gets the current ingame month as a number. Months are: 0=Morningthaw, 1=Solclaim, 2=Seedsow, 3=Leafdawning, 4=Verdantine, 5=Thistledown, 6=Harvestgain, 7=Leafcull, 8=Frostfell, 9=Snowreap, 10=Coldeve, 11=Wintersebb

Returns: number - Returns the current ingame month as a number

Examples:

  •  getgamemonth[] - Returns the current ingame month as a number, ie 8

getgamemonthname

Returns the name of a month index. Months are: 0=Morningthaw, 1=Solclaim, 2=Seedsow, 3=Leafdawning, 4=Verdantine, 5=Thistledown, 6=Harvestgain, 7=Leafcull, 8=Frostfell, 9=Snowreap, 10=Coldeve, 11=Wintersebb

Parameters:

  • Param #0: monthIndex (number) - month index to get the name of

Returns: string - Returns the name of a month index

Examples:

  •  getmonthname[1] - Returns Solclaim

getgameday

Returns the current ingame day of the month. 1-30.

Returns: number - Returns the current ingame day of the month. 1-30

Examples:

  •  getgameday[] - returns the current ingame day of the month, ie 8

getgamehourname

Returns the name of a hour index.

Parameters:

  • Param #0: hourIndex (number) - hour index to get the name of

Returns: string - Returns the name of a hour index

Examples:

  •  getgamehourname[1] - Returns Darktide-and-Half

getgamehour

Returns the current ingame hour of the day. Days have 16 hours

Returns: number - Returns the current ingame hour. 0-16

Examples:

  •  getgamehour[] - returns the current ingame hour of the day, ie 3

getminutesuntilday

Returns real world minutes left until the next day cycle

Returns: number - Returns real world minutes left until the next day cycle

Examples:

  •  getminutesuntilday[] - gets the number of real world minutes left until the next day cycle

getminutesuntilnight

Returns real world minutes left until the next night cycle

Returns: number - Returns real world minutes left until the next night cycle

Examples:

  •  getminutesuntilnight[] - gets the number of real world minutes left until the next night cycle

getgameticks

Returns the current ingame ticks.

Returns: number - Returns the current ingame ticks

Examples:

  •  getgameticks[] - returns the current ingame ticks

getisday

Returns 1 if it is currently day time, 0 otherwise

Returns: number - Returns 1 if it is currently day time, 0 otherwise

Examples:

  •  getisday[] - returns 1 if it is currently day time

getisnight

Returns 1 if it is currently night time, 0 otherwise

Returns: number - Returns 1 if it is currently night time, 0 otherwise

Examples:

  •  getisnight[] - returns 1 if it is currently night time