OpenComputers overrides part of Lua's os table to expose in-game time semantics instead of host operating system time.
- Repository:
opencomputers - Type: core runtime API
OpenComputers/src\main\scala\li\cil\oc\server\machine\luac\OSAPI.scala
print(os.clock())
print(os.date())- Description: Return CPU time consumed by the machine.
- Description: Format an in-game timestamp or return a date table.
- Description: Return the current in-game timestamp or convert a date table.
computercomponentosunicode