Skip to content

Commit

Permalink
fix #2: add :state suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
JonnyOThan committed Sep 16, 2023
1 parent 95751b1 commit d7a4819
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Binary file modified GameData/kOS-EVA/Plugins/kOS-EVA.dll
Binary file not shown.
1 change: 1 addition & 0 deletions kOS-EVA/Addon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ private void InitializeSuffixes()
AddSuffix("MOVETHROTTLE", new SetSuffix<Vector>(() => new Vector(evacontrol.MovementThrottle), value => evacontrol.MovementThrottle = value.ToVector3()));
AddSuffix("JUMP", new NoArgsVoidSuffix(Jump));
AddSuffix("SPRINT", new SetSuffix<BooleanValue>(() => evacontrol.Sprint, value => evacontrol.Sprint = value));
AddSuffix("STATE", new Suffix<StringValue>(() => kerbaleva.fsm.currentState.name));

// Set a default bootfilename, when no other has been set.
if (shared.Vessel.isEVA && shared.KSPPart.GetComponentCached<Module.kOSProcessor>(ref _myprocessor).bootFile.ToLower() == "none" )
Expand Down

0 comments on commit d7a4819

Please sign in to comment.