Writing onto paper

randomproof
Member
 
Posts: 214
Joined: Thu Nov 17, 2011 06:31

Writing onto paper

by randomproof » Sat Nov 19, 2011 08:08

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
 

User avatar
Staffs
Member
 
Posts: 329
Joined: Thu Aug 04, 2011 13:16

by Staffs » Sat Nov 19, 2011 13:33

If its done put it at "Ready for review" section http://test.mine.bz/wiki/doku.php?id=patchsets
I love mods :D
 

randomproof
Member
 
Posts: 214
Joined: Thu Nov 17, 2011 06:31

by randomproof » Sat Nov 19, 2011 17:58

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.
 


Return to Minetest Engine

Who is online

Users browsing this forum: No registered users and 6 guests

cron