Files
OpenSpace/data/assets/dashboard/simulationincrement.asset
Alexander Bock 705c898ccd Asset File cleanup (#2713)
* Updating all assets to new coding style
* Cleaning up asset files
* Moving default_actions and default_keybindings files
* Changing procedural globes to explicitly specified globes
* Move Spice loading explicitly to the initialize part and also deinitialize
* Removing unused asset files
  * Removing asset_helper
  * Removing scale_model_helper asset
  * Removing script_scheduler_helper
  * Removing testing_keybindings
  * Remove procedural_globe
2023-05-28 17:23:20 +02:00

29 lines
672 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",
Version = "1.0",
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"
}