Payphobes 'n' shit
This commit is contained in:
parent
18500d4f67
commit
427f31b70b
@ -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()
|
||||
|
BIN
mods/coconut/textures/coconut_nut.png
Normal file
BIN
mods/coconut/textures/coconut_nut.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 159 B |
BIN
mods/coconut/textures/coconut_nut_side.png
Normal file
BIN
mods/coconut/textures/coconut_nut_side.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 126 B |
@ -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,
|
||||
})
|
||||
|
BIN
mods/main/schematics/main_payphone.mts
Normal file
BIN
mods/main/schematics/main_payphone.mts
Normal file
Binary file not shown.
BIN
mods/main/schematics/main_tree.mts
Normal file
BIN
mods/main/schematics/main_tree.mts
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user