aenemenate/Landlord

Implement ranged combat

Closed this issue · 1 comments

Bows have a force property that indicates how far the shot arrow will fly and how much force will be inferred through it.

Arrows should be projectiles which live in their list and are scheduled according to certain rules. They will have a vector which indicates the line of its total flight path and a force value which indicates how many milliseconds it takes to travel to the next point on its flight line.

Once an arrow reaches the end of its flight path, it will drop as an arrow item on the ground. If it hits an enemy, it will be destroyed and the enemy will take damage related directly with the force and arrow material strength and inversely with distance along flight path.

From here, AI will have to be programmed which can engage in ranged combat.

The next goal is to add crafting options for arrows and possibly a workstation for making bows. Maybe new components/materials in the world?

Ok, everything is there except for the arrow, here we go! :)