don't use minetest.env:* method (deprecated), use minetest.* instead
(basically leaving only the old legacy mapgen calls still using the string method)