Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use mod storage #7

Open
numberZero opened this issue Sep 15, 2018 · 1 comment
Open

Use mod storage #7

numberZero opened this issue Sep 15, 2018 · 1 comment

Comments

@numberZero
Copy link

Nowadays, Minetest provides a key-value storage for mods. It should be safer and more reliable than separate files.

@octacian
Copy link
Owner

octacian commented Sep 28, 2018

Yes, I'm well aware of Minetest's modstorage - I've used it in numerous other mods since this. However, I don't intend to use it in digicompute. I have considered it in the past, but one of the key features of digicompute is that it is possible to write scripts for it outside of the game and then simply copy them directly into the filesystem of any computer, and vice versa.

This is important due to how the editor that I can provide through formspecs is not very intuitive, instead acting as an incentive to code outside of the game. Not only that, but on some systems (mine included) copy-paste between Minetest and other outside programs does not work, so I cannot simply code externally and then copy-paste it to Minetest.

It would, however, make sense to adopt mod storage for storing computer positions rather than using computers.txt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants