Books Test Plan - Terasology/Books GitHub Wiki
Books and Bookcases Test Plan and Instructions
Controls
- Right-click to place an item and left click to destroy an item. Press W to move forward, A to move left, D to move right, S to move backward and Space Bar to jump. Use the number keys 0-9 to toggle through inventory.
Setup
- First, you will have to setup Terasology, the easiest way to do this and access modules is to download the Omega zip, extract the file and use either the x86 or x64 launcher
- Launch the game and select singleplayer, choose Core Gameplay from the drop down, click the advanced menu and in the middle menu scroll down (or up) until you find the Books and Bookcases module, left click on it. In the small window to the right click download if the module is not already downloaded (it should be with the omega zip) and then click activate if you haven’t. After that happens, click “Play”
Setup Books and Bookcases Module
Verify the game does not crash or hang at any of the following steps:
- Create a new world with only Books and Bookcases and its dependencies active from the modules.
- Verify the world is created and loads.
Bookcases Tests
###Searching for Items Pre Conditions You have a working game with the Books and Bookcases module working.
Execution Steps
To see the names of all spawnable items associated with the items you should first press F1 and then type “search Books” to be presented with the whole list of items.
Post Conditions
You are presented with a list of all spawnable items associated with the module
Bookcase Blocks
Pre Conditions
You have a working game with the Books and Bookcases module working.
Execution steps
To get the bookcase blocks, press F1 and then type give Books:Bookcase to receive 16 blocks of Bookcase.
Post conditions
After typing the above command once you have 16 Bookcase blocks in your inventory
Stacking
Pre condition
You have book case blocks in your inventory
Execution steps
Place a bookcase on the ground, place another book case block on that one Bookcase blocks should be able to be stacked on one another as well as on top of other solid blocks
Post conditions
You have a book case stacked on another
Damage
Bookcase blocks can take damage like traditional blocks. If broken, 1 Bookcase block will drop a single mini-bookcase block which can be picked up by the player again
Pre conditions
You have placed one bookcase block on the ground
Execution steps
Strike the block 4 times with the axe weapon
Post conditions
The block is destroyed, leaving behind a mini cube
Storing items in a bookcase block
Pre conditions
You have placed one bookcase block on the ground
Execution steps
When adjacent to a block a player can press “E” to access the contents of a bookcase block. A bookcase block can hold up to 20 items and players can freely move items from their inventory into a Bookcase block and vice versa
Post conditions
A player has moved an item in or out of a bookcase
Surfaces and Stacking
Pre Conditions
You have placed one bookcase block on the ground
Execution Steps
Bookcases may be attached to other bookcases as well as any other solid block. Bookcases may also be adhered to vertical faces of blocks instead of stacking.
Post conditions
You have stacked bookcase structures similar to the screenshot below
Dropping
Pre Conditions
You have a Book case block in your inventory
Execution Steps
Equipping the Bookcase blocks and pressing “Q” will drop 1 bookcase block from your inventory at your feet. You can get it back in your inventory by walking over it.
Post Conditions
The bookcase is removed from your inventory until you pick it up
Recipebook
Pre Conditions
You have a working game with the Books and Bookcases module working.
Execution Steps
You can get a Recipebook item by typing give Books:recipebook. Right clicking with a recipe book will give you a small pop up menu which can be exited by pressing the “Esc” key
Post Conditions
You have a blue recipe book in your inventory
Dropping
Pre Conditions
You have a recipe book in your inventory
Execution steps
Equipping the recipebook and pressing “Q” will drop the book from your inventory at your feet. You can get it back in your inventory by walking over it.
Post conditions
Your inventory no longer contains the recipe book
Quill
Pre conditions
You have a working game with the Books and Bookcases module working.
Execution Steps
Typing give Books:quill will give the player the Quill item. Right clicking the item does nothing and left click can be used for attacks that deal as much damage as unarmed attacks.
Post Conditions
Your inventory now contains the quill
Dropping
Pre conditions
You have a quill in your inventory
Execution steps
Equipping the quill and pressing “Q” will drop the book from your inventory at your feet. You can get it back in your inventory by walking over it.
Post conditions
You no longer have the quill in your inventory
Redbook
Pre conditions
You have a working game with the Books and Bookcases module working.
Execution steps
Pressing F1 and typing “give Books:redbook” places the redbook in the players inventory. Equipping the redbook and right clicking displays a red book popup which can be exited using the “Esc” key
Post conditions
Your inventory now contains the redbook
Dropping
Pre conditions
You have a redbook in your inventory
Execution Steps
Equipping the redbook and pressing “Q” will drop the book from your inventory at your feet. You can get it back in your inventory by walking over it.
Post conditions
You no longer have the redbook in your inventory
Bluebook
Pre conditions
You have a working game with the Books and Bookcases module working.
Execution Steps
Pressing F1 and typing “give Books:bluebook” places the bluebook in the players inventory. Equipping the bluebook and right clicking displays a blue book popup which can be exited using the “Esc” key
Post Conditions
You have the bluebook in your inventory
Dropping
Pre conditions
You have the bluebook in your inventory
Execution Steps
Equipping the bluebook and pressing “Q” will drop the book from your inventory at your feet. You can get it back in your inventory by walking over it.
Post Conditions
You no longer have the bluebook in your inventory
Book
Pre conditions
You have a working game with the Books and Bookcases module working.
Executon steps
Pressing F1 and typing “give Books:book” places the book in the players inventory. Equipping the book and right clicking displays a brown book popup which can be exited using the “Esc” key
Post Conditions
You now have a brown book in your inventory
Dropping
Pre conditions
You have a working game with the Books and Bookcases module working.
Execution Steps
Equipping the Book and pressing “Q” will drop the book from your inventory at your feet. You can get it back in your inventory by walking over it.
Post Conditions
You no longer have the book in your inventory