Skip to content

Commit

Permalink
update files for release
Browse files Browse the repository at this point in the history
  • Loading branch information
AmberCronin committed Jun 14, 2020
1 parent 595b9cd commit 54b62d0
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 36 deletions.
4 changes: 2 additions & 2 deletions KerbalChangelog.version
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"VERSION":
{
"MAJOR":1,
"MINOR":2,
"PATCH":1,
"MINOR":3,
"PATCH":0,
"BUILD":0
},
"KSP_VERSION":
Expand Down
26 changes: 26 additions & 0 deletions KerbalChangelogv2Changelog.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,32 @@ KERBALCHANGELOG
modName = Kerbal Changelog
license = MIT
author = Benjamin Cronin
website = github.com/BenjaminCronin/KerbalChangelog/releases
VERSION
{
version = 1.3.0
versionDate = Jun 14, 2020
versionKSP = 1.9.1
CHANGE
{
type = Add
change = Add features suggested by zer0Kerbal
subchange = Add versionDate field for release date
subchange = Add versionKSP field for recommended KSP version
}
CHANGE
{
type = Add
change = Add features suggested by GitHub user mwerle
subchange = Add 'visit website' button
subchange = Add change grouping by type of change through the 'type' field in a CHANGE node
}
CHANGE
{
type = Change
change = Display high priority changes before others using the HighPriority setting in 'type' field
}
}
VERSION
{
version = 1.2.1
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 Benjamin Cronin
Copyright (c) 2020 Benjamin Cronin

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
49 changes: 16 additions & 33 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,41 +5,24 @@ This project is meant to be a simple way for mod creators to add an ingame chang
## Adding a changelog
To add a changelog, simply create a config file (.cfg) with the following nodes and fields (as an example):
```
KERBALCHANGELOG
KERBALCHANGELOG //Required to have this name
{
showChangelog = True //optional but strongly recommended (will be created if non-existant)
modName = Kerbal Changelog //required
license = MIT //optional
author = Benjamin Cronin //optional
VERSION //Node(s) required for anything to show up
{
verison = 1.8 //optional but strongly recommended (will display as version D.N.E otherwise)
versionName = Audacious Apple //optional
CHANGE //required in order to utilize subchanges
{
change = Add features suggested by zer0Kerbal //required in a CHANGE node
subchange = Add new change nodes //optional, as many as you want
subchange = Add license field
subchange = Add author node
subchange = Add version naming field
}
change = Internal code rewrite to improve maintainability //change fields can be outside of CHANGE nodes, but order is not maintained
}
VERSION
{
version = 1.1.7
CHANGE
{
change = Update for KSP 1.9
}
CHANGE
{
change = Downgrade to .NET 4.5 for compatibility
}
}
showChangelog = True //To show the changelog, this must be set to True
modName = KerbalChangeLog //Add your mod's name here
VERSION //Declares a version node
{
version = 1.1 //Version number, numbers only with no spaces!
change = Fixed window scrolling //any changes in that version. There can be as many change fields as you want
change = Added shiny buttons
change = Removed bugs
}
VERSION
{
version = 1.0
change = First release!
}
}
```
This will then be outputted in a changelog window that appears in the space center view the first time the user loads a game with a changelog that has the `showChangelog` set to `True`. After this initial load, the user will no longer see the changelog for that mod until the mod creator releases a new version with the changelog cfg file's `showChangelog` field set to `True`.

KCL will handle as many mods as have changelogs the user has installed, but please do not create multiple changelog files for a single mod. This will lead to multiple changelog pages showing up in the window, and confusion for everyone.
This will handle as many mods as have changelogs the user has installed, but please do not create multiple changelog files for a single mod. This will lead to multiple changelog pages showing up in the window, and confusion for everyone.

0 comments on commit 54b62d0

Please sign in to comment.