MerlinofMines / EasyCommands

Github Repository for Ingame Scripts built by MerlinofMines. Uses MDK to Deploy to SpaceEngineerse
GNU General Public License v3.0
8 stars 3 forks source link

Add more Suspension Properties #182

Closed jgersti closed 2 years ago

jgersti commented 2 years ago

Adds attached as a readonly property. (#174)

We should take a look what other properties can be easily incorporated in this PR.

MerlinofMines commented 2 years ago

See some of my comments on #176 and #175 for thoughts on expanding the PR to support those properties. Adding to this PR or doing as a separate PR both seem fine.

MerlinofMines commented 2 years ago

Do you want to merge as is or keep iterating on the PR?

jgersti commented 2 years ago

merge it. the other stuff needs some more thoughts (and time)

MerlinofMines commented 2 years ago

Happy to merge but curious what you think on adding attach/detach support..wouldn't be difficult.

AddBooleanHandler(Property.CONNECTED, b => b.IsAttached, (b,v) => {if(v) b.Attach(); else b.Detach(); });