local npc_master_priv_definition = { description="Can use the staffs to command NPCs", give_to_singleplayer = false, give_to_admin = true, } minetest.register_privilege("npc_master", npc_master_priv_definition) local npc_talk_owner_priv_definition = { description="Can edit the dialogs of his/her own NPCs", give_to_singleplayer = false, give_to_admin = true, } minetest.register_privilege("npc_talk_owner", npc_talk_owner_priv_definition) local npc_talk_master_priv_definition = { description="Can edit the dialogs of NPCs independent of owner", give_to_singleplayer = false, give_to_admin = true, } minetest.register_privilege("npc_talk_master", npc_talk_master_priv_definition)