Ghoulboy78 / Scarpet-edit

A useful tool for developing decorative builds etc in scarpet.
Creative Commons Zero v1.0 Universal
22 stars 4 forks source link

Fix copy command to store information better #43

Open Ghoulboy78 opened 3 years ago

Ghoulboy78 commented 3 years ago

Cos right now it's not particularly efficient. I think I'lll store in a similar way to structure files etc.

Firigion commented 3 years ago

You mean the clipboard to disc or the virtual clipboard?

altrisi commented 3 years ago

Tbh I'd just store it directly as a structure file but in memory, and make the structure save command just write it to a file, making it simpler to save any of the two (a selection/an already existing clipboard, since saving current selection would basically call "make" a clipboard then save).

That would also make it simpler to at some point save the clipboards when closing/restarting/leaving the server, just write_file and that's it.