Skip to content

Commit

Permalink
Prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
untoldwind committed Apr 23, 2024
1 parent 1528b55 commit 7f0a852
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changes

## 0.5.8.4 ->
## 0.5.8.4 -> 0.5.8.5

* Make timeouts configurable (#168)
* Add `string.to_int()` and `string.to_float()` methods
Expand Down
4 changes: 2 additions & 2 deletions SpaceWarpMod/KontrolSystemMod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@

namespace KontrolSystem.SpaceWarpMod;

[BepInPlugin("com.github.untoldwind.KontrolSystem2", "KontrolSystem2", "0.5.8.4")]
[BepInPlugin("com.github.untoldwind.KontrolSystem2", "KontrolSystem2", "0.5.8.5")]
[BepInDependency(SpaceWarpPlugin.ModGuid, SpaceWarpPlugin.ModVer)]
[BepInDependency(KSPAddonsModule.FlightPlanAdapter.ModGuid, BepInDependency.DependencyFlags.SoftDependency)]
public class KontrolSystemMod : BaseSpaceWarpPlugin {
public const string ModGuid = "com.github.untoldwind.KontrolSystem2";
public const string ModName = "KontrolSystem2";
public const string ModVersion = "0.5.8.4";
public const string ModVersion = "0.5.8.5";

private ModuleManagerWindow? moduleManagerWindow;
private UIWindows? uiWindows;
Expand Down
30 changes: 30 additions & 0 deletions SpaceWarpMod/reference.json
Original file line number Diff line number Diff line change
Expand Up @@ -1186,6 +1186,36 @@
"kind": "Builtin",
"name": "string"
}
},
"to_int": {
"isAsync": false,
"name": "to_int",
"description": "Try to convert string to integer",
"parameters": [],
"returnType": {
"kind": "Result",
"parameters": [
{
"kind": "Builtin",
"name": "int"
}
]
}
},
"to_float": {
"isAsync": false,
"name": "to_float",
"description": "Try to convert string to float",
"parameters": [],
"returnType": {
"kind": "Result",
"parameters": [
{
"kind": "Builtin",
"name": "float"
}
]
}
}
},
"suffixOperators": {
Expand Down
2 changes: 1 addition & 1 deletion SpaceWarpMod/swinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "Kontrol System",
"description": "Autopilot scripting framework",
"source": "https://github.com/untoldwind/KontrolSystem2",
"version": "0.5.8.4",
"version": "0.5.8.5",
"dependencies": [],
"ksp2_version": {
"min": "0",
Expand Down
30 changes: 30 additions & 0 deletions Tools/vscode/to2-syntax/server/src/reference/reference.json
Original file line number Diff line number Diff line change
Expand Up @@ -1186,6 +1186,36 @@
"kind": "Builtin",
"name": "string"
}
},
"to_int": {
"isAsync": false,
"name": "to_int",
"description": "Try to convert string to integer",
"parameters": [],
"returnType": {
"kind": "Result",
"parameters": [
{
"kind": "Builtin",
"name": "int"
}
]
}
},
"to_float": {
"isAsync": false,
"name": "to_float",
"description": "Try to convert string to float",
"parameters": [],
"returnType": {
"kind": "Result",
"parameters": [
{
"kind": "Builtin",
"name": "float"
}
]
}
}
},
"suffixOperators": {
Expand Down

0 comments on commit 7f0a852

Please sign in to comment.