Update some textures, nodes and mapgen params for crystal forest

This commit is contained in:
Juraj Vajda 2023-04-04 23:29:19 -04:00
parent 36a0e5eeda
commit 99f0e7e88d
8 changed files with 31 additions and 23 deletions

View File

@ -855,6 +855,8 @@ GNU Lesser General Public License v2.1 or later (see included LICENSE file)
- everness_coral_forest_deep_ocean_lantern_animated.png - everness_coral_forest_deep_ocean_lantern_animated.png
- everness_coral_forest_deep_ocean_lantern_bottom.png - everness_coral_forest_deep_ocean_lantern_bottom.png
- everness_coral_forest_deep_ocean_lantern_top.png - everness_coral_forest_deep_ocean_lantern_top.png
- everness_coral_bones_block.png
- everness_coral_bones_brick.png
**CC-BY-SA-4.0, Pixel Perfection by XSSheep**, https://minecraft.curseforge.com/projects/pixel-perfection-freshly-updated **CC-BY-SA-4.0, Pixel Perfection by XSSheep**, https://minecraft.curseforge.com/projects/pixel-perfection-freshly-updated

View File

@ -63,6 +63,7 @@ minetest.register_decoration({
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
decoration = 'everness:crystal_mushrooms', decoration = 'everness:crystal_mushrooms',
param2 = 40
}) })
minetest.register_decoration({ minetest.register_decoration({
@ -109,6 +110,27 @@ minetest.register_decoration({
rotation = 'random', rotation = 'random',
}) })
minetest.register_decoration({
name = 'everness:crystal_forest_crystal_bush',
deco_type = 'schematic',
place_on = { 'everness:dirt_with_crystal_grass' },
sidelen = 16,
place_offset_y = 1,
noise_params = {
offset = -0.004,
scale = 0.01,
spread = { x = 100, y = 100, z = 100 },
seed = 137,
octaves = 3,
persist = 0.7,
},
biomes = { 'everness_crystal_forest' },
y_max = y_max,
y_min = y_min,
schematic = minetest.get_modpath('everness') .. '/schematics/everness_crystal_bush.mts',
flags = 'place_center_x, place_center_z',
})
local function register_crystal_grass_decoration(offset, scale, length) local function register_crystal_grass_decoration(offset, scale, length)
minetest.register_decoration({ minetest.register_decoration({
name = 'everness:crystal_forest_crystal_grass_' .. length, name = 'everness:crystal_forest_crystal_grass_' .. length,
@ -135,24 +157,3 @@ end
register_crystal_grass_decoration(-0.03, 0.09, 3) register_crystal_grass_decoration(-0.03, 0.09, 3)
register_crystal_grass_decoration(-0.015, 0.075, 2) register_crystal_grass_decoration(-0.015, 0.075, 2)
register_crystal_grass_decoration(0, 0.06, 1) register_crystal_grass_decoration(0, 0.06, 1)
minetest.register_decoration({
name = 'everness:crystal_forest_crystal_bush',
deco_type = 'schematic',
place_on = { 'everness:dirt_with_crystal_grass' },
sidelen = 16,
place_offset_y = 1,
noise_params = {
offset = -0.004,
scale = 0.01,
spread = { x = 100, y = 100, z = 100 },
seed = 137,
octaves = 3,
persist = 0.7,
},
biomes = { 'everness_crystal_forest' },
y_max = y_max,
y_min = y_min,
schematic = minetest.get_modpath('everness') .. '/schematics/everness_crystal_bush.mts',
flags = 'place_center_x, place_center_z',
})

View File

@ -198,7 +198,8 @@ minetest.register_decoration({
y_max = y_max - 500 > y_min and y_max - 500 or y_max, y_max = y_max - 500 > y_min and y_max - 500 or y_max,
y_min = y_min, y_min = y_min,
decoration = 'everness:twisted_crystal_grass', decoration = 'everness:twisted_crystal_grass',
flags = 'all_floors' flags = 'all_floors',
param2 = 40
}) })
minetest.register_decoration({ minetest.register_decoration({

View File

@ -5406,6 +5406,8 @@ Everness:register_node('everness:crystal_mushrooms', {
wield_image = 'everness_crystal_mushrooms.png', wield_image = 'everness_crystal_mushrooms.png',
drawtype = 'plantlike', drawtype = 'plantlike',
paramtype = 'light', paramtype = 'light',
paramtype2 = 'meshoptions',
place_param2 = 40,
sunlight_propagates = true, sunlight_propagates = true,
walkable = false, walkable = false,
buildable_to = true, buildable_to = true,
@ -5437,7 +5439,7 @@ Everness:register_node('everness:crystal_mushrooms', {
on_use = minetest.item_eat(1), on_use = minetest.item_eat(1),
selection_box = { selection_box = {
type = 'fixed', type = 'fixed',
fixed = { -3 / 16, -0.5, -3 / 16, 3 / 16, -2 / 16, 3 / 16 }, fixed = { -6 / 16, -0.5, -6 / 16, 6 / 16, -3 / 16, 6 / 16 },
}, },
light_source = 3, light_source = 3,
}) })
@ -5450,6 +5452,8 @@ Everness:register_node('everness:twisted_crystal_grass', {
inventory_image = 'everness_twisted_crystal_grass.png', inventory_image = 'everness_twisted_crystal_grass.png',
wield_image = 'everness_twisted_crystal_grass.png', wield_image = 'everness_twisted_crystal_grass.png',
paramtype = 'light', paramtype = 'light',
paramtype2 = 'meshoptions',
place_param2 = 40,
sunlight_propagates = true, sunlight_propagates = true,
walkable = false, walkable = false,
buildable_to = true, buildable_to = true,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 486 B

After

Width:  |  Height:  |  Size: 588 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 477 B

After

Width:  |  Height:  |  Size: 656 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 159 B

After

Width:  |  Height:  |  Size: 237 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 232 B

After

Width:  |  Height:  |  Size: 232 B