well u covered a basic thing,but how about details such as which team the player is on,u still have to declare in players java variables for these things,and make them return as true when u start the game as a specfic team.and as for the bone praying and all that other stuff,just declare booleans and use the coords x to x and y to y to create the areas for obelisk and grave,so u can just use a code a if method,and do somthing like for itemselect
case(itemidhere):
If (p.booleanmethodhere && p.(teamvariablehere = true) {
===effect would go over here,including the animation,effect on the lvl of avatar ,etc which u have to set string for,seperatly,but alll info here.
it would be better iuf u delcared are void an did somthing like this.
p.VOIDHERE(p);
then after the info u wanna make it so it closes and u declare if a player burys a bone otherwise. it would go somthing ike this
} else {
i--------------------what u want the bone to do ,if player is else
where.like anywhere else.
then after that close the case with a
}
break;
that was just a basic exsample,hopes this helps.