ubc-minetest-classroom / minetest_classroom

Repo for Mintest Classroom game
GNU General Public License v3.0
10 stars 6 forks source link

Give players specific tools in classrooms #214

Open pauldpickell opened 1 year ago

pauldpickell commented 1 year ago

Is your feature request related to a problem? Please describe. Players join only with the forestry tools and MC tools. Currently, it is not possible to give students tools without first completing a tutorial. This may not be intuitive for a teacher setting up a classroom.

Describe the solution you'd like Allow teachers to register a set of tools as part of the classroom management system. In this way, students are guaranteed access to a specific set of tools when teleporting into a specific classroom. We should also consider managing all tools given from tutorials, so that students do not carry tools out of classrooms where they are intended to be used.

Describe alternatives you've considered Modifying the interact priv is not enough because this can lead to unintentional tool use. For example, a player acquires a default:pick_diamond from a tutorial or another classroom and then moves into a classroom where interact is granted, but the student is expected to craft/use a default:pick_wood. This should be easy to implement with the existing tool manager.

pauldpickell commented 1 year ago

Related to #171