mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 03:00:58 -06:00
28 lines
653 B
Lua
28 lines
653 B
Lua
local Item = {
|
|
Type = "DashboardItemSimulationIncrement",
|
|
Identifier = "SimulationIncrement",
|
|
GuiName = "Simulation Increment"
|
|
}
|
|
|
|
|
|
asset.onInitialize(function()
|
|
openspace.dashboard.addDashboardItem(Item)
|
|
end)
|
|
|
|
asset.onDeinitialize(function()
|
|
openspace.dashboard.removeDashboardItem(Item)
|
|
end)
|
|
|
|
asset.export(Item)
|
|
|
|
|
|
|
|
asset.meta = {
|
|
Name = "Dashboard - Simulation Increment",
|
|
Description = [[This asset provides a dashboard item that shows the simulation
|
|
increment, meaning how fast the in-game time progresses relative to the wall-clock]],
|
|
Author = "OpenSpace Team",
|
|
URL = "http://openspaceproject.com",
|
|
License = "MIT license"
|
|
}
|