Pottery Minigame System


ExPetrum introduces a minigame to the Pottery Station to create clay pottery.
First the player must place 8 clay into the pottery slot. Then they are able to select the type of pottery they want to create by clicking the button. Lastly they must complete the puzzle in order to gain the pottery in question.
The puzzle is rather simple - the player must move pieces around until the picture on the right matches the picture on the button. The piece is selected by left-clicking it. If a piece is seleced left-clicking any piece will swap the positions of the two pieces.
When a puzzle is completed a sound plays and the clay is replaced with the item in question.
The puzzle might be reset by re-opening the GUI of the pottery station.
Sometimes two identically looking pieces might get swapped. Unfortunately there isn't a non-expensive way of detecting whether two pieces of the puzzle are identical or not. If the player has completed the puzzle yet no sound plays and the item is not given this bug might be present. Swapping identically looking pieces places solves the issue.