diff --git a/mods/coconut/init.lua b/mods/coconut/init.lua index a12892c..a62d3cf 100644 --- a/mods/coconut/init.lua +++ b/mods/coconut/init.lua @@ -3,12 +3,12 @@ coconut = {} minetest.register_node("coconut:nut", { tiles = { - "main_cobble.png", - "main_cobble.png", - "main_cobble.png", - "main_cobble.png", - "main_cobble.png", - "main_cobble.png" + "coconut_nut.png", + "coconut_nut.png", + "coconut_nut_side.png", + "coconut_nut_side.png", + "coconut_nut_side.png", + "coconut_nut_side.png" }, drawtype = "nodebox", paramtype = "light", @@ -19,7 +19,8 @@ minetest.register_node("coconut:nut", { { {-0.25, -0.5, -0.25, 0.25, 0, 0.25}, } - } + }, + groups = {falling_node = 1, cracky = 2} }) function coconut.init() diff --git a/mods/coconut/textures/coconut_nut.png b/mods/coconut/textures/coconut_nut.png new file mode 100644 index 0000000..6211b67 Binary files /dev/null and b/mods/coconut/textures/coconut_nut.png differ diff --git a/mods/coconut/textures/coconut_nut_side.png b/mods/coconut/textures/coconut_nut_side.png new file mode 100644 index 0000000..f6ee05e Binary files /dev/null and b/mods/coconut/textures/coconut_nut_side.png differ diff --git a/mods/main/mapgen.lua b/mods/main/mapgen.lua index fa514b5..433bcf6 100644 --- a/mods/main/mapgen.lua +++ b/mods/main/mapgen.lua @@ -30,14 +30,46 @@ minetest.register_biome( minetest.register_decoration( { deco_type = "schematic", - place_on = {"main:dirt_with_grass", "main:dirt", "main:sand", "main:dirt_with_swamp_grass"}, + place_on = {"main:grass", "main:sand"}, rotation = "random", sidelen = 16, fill_ratio = 0.004, - biomes = {"Grasslands", "Swamp", "Desert", "Wasteland"}, + biomes = {"Beach"}, flags = "place_center_x, place_center_z", schematic = minetest.get_modpath("main") .. "/schematics/main_rock_cobble_small.mts", y_min = -32000, y_max = 32000, }) + +--Tree +minetest.register_decoration( + { + deco_type = "schematic", + place_on = {"main:sand"}, + rotation = "random", + sidelen = 32, + fill_ratio = 0.003, + biomes = {"Beach"}, + flags = "place_center_x, place_center_z", + schematic = minetest.get_modpath("main") + .. "/schematics/main_tree.mts", + y_min = -32000, + y_max = 32000, +}) + +--Payphone +minetest.register_decoration( + { + deco_type = "schematic", + place_on = {"main:sand"}, + rotation = "random", + sidelen = 256, + fill_ratio = 0.001, + biomes = {"Beach"}, + flags = "place_center_x, place_center_z", + schematic = minetest.get_modpath("main") + .. "/schematics/main_payphone.mts", + y_min = -32000, + y_max = 32000, +}) diff --git a/mods/main/schematics/main_payphone.mts b/mods/main/schematics/main_payphone.mts new file mode 100644 index 0000000..e3da0bc Binary files /dev/null and b/mods/main/schematics/main_payphone.mts differ diff --git a/mods/main/schematics/main_tree.mts b/mods/main/schematics/main_tree.mts new file mode 100644 index 0000000..c9c03b7 Binary files /dev/null and b/mods/main/schematics/main_tree.mts differ diff --git a/mods/main/schematics/main_tree_apple.mts b/mods/main/schematics/main_tree_apple.mts deleted file mode 100644 index 5f96503..0000000 Binary files a/mods/main/schematics/main_tree_apple.mts and /dev/null differ diff --git a/mods/main/schematics/main_tree_oak.mts b/mods/main/schematics/main_tree_oak.mts deleted file mode 100644 index 66c213f..0000000 Binary files a/mods/main/schematics/main_tree_oak.mts and /dev/null differ diff --git a/mods/main/schematics/main_tree_oak_tall.mts b/mods/main/schematics/main_tree_oak_tall.mts deleted file mode 100644 index 4146aa4..0000000 Binary files a/mods/main/schematics/main_tree_oak_tall.mts and /dev/null differ diff --git a/mods/main/schematics/main_tree_oak_tall_dead.mts b/mods/main/schematics/main_tree_oak_tall_dead.mts deleted file mode 100644 index 168b292..0000000 Binary files a/mods/main/schematics/main_tree_oak_tall_dead.mts and /dev/null differ