mirror of
https://github.com/D00Med/moreplants.git
synced 2025-07-30 14:00:23 +02:00
Compare commits
3 Commits
master
...
d47cd1ca00
Author | SHA1 | Date | |
---|---|---|---|
d47cd1ca00 | |||
b02803af5c | |||
e62103b008 |
7
init.lua
7
init.lua
@ -636,6 +636,7 @@ minetest.register_node("moreplants:palmleaves2", {
|
|||||||
visual_scale = 2.5,
|
visual_scale = 2.5,
|
||||||
tiles = {"moreplants_palmleaves2.png"},
|
tiles = {"moreplants_palmleaves2.png"},
|
||||||
inventory_image = "moreplants_palmleaves2.png",
|
inventory_image = "moreplants_palmleaves2.png",
|
||||||
|
use_texture_alpha = true,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
sunlight_propagates = false,
|
sunlight_propagates = false,
|
||||||
@ -655,6 +656,7 @@ minetest.register_node("moreplants:palmleaves1", {
|
|||||||
visual_scale = 4.0,
|
visual_scale = 4.0,
|
||||||
tiles = {"moreplants_palmleaves.png"},
|
tiles = {"moreplants_palmleaves.png"},
|
||||||
inventory_image = "moreplants_palmleaves.png",
|
inventory_image = "moreplants_palmleaves.png",
|
||||||
|
use_texture_alpha = true,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
sunlight_propagates = false,
|
sunlight_propagates = false,
|
||||||
@ -947,8 +949,7 @@ minetest.register_decoration({
|
|||||||
-- })
|
-- })
|
||||||
end
|
end
|
||||||
|
|
||||||
local mgname = minetest.get_mapgen_setting("mg_name")
|
if minetest.get_mapgen_params().mgname ~= "v6" or minetest.get_mapgen_params().mgname ~= "singlenode" then
|
||||||
if mgname ~= "v6" and mgname ~= "singlenode" then
|
|
||||||
moreplants.mapgen()
|
moreplants.mapgen()
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -1005,3 +1006,5 @@ minetest.register_on_generated(function(minp, maxp)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
minetest.log("action", "[moreplants] loaded.")
|
||||||
|
Reference in New Issue
Block a user