Create a Machinations diagram for a "Minecraft Ore Mining Score Battle" game.
The game has a limited 30 turns (Energy) and players compete to get the highest Score.
1. Pools (Nodes):
- Energy: starting value 30.
- Wood: starting value 0.
- Stone: starting value 0.
- Iron: starting value 0.
- ToolLevel: starting value 0.
- Score: starting value 0.
2. Interactive Gates (Actions):
- ChopWood:
- Consumes 1 Energy.
- Produces 1 Wood.
- MineStone:
- Consumes 1 Energy.
- Produces 1 Stone.
- State connection from ToolLevel to MineStone with label ">=1".
- MineCoal:
- Consumes 1 Energy.
- Produces 1 Score.
- State connection from ToolLevel to MineCoal with label ">=1".
- MineIron:
- Consumes 1 Energy.
- Produces 1 Iron.
- State connection from ToolLevel to MineIron with label ">=2".
- SellIron:
- Consumes 1 Iron.
- Produces 5 Score. (This action does not consume Energy).
- MineDiamond:
- Consumes 1 Energy.
- Produces 15 Score.
- State connection from ToolLevel to MineDiamond with label "==3".
3. Crafting Gates (Interactive):
- CraftWoodPick:
- Consumes 3 Wood.
- Adds 1 to ToolLevel.
- State connection from ToolLevel to CraftWoodPick with label "==0".
- CraftStonePick:
- Consumes 3 Stone.
- Adds 1 to ToolLevel.
- State connection from ToolLevel to CraftStonePick with label "==1".
- CraftIronPick:
- Consumes 3 Iron.
- Adds 1 to ToolLevel.
- State connection from ToolLevel to CraftIronPick with label "==2".
4. End Node (Game Over):
- Create an End Node named "GameOver".
- State connection from Energy to GameOver with label "<=0".
Please layout the diagram logically. Put resources (Pools) in the center, action gates on the left, crafting gates on the right, and the Score pool on the far right.