Payphobes 'n' shit

This commit is contained in:
MCLx86 2021-12-21 19:55:39 -05:00
parent 18500d4f67
commit 427f31b70b
10 changed files with 42 additions and 9 deletions

View File

@ -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()

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 B

View File

@ -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,
})

Binary file not shown.

Binary file not shown.