Multiple projectile blocks per cannon design
Pvprod34 opened this issue ยท 2 comments
Hey
I was wondering if it would be possible to have more then one projectile shooting block per cannon design. Right now it seems you cant. So one could make say a double barrel gun that shoots out two of whatever projectile is loaded. You could configure more gunpowder being needed, if there was an option for requiring an extra projectile needing to be added that could be good (not essential).
You could make quite large 4 barrel turrets with this. I'm hoping the arcs would naturally sort of aim to wherever is being guided. Just an idea anyways.
I had a long discussion on the discord server today and I think the following can be implemented with moderate complextiy.
Create an option for cannon designs to link with their neighbours within a certain distance (linkDistance) and number (linkNumber) of cannons. Therefore, clicking one cannons would:
- fire the barrel if it is loaded
- fire the closest barrel within a given distance if the clicked barrel is not loaded but the neighbour is
- reload the clicked barrel and its neighbours if all barrels in the surrounding have been fired