fezhub / DSP-Mods

Dyson Sphere Program Mods
GNU Lesser General Public License v2.1
42 stars 11 forks source link

Add functionality to save/load design of dyson sphere #45

Closed zhangxp1998 closed 3 years ago

zhangxp1998 commented 3 years ago

I added a feature to save current dyson sphere design to clipboard(press 'S'), and load dyson sphere design from clipboard (press 'L') is this something you are interested in?

kyldvs commented 3 years ago

I'm not the owner of this repo or anything, but please don't use "S" (part of WASD), use something that won't accidentally get hit, like "K" might be good, right next to "L"

zhangxp1998 commented 3 years ago

I'm not the owner of this repo or anything, but please don't use "S" (part of WASD), use something that won't accidentally get hit, like "K" might be good, right next to "L"

Thanks for replying! The keys are only triggered IF you are in the Dyson sphere UI. I chose 'S' for "save", and hopefully people don't randomly press "WASD" in Dyson sphere UI. A proper solution would be to make this configurable via a pref. This is just to see if the owner is interested. If so, I can polish this feature a bit more.

fezhub commented 3 years ago

Sorry I didn't reply earlier @zhangxp1998, this looks like a great quality of life feature but I'd like to keep SphereProgress very simple. I would suggest that you release this as a standalone mod but it appears you have just done exactly that 😄