Write code for placement of the building and garages.
Make the garages determine the amount of siege engines you can instantly place.
the garages will have the siege engine built inside of them. This will cost a certain amount of emeralds as well to activate.
once built when you will need to activate the garage command block to pick the engine up when you take it with you to battle. Coding Notes: A builder will spawn when the garage is built with the ballista on completion he will save a schematic of the garage. When you go to grab the ballista from the garage it will spawn the builder to repair and if everything is the same the builder will run a command on complete that will remove the ballista and set your ballista in inventory to 1.
when you place the ballista on the battlefield it will consume it so you will have to rebuild it at the garage in order for you to be able to grab/move it again.
Write code for placement of the building and garages. Make the garages determine the amount of siege engines you can instantly place.