Initial commit of saplings mod
This commit is contained in:
parent
51f05ac72a
commit
9d515c559b
1
saplings/depends.txt
Normal file
1
saplings/depends.txt
Normal file
@ -0,0 +1 @@
|
||||
default
|
65
saplings/init.lua
Normal file
65
saplings/init.lua
Normal file
@ -0,0 +1,65 @@
|
||||
minetest.register_node("saplings:sapling_top", {
|
||||
description = "SaplingTop",
|
||||
drawtype = "plantlike",
|
||||
visual_scale = 1,
|
||||
paramtype = "light",
|
||||
tiles = {"sapling16xa.png"},
|
||||
inventory_image = "sapling16xa.png",
|
||||
walkable = false,
|
||||
groups = {
|
||||
snappy=3,
|
||||
flammable=2,
|
||||
attached_node=1--,
|
||||
--not_in_creative_inventory=1
|
||||
},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-7/16, -1/2, -7/16, 7/16, 0, 7/16},
|
||||
},
|
||||
--drop = "ferns:fern_01",
|
||||
})
|
||||
|
||||
minetest.register_node("saplings:sapling_middle", {
|
||||
description = "SaplingMiddle",
|
||||
drawtype = "plantlike",
|
||||
visual_scale = 1,
|
||||
paramtype = "light",
|
||||
tiles = {"sapling16xb.png"},
|
||||
inventory_image = "sapling16xb.png",
|
||||
walkable = false,
|
||||
groups = {
|
||||
snappy=3,
|
||||
flammable=2,
|
||||
attached_node=1--,
|
||||
--not_in_creative_inventory=1
|
||||
},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-7/16, -1/2, -7/16, 7/16, 0, 7/16},
|
||||
},
|
||||
--drop = "ferns:fern_01",
|
||||
})
|
||||
|
||||
minetest.register_node("saplings:sapling_bottom", {
|
||||
description = "SaplingBottom",
|
||||
drawtype = "plantlike",
|
||||
visual_scale = 1,
|
||||
paramtype = "light",
|
||||
tiles = {"sapling16xc.png"},
|
||||
inventory_image = "sapling16xc.png",
|
||||
walkable = false,
|
||||
groups = {
|
||||
snappy=3,
|
||||
flammable=2,
|
||||
attached_node=1--,
|
||||
--not_in_creative_inventory=1
|
||||
},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-7/16, -1/2, -7/16, 7/16, 0, 7/16},
|
||||
},
|
||||
--drop = "ferns:fern_01",
|
||||
})
|
BIN
saplings/textures/sapling16xa.png
Normal file
BIN
saplings/textures/sapling16xa.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 578 B |
BIN
saplings/textures/sapling16xb.png
Normal file
BIN
saplings/textures/sapling16xb.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 433 B |
BIN
saplings/textures/sapling16xc.png
Normal file
BIN
saplings/textures/sapling16xc.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 217 B |
Loading…
x
Reference in New Issue
Block a user