Yogstation 13 - Modules - TypesDefine Details

code/__DEFINES/time.dm

MIDNIGHT_ROLLOVERnumber of deciseconds in a day
ROUND_TIMEdisplays the current time into the round, with a lot of extra code just there for ensuring it looks okay after an entire day passes
STATION_TIME_PASSEDReturns the time that has passed since the game started
CURRENT_STATION_YEARDefine that just has the current in-universe year for use in whatever context you might want to display that in. (For example, 2022 -> 2562 given a 540 year offset)
STATION_YEAR_OFFSETIn-universe, SS13 is set 540 years in the future from the real-world day, hence this number for determining the year-offset for the in-game year.
TIMEZONE_LINTLine Islands Time
TIMEZONE_TKTTokelau Time
TIMEZONE_TOTTonga Time
TIMEZONE_NZDTNew Zealand Daylight Time
TIMEZONE_NZSTNew Zealand Standard Time
TIMEZONE_NFTNorfolk Time
TIMEZONE_LHSTLord Howe Standard Time
TIMEZONE_AESTAustralian Eastern Standard Time
TIMEZONE_ACSTAustralian Central Standard Time
TIMEZONE_ACWSTAustralian Central Western Standard Time
TIMEZONE_AWSTAustralian Western Standard Time
TIMEZONE_CXTChristmas Island Time
TIMEZONE_CCTCocos Islands Time
TIMEZONE_CESTCentral European Summer Time
TIMEZONE_UTCCoordinated Universal Time
TIMEZONE_EDTEastern Daylight Time
TIMEZONE_ESTEastern Standard Time
TIMEZONE_CDTCentral Daylight Time
TIMEZONE_CSTCentral Standard Time
TIMEZONE_MDTMountain Daylight Time
TIMEZONE_MSTMountain Standard Time
TIMEZONE_PDTPacific Daylight Time
TIMEZONE_PSTPacific Standard Time
TIMEZONE_AKDTAlaska Daylight Time
TIMEZONE_AKSTAlaska Standard Time
TIMEZONE_HDTHawaii-Aleutian Daylight Time
TIMEZONE_HSTHawaii Standard Time
TIMEZONE_CKTCook Island Time
TIMEZONE_NUTNiue Time
TIMEZONE_ANYWHERE_ON_EARTHAnywhere on Earth

Define Details

CURRENT_STATION_YEAR

Define that just has the current in-universe year for use in whatever context you might want to display that in. (For example, 2022 -> 2562 given a 540 year offset)

MIDNIGHT_ROLLOVER

number of deciseconds in a day

ROUND_TIME

displays the current time into the round, with a lot of extra code just there for ensuring it looks okay after an entire day passes

STATION_TIME_PASSED

Returns the time that has passed since the game started

STATION_YEAR_OFFSET

In-universe, SS13 is set 540 years in the future from the real-world day, hence this number for determining the year-offset for the in-game year.

TIMEZONE_ACST

Australian Central Standard Time

TIMEZONE_ACWST

Australian Central Western Standard Time

TIMEZONE_AEST

Australian Eastern Standard Time

TIMEZONE_AKDT

Alaska Daylight Time

TIMEZONE_AKST

Alaska Standard Time

TIMEZONE_ANYWHERE_ON_EARTH

Anywhere on Earth

TIMEZONE_AWST

Australian Western Standard Time

TIMEZONE_CCT

Cocos Islands Time

TIMEZONE_CDT

Central Daylight Time

TIMEZONE_CEST

Central European Summer Time

TIMEZONE_CKT

Cook Island Time

TIMEZONE_CST

Central Standard Time

TIMEZONE_CXT

Christmas Island Time

TIMEZONE_EDT

Eastern Daylight Time

TIMEZONE_EST

Eastern Standard Time

TIMEZONE_HDT

Hawaii-Aleutian Daylight Time

TIMEZONE_HST

Hawaii Standard Time

TIMEZONE_LHST

Lord Howe Standard Time

TIMEZONE_LINT

Line Islands Time

TIMEZONE_MDT

Mountain Daylight Time

TIMEZONE_MST

Mountain Standard Time

TIMEZONE_NFT

Norfolk Time

TIMEZONE_NUT

Niue Time

TIMEZONE_NZDT

New Zealand Daylight Time

TIMEZONE_NZST

New Zealand Standard Time

TIMEZONE_PDT

Pacific Daylight Time

TIMEZONE_PST

Pacific Standard Time

TIMEZONE_TKT

Tokelau Time

TIMEZONE_TOT

Tonga Time

TIMEZONE_UTC

Coordinated Universal Time