Page 1 of 1

Writing onto paper

PostPosted: Sat Nov 19, 2011 08:08
by randomproof
I've made a fork with added writable paper. A single item of paper is craftable into an item of non-stackable writable paper. When you right-click twice on it in the inventory screen you can add multi-lined text to it. This text is saved with the item on the server. So you could write a message on it and leave it for another player in a sort of primitive mail system. Max length is set in constants.h as WRITABLE_TEXT_MAX_LENGTH (right now 200 characters).

https://github.com/randomproof/minetest

PostPosted: Sat Nov 19, 2011 13:33
by Staffs
If its done put it at "Ready for review" section http://test.mine.bz/wiki/doku.php?id=patchsets

PostPosted: Sat Nov 19, 2011 17:58
by randomproof
I'm going to clean up the code a little and put some comments then I'll move it over. I'm also think of changing signs to save the text the same way. I'm also thinking about making a poster item that will display the text when you point at it. You could put up a bulletin board near spawn with server rules or announcements or even ASCII maps.