The game: Caveman v3.0, a FPSRPG / person sim hybrid.
I'm thinking of adding a rock toss mini game that uses the combat engine. But its a fair amount of work. From my notes...
Do you think its worth the effort?
Code will have to be added to declare, initialize, load, save, change, and use all the new variables.
Telling them to go when they take too long would require even more vars to track when their turn started.
I already have AI code that can be trivially copy/paste/edited to walk to the line, turn, and throw.
Depending on the height of the target and how I do the collision checks, additional AI may be required for proper up and down targeting of throws.
Adding a new kind of object to the game typically takes an hour or more once you have art assets. You have to fill in its stats, add an action to find or make it, add in an action to use it, etc. Most of the work of adding a new object is any new art assets, and the new actions required for it.
Adding a new action is non-trivial. You have to fill in its prerequisites, and add code to trigger the action, and code to run the action.
If I do all this, you'd be able to go up to an NPC and say "want to play some rock toss?". and if they said yes, you could drop a throwing line object and a target object, and equip your throwing rock weapon and go for it. And the NPC would comment on your throws, and all that kind of good stuff. almost like a scripted cut scene you can walk around in, but you're playing a game, its not just a canned cut scene.