Finalize the books module
We have a books module that was put together but never fully finalized.
There are a few minor outstanding code issues detailed at https://github.com/Terasology/Books/issues/1
The module also isn't very obvious about what it contains. A player wouldn't see a difference on simply enabling the module.
Goals for this task:
- Complete the minor issues noted in the linked issue (mainly just getting page switching working right)
- Hook into a player spawn event to then give the player some of the assets in the module (a stack of bookcase blocks and a few actual blocks)
- Enhance the book UI in the module or add a new UI screen that allows the player to write his or her own books
For the player spawn event you can check out Light & Shadow which has code to insert some of its special items into the player's inventory while starting. That can either be done via delta on the player.prefab or a spawn event.
For making new books see GooeysQuests and how it uses an item to copy a selection of the world to save into a prefab. Read up on it at http://forum.terasology.org/threads/gooeys-quests.1461/page-2 - note that while it is probably quite possible to "save" a book into an existing world (that's just persisting an entity with a BookComponent) permanently storing a book for reuse in later worlds might need the approach from GooeysQuests where the player can export a prefab file that can be added to a module.