forked from mtcontrib/moreplants
Compare commits
8 Commits
d47cd1ca00
...
master
Author | SHA1 | Date | |
---|---|---|---|
cae249a88a | |||
4bf92e471a | |||
e0d6663960 | |||
07f4ac8379 | |||
ffc1b1921d | |||
681d1d963c | |||
d4e6b9c3a5 | |||
5e8cd73393 |
@ -1 +0,0 @@
|
|||||||
default
|
|
@ -1,9 +0,0 @@
|
|||||||
A simple mod that adds a few new plants.
|
|
||||||
Changed in V1.2:
|
|
||||||
>more plants
|
|
||||||
>plants now spawn on new worlds(as decorations not using an ABM)
|
|
||||||
>curly plants have fruit, and eyeweeds drop eyeballs
|
|
||||||
>smaller textures
|
|
||||||
|
|
||||||
Changed in V1.3:
|
|
||||||
>added all plants to the group attached_node
|
|
7
init.lua
7
init.lua
@ -636,7 +636,6 @@ 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,
|
||||||
@ -656,7 +655,6 @@ 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,
|
||||||
@ -729,7 +727,7 @@ minetest.register_decoration({
|
|||||||
place_on = "default:dirt_with_grass",
|
place_on = "default:dirt_with_grass",
|
||||||
sidelen = 16,
|
sidelen = 16,
|
||||||
fill_ratio = 0.001,
|
fill_ratio = 0.001,
|
||||||
biomes = {"stone_grassland", "sandstone_grassland"},
|
biomes = {"grassland"},
|
||||||
decoration = "moreplants:blueflower",
|
decoration = "moreplants:blueflower",
|
||||||
height = 1,
|
height = 1,
|
||||||
})
|
})
|
||||||
@ -949,7 +947,8 @@ minetest.register_decoration({
|
|||||||
-- })
|
-- })
|
||||||
end
|
end
|
||||||
|
|
||||||
if minetest.get_mapgen_params().mgname ~= "v6" or minetest.get_mapgen_params().mgname ~= "singlenode" then
|
local mgname = minetest.get_mapgen_setting("mg_name")
|
||||||
|
if mgname ~= "v6" and mgname ~= "singlenode" then
|
||||||
moreplants.mapgen()
|
moreplants.mapgen()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user