Skip to content

Commit

Permalink
Remove cbNameLater in favor of HomeWorldName (#63)
Browse files Browse the repository at this point in the history
* replace cbNameLater with HomeWorldName

* add displayname to homeworldname explainer
  • Loading branch information
DeltaDizzy committed May 25, 2024
1 parent 7698bed commit 696ef87
Showing 1 changed file with 9 additions and 2 deletions.
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 if Properties/displayName didn't work. A new, better way to do this has been added in recent versions:
```
@Kopernicus_config
{
%HomeWorldName = CorrectName
}
```

0 comments on commit 696ef87

Please sign in to comment.