Last Time Chaning Doc For StdLib

This commit is contained in:
Cooldude2606 committed 2018-05-30 00:08:59 +01:00
1 parent 310d9599b8
commit d8bb39d661
28 files changed
+369 -510

No files matched your search

+1 -4
View File
@@ -1,8 +1,7 @@
--- A defines module for retrieving the number of ticks in 1 unit of time.
-- Extends the Factorio defines table.
-- @module Time
-- @module StdLib.Time
-- @alias defines.time
-- @usage require('stdlib/defines/time')
-- defines table is automatically required in all mod loading stages.
-- luacheck: ignore 122/defines
@@ -31,6 +30,4 @@ defines.time = {
year = YEAR, -- the number of Factorio ticks in a year (365 days)
}
--- Allows index to deines.time though the Time module
--@table Time
return setmetatable({},{__index=defines.time})