Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace cbNameLater with HomeWorldName #48

Merged
merged 1 commit into from
May 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions content/Body.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ The `Body { }` node contains all the aspects of a body and describes the essenti
- [PQS { }]({{ site.baseurl }}{% link content/PQSMods/PQS.md %})
- [Ocean { }]({{ site.baseurl }}{% link content/Ocean.md %})
- [Rings { }]({{ site.baseurl }}{% link content/Rings.md %})
- [~~Particles { }~~]({{ site.baseurl }}{% link content/Particles.md %}) *(Removed in 1.8.1-1!)*
- [HazardousBody { }]({{ site.baseurl }}{% link content/HazardousBody.md %})
- [SpaceCenter { }]({{ site.baseurl }}{% link content/SpaceCenter.md %})
- [Debug { }]({{ site.baseurl }}{% link content/Debug.md %})
Expand Down Expand Up @@ -69,9 +68,17 @@ The `Body { }` node contains all the aspects of a body and describes the essenti
|name|Text|The name of the body.|
|cacheFile|File Path|The path to the cache file for the body.|
|barycenter|Boolean|Whether the body should act as a barycenter. Also makes the body unselectable.|
|cbNameLater|Text|(Deprecated, use `Properties/displayName` to change the name instead.) Applies a name change after loading the body.|
|identifier|Text|The Unique Body Identifier (UBI) for the body. Used in the [Interstellar Consortium](https://forum.kerbalspaceprogram.com/index.php?/topic/177439-kopernicus-interstellar-consortium/) and follows the format `System/Body`.|
|implements|Text|(Optional) The UBIs that the body implements. Any number of these can be used. Each line should have the key "implements" and have a UBI as the value.|
|finalizeOrbit|Boolean|Whether the orbit of the body should be finalized.|
|randomMainMenuBody|Boolean|Whether the body should have a chance at being displayed on the Main Menu.|
|contractWeight|Integer|How often contracts should be generated for a body. Default is 30.|

**Note on cbNameLater**
A common usecase for cbNameLater was for mods that replaced Kerbin with another planet, to name it to the correct (non-Kerbin) name after loading. A new, better way to do this has been added in recent versions:
```
@Kopernicus_config
{
%HomeWorldName = CorrectName
}
```
Loading