1
0
鏡像自 https://github.com/minetest/minetest_game.git 已同步 2025-09-18 14:20:48 +02:00

Waterlily: Place as Y-offset simple decoration

此提交包含在:
paramat
2018-02-25 21:03:54 +00:00
提交者 paramat
父節點 702070accb
當前提交 63ebdfd139
共有 3 個檔案被更改,包括 10 行新增7 行删除

查看文件

@@ -280,7 +280,6 @@ minetest.register_node("flowers:waterlily", {
liquids_pointable = true,
walkable = false,
buildable_to = true,
sunlight_propagates = true,
floodable = true,
groups = {snappy = 3, flower = 1, flammable = 1},
sounds = default.node_sound_leaves_defaults(),

查看文件

@@ -44,7 +44,7 @@ end
local function register_mgv6_waterlily()
minetest.register_decoration({
deco_type = "schematic",
deco_type = "simple",
place_on = {"default:dirt"},
sidelen = 16,
noise_params = {
@@ -57,8 +57,10 @@ local function register_mgv6_waterlily()
},
y_max = 0,
y_min = 0,
schematic = minetest.get_modpath("flowers").."/schematics/waterlily.mts",
rotation = "random",
decoration = "flowers:waterlily",
param2 = 0,
param2_max = 3,
place_offset_y = 1,
})
end
@@ -124,7 +126,7 @@ end
local function register_waterlily()
minetest.register_decoration({
deco_type = "schematic",
deco_type = "simple",
place_on = {"default:dirt"},
sidelen = 16,
noise_params = {
@@ -138,8 +140,10 @@ local function register_waterlily()
biomes = {"rainforest_swamp", "savanna_shore", "deciduous_forest_shore"},
y_max = 0,
y_min = 0,
schematic = minetest.get_modpath("flowers") .. "/schematics/waterlily.mts",
rotation = "random",
decoration = "flowers:waterlily",
param2 = 0,
param2_max = 3,
place_offset_y = 1,
})
end

未顯示二進位檔案。