?
System statistics
Moderators: winston, another_commander
- Cholmondely
- Archivist
- Posts: 5884
- Joined: Tue Jul 07, 2020 11:00 am
- Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
- Contact:
Re: Lengthy planet descriptions
Comments wanted:
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
- Wildeblood
- ---- E L I T E ----
- Posts: 2678
- Joined: Sat Jun 11, 2011 6:07 am
- Location: Nova Hollandia
- Contact:
Revisions of "Oolite JavaScript Reference: SystemInfo"
This was added to https://wiki.alioth.net/index.php/Oolit ... SystemInfo during development of Oolite 1.81:
Revision as of 00:24, 16 November 2018
−
function '''setProperty'''(key : String, value: String, layer: Number [, manifest: String])
+
function '''setProperty'''(layer: Number, key : String, value: String [, manifest: String])
My question is, did the implementation of this method change, or was the wiki showing incorrect information for more than three years?
Almost three and a half years later, this change was made:Revision as of 20:36, 4 July 2015
Line 70:
=== <code>setProperty</code> ===
{{oolite-method-added|1.81}}
function '''setProperty'''(key : String, value: String, layer: Number [, manifest: String])
This lets you set properties with more control than provided by writing directly to <code>systemInfo.property</code>. <code>layer</code> is the layer from 0 to 3 that the change should be applied at, as in [[planetinfo.plist]]. Layer 2 is the default layer for Javascript-initiated changes, but 3 may be used for changes absolutely crucial for OXP functionality.
Revision as of 00:24, 16 November 2018
−
function '''setProperty'''(key : String, value: String, layer: Number [, manifest: String])
+
function '''setProperty'''(layer: Number, key : String, value: String [, manifest: String])
My question is, did the implementation of this method change, or was the wiki showing incorrect information for more than three years?
"There are large, white swans, and there are small, black swans," he explained, "But there are no medium-sized swans, and there are no grey swans. The non-existence of grey swans mitigates against belief in Mr Darwin's theory."
-
- Quite Grand Sub-Admiral
- Posts: 6803
- Joined: Wed Feb 28, 2007 7:54 am
Re: System statistics
layer has been the first parameter in this method since its entry into the codebase in October 2014. It looks like the wiki had it wrong for a while.
Edit: Also, key is named
Edit: Also, key is named
property
in the code.- Wildeblood
- ---- E L I T E ----
- Posts: 2678
- Joined: Sat Jun 11, 2011 6:07 am
- Location: Nova Hollandia
- Contact:
Spurious Planetinfo.plist descriptions?
Thank you, a_c.
Moving on to planetinfo.plist, and...
https://wiki.alioth.net/index.php/Planetinfo.plist mentions properties of:-
6.9 Percent Cloud
6.10 Percent Ice
6.11 Percent Land
But, Resources/Config/planetinfo.plist contains:-
cloud_fraction
no mention of ice
land_fraction
And, I can also see a polar_cloud_color, which isn't mentioned on the wiki page?
Moving on to planetinfo.plist, and...
https://wiki.alioth.net/index.php/Planetinfo.plist mentions properties of:-
6.9 Percent Cloud
6.10 Percent Ice
6.11 Percent Land
But, Resources/Config/planetinfo.plist contains:-
cloud_fraction
no mention of ice
land_fraction
And, I can also see a polar_cloud_color, which isn't mentioned on the wiki page?
"There are large, white swans, and there are small, black swans," he explained, "But there are no medium-sized swans, and there are no grey swans. The non-existence of grey swans mitigates against belief in Mr Darwin's theory."
- Cholmondely
- Archivist
- Posts: 5884
- Joined: Tue Jul 07, 2020 11:00 am
- Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
- Contact:
Re: Spurious Planetinfo.plist descriptions?
If you dig around inside SOTL Altmap, there might be other unmentioned goodies in there too.Wildeblood wrote: ↑Wed May 07, 2025 6:45 pmThank you, a_c.
Moving on to planetinfo.plist, and...
https://wiki.alioth.net/index.php/Planetinfo.plist mentions properties of:-
6.9 Percent Cloud
6.10 Percent Ice
6.11 Percent Land
But, Resources/Config/planetinfo.plist contains:-
cloud_fraction
no mention of ice
land_fraction
And, I can also see a polar_cloud_color, which isn't mentioned on the wiki page?
Comments wanted:
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
- Wildeblood
- ---- E L I T E ----
- Posts: 2678
- Joined: Sat Jun 11, 2011 6:07 am
- Location: Nova Hollandia
- Contact:
Re: Spurious Planetinfo.plist descriptions?
Ya, ones cim made up.Cholmondely wrote: ↑Wed May 07, 2025 7:09 pmIf you dig around inside SOTL Altmap, there might be other unmentioned goodies in there too.

I'm hoping to make a definitive list of properties actually implemented in Oolite as of 1.90/1.91, and correct/update the wiki in the process. Really, if someone could point me to where in the Oolite source planetinfo.plist gets parsed, that would be neato.
(And, I can honestly say that is the first time in my life I've ever written "neato", in any context.)
"There are large, white swans, and there are small, black swans," he explained, "But there are no medium-sized swans, and there are no grey swans. The non-existence of grey swans mitigates against belief in Mr Darwin's theory."