mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-21 19:50:00 -06:00
* 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
29 lines
672 B
Lua
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"
|
|
}
|