/usr/share/stellarium/scripts/sky_cultures.ssc is in stellarium-data 0.15.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | //
// Name: Sky Culture Tour
// License: Public Domain
// Author: Matthew Gates
// Shortcut: Ctrl+D,2
// Description: Look at each installed sky culture.
//
alt = 0;
LabelMgr.deleteAllLabels();
core.setDate("2006:03:14T21:21:32");
core.clear("deepspace");
core.moveToRaDec("17h 53m 0s", "66d 25m 0s");
StelMovementMgr.zoomTo(210, 5);
ConstellationMgr.setFlagBoundaries(true);
ConstellationMgr.setFlagLabels(true);
ConstellationMgr.setFlagLines(true);
ConstellationMgr.setFlagArt(true);
LandscapeMgr.setFlagAtmosphere(false);
core.setTimeRate(1);
core.moveToAltAzi(alt, 0, 90);
StelMovementMgr.zoomTo(180, 3);
core.wait(3);
allIDs = core.getAllSkyCultureIDs();
for(i=0; i<allIDs.length; i++)
{
id = allIDs[i];
core.debug("setting sky culture: " + id);
core.setSkyCulture(id);
core.wait(2);
name = core.getSkyCultureNameI18n();
lab = LabelMgr.labelScreen(name, 100, 100, false, 25, "#ff2200");
LabelMgr.setLabelShow(lab, true);
core.wait(2);
LabelMgr.deleteLabel(lab);
}
LabelMgr.deleteAllLabels();
|