dofile(minetest.get_modpath("mypaths").."/dirt_road.lua") dofile(minetest.get_modpath("mypaths").."/dirt_road_slopes.lua") dofile(minetest.get_modpath("mypaths").."/stone_paths.lua") dofile(minetest.get_modpath("mypaths").."/grass.lua") if minetest.get_modpath("ethereal") then dofile(minetest.get_modpath("mypaths").."/ethereal.lua") minetest.register_alias("mypaths:dirt_road", "ethereal:dry_dirt") else dofile(minetest.get_modpath("mypaths").."/crafts.lua") end if minetest.get_modpath("moreblocks") then stairsplus:register_all( "mypaths", "grass", "mypaths:grass", { description = "Grass", tiles = {"mypaths_grass.png"}, groups = {crumbly=2}, sounds = default.node_sound_dirt_defaults(), } ) stairsplus:register_all( "mypaths", "dirt_road", "mypaths:dirt_road", { description = "Dirt Road", tiles = {"mypaths_dirt_road.png"}, groups = {crumbly=2}, sounds = default.node_sound_dirt_defaults(), } ) stairsplus:register_all( "mypaths", "dirt_road_side", "mypaths:dirt_road_side", { description = "Dirt Road Side", tiles = {"mypaths_dirt_road_side.png", "mypaths_dirt_road_side.png", "mypaths_grass.png", "mypaths_dirt_road.png", "mypaths_dirt_road_side2.png", "mypaths_dirt_road_side.png", }, groups = {crumbly=2}, sounds = default.node_sound_dirt_defaults(), } ) stairsplus:register_all( "mypaths", "dirt_road_side_angle", "mypaths:dirt_road_side_angle", { description = "Dirt Road Side Angle", tiles = {"mypaths_dirt_road_side_angle.png", "mypaths_grass.png", "mypaths_grass.png", "mypaths_dirt_road.png", "mypaths_dirt_road.png", "mypaths_grass.png", }, groups = {crumbly=2}, sounds = default.node_sound_dirt_defaults(), } ) stairsplus:register_all( "mypaths", "dirt_road_side_angle_end1", "mypaths:dirt_road_side_angle_end1", { description = "Dirt Road Angle End 1", tiles = {"mypaths_dirt_road_side_angle_end1.png", "mypaths_dirt_road_side_angle_end2.png^[transformR180", "mypaths_grass.png", "mypaths_dirt_road.png", "mypaths_dirt_road_side.png^[transformR180", "mypaths_grass.png", }, groups = {crumbly=2}, sounds = default.node_sound_dirt_defaults(), } ) stairsplus:register_all( "mypaths", "dirt_road_side_angle_end2", "mypaths:dirt_road_side_angle_end2", { description = "Dirt Road Angle End 2", tiles = {"mypaths_dirt_road_side_angle_end2.png", "mypaths_dirt_road_side_angle_end2.png^[transformR180", "mypaths_grass.png", "mypaths_dirt_road.png", "mypaths_dirt_road_side.png", "mypaths_grass.png", }, groups = {crumbly=2}, sounds = default.node_sound_dirt_defaults(), } ) stairsplus:register_all( "mypaths", "dirt_road_side_angle_end3", "mypaths:dirt_road_side_angle_end3", { description = "Dirt Road Angle End 3", tiles = {"mypaths_dirt_road_side_angle_end3.png", "mypaths_dirt_road_side_angle_end4.png^[transformR180", "mypaths_grass.png", "mypaths_dirt_road.png", "mypaths_dirt_road_side.png", "mypaths_grass.png", }, groups = {crumbly=2}, sounds = default.node_sound_dirt_defaults(), } ) stairsplus:register_all( "mypaths", "dirt_road_side_angle_end4", "mypaths:dirt_road_side_angle_end4", { description = "Dirt Road Angle End 4", tiles = {"mypaths_dirt_road_side_angle_end4.png", "mypaths_dirt_road_side_angle_end3.png^[transformR180", "mypaths_dirt_road_side.png^[transformR180", "mypaths_dirt_road.png", "mypaths_dirt_road.png", "mypaths_grass.png", }, groups = {crumbly=2}, sounds = default.node_sound_dirt_defaults(), } ) stairsplus:register_all( "mypaths", "dirt_road_icorner", "mypaths:dirt_road_icorner", { description = "Dirt Road Inside Corner", tiles = {"mypaths_dirt_road_icorner.png", "mypaths_dirt_road_icorner.png^[transformR90", "mypaths_dirt_road_side2.png", "mypaths_dirt_road.png", "mypaths_dirt_road.png", "mypaths_dirt_road_side.png", }, groups = {crumbly=2}, sounds = default.node_sound_dirt_defaults(), } ) stairsplus:register_all( "mypaths", "dirt_road_ocorner", "mypaths:dirt_road_ocorner", { description = "Dirt Road Outside Corner", tiles = {"mypaths_dirt_road_ocorner.png", "mypaths_dirt_road_ocorner.png^[transformR270", "mypaths_grass.png", "mypaths_dirt_road_side2.png", "mypaths_grass.png", "mypaths_dirt_road_side.png", }, groups = {crumbly=2}, sounds = default.node_sound_dirt_defaults(), } ) end