This repository was archived by the owner on Aug 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
V.2. Constants
Andrey Bogdanov edited this page Apr 6, 2016
·
5 revisions
Note: Constants, that are used internally, are not described here.
-
lord.Second1000 milliseconds. Value:1000. -
lord.Minute60000 milliseconds. Value:60 * lord.Second. -
lord.Hour3600000 milliseconds. Value:60 * lord.Minute. -
lord.Day86400000 milliseconds. Value:24 * lord.Hour. -
lord.Year31536000000 milliseconds. Value:365 * lord.Day. -
lord.BillionIt is actually 2 billion. Used for setting "non-expiring" cookies. Value:2 * 1000 * 1000 * 1000. -
lord.keyboardMapAn array of keyboard key names. Indexes correspond toKeyboardEvent's key codes. -
lord.WindowIDUnique identifier of a browser window. A value generated withuuid.v4()call. -
lord.DefaultSpellsDefault spells (post hiding/modification script) code. Value:"#wipe(samelines,samewords,longwords,symbols,capslock,numbers,whitespace)". -
lord.DefaultHotkeysAn object containing direct (dir) and reverse (rev) object-maps of hotkeys. Maps are populated with thelord._defineHotkeyfunction. -
lord.MovablePlayerBorderWidthThe width of a movable player. Value:5. -
lord.BaseScaleFactorThe default scale factor. Value:10 * 1000 * 1000 * 1000. This base factor is used to overcome floating point calculation precision.