Add coral wood fence, coral blocks walls, adjust vines selection boxes, add new structures on water level
This commit is contained in:
parent
9c89429a52
commit
64b23c1c0d
|
@ -982,6 +982,8 @@ GNU Lesser General Public License v2.1 or later
|
||||||
- everness_ceramic_sherds_ore.png
|
- everness_ceramic_sherds_ore.png
|
||||||
- everness_pick_archeological.png
|
- everness_pick_archeological.png
|
||||||
- everness_logo.png
|
- everness_logo.png
|
||||||
|
- textures/everness_fence_coral_wood.png
|
||||||
|
- textures/everness_fence_rail_coral_wood.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
|
||||||
|
|
||||||
|
@ -1681,3 +1683,7 @@ https://freesound.org/people/Rudmer_Rotteveel/sounds/590950/
|
||||||
- everness_palm_tree_from_sapling.mts
|
- everness_palm_tree_from_sapling.mts
|
||||||
- everness_mineral_waters_tower.lua
|
- everness_mineral_waters_tower.lua
|
||||||
- everness_mineral_waters_tower.mts
|
- everness_mineral_waters_tower.mts
|
||||||
|
- everness_coral_forest_ocean_fishing_dock.lua
|
||||||
|
- everness_coral_forest_ocean_fishing_dock.mts
|
||||||
|
- everness_crystal_forest_ocean_shrine.lua
|
||||||
|
- everness_crystal_forest_ocean_shrine.mts
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -188,3 +188,12 @@ doors.register_fencegate('everness:gate_palm_wood', {
|
||||||
material = 'everness:palm_tree_wood',
|
material = 'everness:palm_tree_wood',
|
||||||
groups = { choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 }
|
groups = { choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 }
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- Coral Wood
|
||||||
|
|
||||||
|
doors.register_fencegate('everness:gate_coral_wood', {
|
||||||
|
description = S('Coral Wood Fence Gate'),
|
||||||
|
texture = 'everness_coral_wood.png',
|
||||||
|
material = 'everness:coral_wood',
|
||||||
|
groups = { choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 }
|
||||||
|
})
|
||||||
|
|
32
fences.lua
32
fences.lua
|
@ -143,3 +143,35 @@ default.register_mesepost('everness:mese_post_light_bamboo_wood', {
|
||||||
texture = 'everness_fence_palm_wood.png^[transformFY',
|
texture = 'everness_fence_palm_wood.png^[transformFY',
|
||||||
material = 'everness:palm_tree_wood',
|
material = 'everness:palm_tree_wood',
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- Coral Wood
|
||||||
|
|
||||||
|
default.register_fence('everness:fence_coral_wood', {
|
||||||
|
description = S('Coral Wood Fence'),
|
||||||
|
texture = 'everness_fence_coral_wood.png',
|
||||||
|
inventory_image = 'default_fence_overlay.png^everness_fence_coral_wood.png^' ..
|
||||||
|
'default_fence_overlay.png^[makealpha:255,126,126',
|
||||||
|
wield_image = 'default_fence_overlay.png^everness_fence_coral_wood.png^' ..
|
||||||
|
'default_fence_overlay.png^[makealpha:255,126,126',
|
||||||
|
material = 'everness:coral_wood',
|
||||||
|
groups = { choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 },
|
||||||
|
sounds = Everness.node_sound_wood_defaults()
|
||||||
|
})
|
||||||
|
|
||||||
|
default.register_fence_rail('everness:fence_rail_coral_wood', {
|
||||||
|
description = S('Coral Wood Fence Rail'),
|
||||||
|
texture = 'everness_fence_rail_coral_wood.png^[transformR90',
|
||||||
|
inventory_image = 'default_fence_rail_overlay.png^everness_fence_coral_wood.png^' ..
|
||||||
|
'default_fence_rail_overlay.png^[makealpha:255,126,126',
|
||||||
|
wield_image = 'default_fence_rail_overlay.png^everness_fence_coral_wood.png^' ..
|
||||||
|
'default_fence_rail_overlay.png^[makealpha:255,126,126',
|
||||||
|
material = 'everness:coral_wood',
|
||||||
|
groups = { choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 },
|
||||||
|
sounds = Everness.node_sound_wood_defaults()
|
||||||
|
})
|
||||||
|
|
||||||
|
default.register_mesepost('everness:mese_post_light_bamboo_wood', {
|
||||||
|
description = S('Coral Wood Mese Post Light'),
|
||||||
|
texture = 'everness_fence_coral_wood.png^[transformFY',
|
||||||
|
material = 'everness:coral_wood',
|
||||||
|
})
|
||||||
|
|
148
mapgen_after.lua
148
mapgen_after.lua
|
@ -37,6 +37,12 @@ local c_everness_mineral_sand = minetest.get_content_id('everness:mineral_sand')
|
||||||
-- Biome IDs
|
-- Biome IDs
|
||||||
local biome_id_everness_cursed_lands_dunes = minetest.get_biome_id('everness:cursed_lands_dunes')
|
local biome_id_everness_cursed_lands_dunes = minetest.get_biome_id('everness:cursed_lands_dunes')
|
||||||
local biome_id_everness_cursed_lands_swamp = minetest.get_biome_id('everness:cursed_lands_swamp')
|
local biome_id_everness_cursed_lands_swamp = minetest.get_biome_id('everness:cursed_lands_swamp')
|
||||||
|
local biome_id_everness_cursed_lands_ocean = minetest.get_biome_id('everness:cursed_lands_ocean')
|
||||||
|
local biome_id_everness_coral_forest_dunes = minetest.get_biome_id('everness:coral_forest_dunes')
|
||||||
|
local biome_id_everness_coral_forest_ocean = minetest.get_biome_id('everness:coral_forest_ocean')
|
||||||
|
local biome_id_everness_crystal_forest_dunes = minetest.get_biome_id('everness:crystal_forest_dunes')
|
||||||
|
local biome_id_everness_crystal_forest_shore = minetest.get_biome_id('everness:crystal_forest_shore')
|
||||||
|
local biome_id_everness_crystal_forest_ocean = minetest.get_biome_id('everness:crystal_forest_ocean')
|
||||||
|
|
||||||
-- Localize data buffer table outside the loop, to be re-used for all
|
-- Localize data buffer table outside the loop, to be re-used for all
|
||||||
-- mapchunks, therefore minimising memory use.
|
-- mapchunks, therefore minimising memory use.
|
||||||
|
@ -604,6 +610,7 @@ minetest.register_on_generated(function(minp, maxp, blockseed)
|
||||||
(
|
(
|
||||||
table.indexof(biomemap, biome_id_everness_cursed_lands_dunes) ~= -1
|
table.indexof(biomemap, biome_id_everness_cursed_lands_dunes) ~= -1
|
||||||
or table.indexof(biomemap, biome_id_everness_cursed_lands_swamp) ~= -1
|
or table.indexof(biomemap, biome_id_everness_cursed_lands_swamp) ~= -1
|
||||||
|
or table.indexof(biomemap, biome_id_everness_cursed_lands_ocean) ~= -1
|
||||||
)
|
)
|
||||||
and rand:next(0, 100) < chance
|
and rand:next(0, 100) < chance
|
||||||
then
|
then
|
||||||
|
@ -670,6 +677,147 @@ minetest.register_on_generated(function(minp, maxp, blockseed)
|
||||||
|
|
||||||
minetest.log('action', '[Everness] Cursed Lands Deep Ocean Island was placed at ' .. schem_pos:to_string())
|
minetest.log('action', '[Everness] Cursed Lands Deep Ocean Island was placed at ' .. schem_pos:to_string())
|
||||||
end
|
end
|
||||||
|
elseif
|
||||||
|
(
|
||||||
|
table.indexof(biomemap, biome_id_everness_coral_forest_dunes) ~= -1
|
||||||
|
or table.indexof(biomemap, biome_id_everness_coral_forest_ocean) ~= -1
|
||||||
|
)
|
||||||
|
and rand:next(0, 100) < chance
|
||||||
|
then
|
||||||
|
local schem = minetest.get_modpath('everness') .. '/schematics/everness_coral_forest_ocean_fishing_dock.mts'
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Coral Forest Ocean Fishing Dock
|
||||||
|
--
|
||||||
|
|
||||||
|
local size = { x = 26, y = 10, z = 23 }
|
||||||
|
local size_x = math.round(size.x / 2)
|
||||||
|
local size_z = math.round(size.z / 2)
|
||||||
|
-- add Y displacement
|
||||||
|
local y_dis = 1
|
||||||
|
local schem_pos = vector.new(s_pos.x, s_pos.y - y_dis, s_pos.z)
|
||||||
|
|
||||||
|
-- find floor big enough
|
||||||
|
local indexes = Everness.find_content_in_vm_area(
|
||||||
|
vector.new(s_pos.x - size_x, s_pos.y - 1, s_pos.z - size_z),
|
||||||
|
vector.new(s_pos.x + size_x, s_pos.y + 1, s_pos.z + size_z),
|
||||||
|
{
|
||||||
|
c_water_source,
|
||||||
|
minetest.CONTENT_AIR
|
||||||
|
},
|
||||||
|
data,
|
||||||
|
area
|
||||||
|
)
|
||||||
|
|
||||||
|
if #indexes < size.x * size.z then
|
||||||
|
-- not enough space
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
-- enough space to place structure ?
|
||||||
|
local space_indexes = Everness.find_content_in_vm_area(
|
||||||
|
vector.new(s_pos.x - size_x, s_pos.y, s_pos.z - size_z),
|
||||||
|
vector.new(s_pos.x + size_x, s_pos.y + size.y, s_pos.z + size_z),
|
||||||
|
{
|
||||||
|
c_water_source,
|
||||||
|
minetest.CONTENT_AIR
|
||||||
|
},
|
||||||
|
data,
|
||||||
|
area
|
||||||
|
)
|
||||||
|
|
||||||
|
if #space_indexes > (size.x * size.y * size.z) / 2 then
|
||||||
|
minetest.place_schematic_on_vmanip(
|
||||||
|
vm,
|
||||||
|
schem_pos,
|
||||||
|
schem,
|
||||||
|
'random',
|
||||||
|
nil,
|
||||||
|
true,
|
||||||
|
'place_center_x, place_center_z'
|
||||||
|
)
|
||||||
|
|
||||||
|
schem_positions.everness_coral_forest_ocean_fishing_dock = schem_positions.everness_coral_forest_ocean_fishing_dock or {}
|
||||||
|
|
||||||
|
table.insert(schem_positions.everness_coral_forest_ocean_fishing_dock, {
|
||||||
|
pos = schem_pos,
|
||||||
|
minp = vector.new(s_pos.x - size_x, s_pos.y - y_dis, s_pos.z - size_z),
|
||||||
|
maxp = vector.new(s_pos.x + size_x, s_pos.y - y_dis + size.y, s_pos.z + size_z)
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.log('action', '[Everness] Coral Forest Ocean Fishing Dock was placed at ' .. schem_pos:to_string())
|
||||||
|
end
|
||||||
|
elseif
|
||||||
|
(
|
||||||
|
table.indexof(biomemap, biome_id_everness_crystal_forest_dunes) ~= -1
|
||||||
|
or table.indexof(biomemap, biome_id_everness_crystal_forest_shore) ~= -1
|
||||||
|
or table.indexof(biomemap, biome_id_everness_crystal_forest_ocean) ~= -1
|
||||||
|
)
|
||||||
|
and rand:next(0, 100) < chance
|
||||||
|
then
|
||||||
|
local schem = minetest.get_modpath('everness') .. '/schematics/everness_crystal_forest_ocean_shrine.mts'
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Crystal Forest Ocean Shrine
|
||||||
|
--
|
||||||
|
|
||||||
|
local size = { x = 13, y = 16, z = 13 }
|
||||||
|
local size_x = math.round(size.x / 2)
|
||||||
|
local size_z = math.round(size.z / 2)
|
||||||
|
-- add Y displacement
|
||||||
|
local y_dis = 8
|
||||||
|
local schem_pos = vector.new(s_pos.x, s_pos.y - y_dis, s_pos.z)
|
||||||
|
|
||||||
|
-- find floor big enough
|
||||||
|
local indexes = Everness.find_content_in_vm_area(
|
||||||
|
vector.new(s_pos.x - size_x, s_pos.y - 1, s_pos.z - size_z),
|
||||||
|
vector.new(s_pos.x + size_x, s_pos.y + 1, s_pos.z + size_z),
|
||||||
|
{
|
||||||
|
c_water_source,
|
||||||
|
minetest.CONTENT_AIR
|
||||||
|
},
|
||||||
|
data,
|
||||||
|
area
|
||||||
|
)
|
||||||
|
|
||||||
|
if #indexes < size.x * size.z then
|
||||||
|
-- not enough space
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
-- enough space to place structure ?
|
||||||
|
local space_indexes = Everness.find_content_in_vm_area(
|
||||||
|
vector.new(s_pos.x - size_x, s_pos.y, s_pos.z - size_z),
|
||||||
|
vector.new(s_pos.x + size_x, s_pos.y + size.y, s_pos.z + size_z),
|
||||||
|
{
|
||||||
|
c_water_source,
|
||||||
|
minetest.CONTENT_AIR
|
||||||
|
},
|
||||||
|
data,
|
||||||
|
area
|
||||||
|
)
|
||||||
|
|
||||||
|
if #space_indexes > (size.x * size.y * size.z) / 2 then
|
||||||
|
minetest.place_schematic_on_vmanip(
|
||||||
|
vm,
|
||||||
|
schem_pos,
|
||||||
|
schem,
|
||||||
|
'random',
|
||||||
|
nil,
|
||||||
|
true,
|
||||||
|
'place_center_x, place_center_z'
|
||||||
|
)
|
||||||
|
|
||||||
|
schem_positions.everness_crystal_forest_ocean_shrine = schem_positions.everness_crystal_forest_ocean_shrine or {}
|
||||||
|
|
||||||
|
table.insert(schem_positions.everness_crystal_forest_ocean_shrine, {
|
||||||
|
pos = schem_pos,
|
||||||
|
minp = vector.new(s_pos.x - size_x, s_pos.y - y_dis, s_pos.z - size_z),
|
||||||
|
maxp = vector.new(s_pos.x + size_x, s_pos.y - y_dis + size.y, s_pos.z + size_z)
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.log('action', '[Everness] Crystal Forest Ocean Shrine was placed at ' .. schem_pos:to_string())
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 272 B |
Binary file not shown.
After Width: | Height: | Size: 267 B |
153
vines.lua
153
vines.lua
|
@ -32,6 +32,10 @@ Everness:register_node('everness:vine_cave', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -103,6 +107,10 @@ Everness:register_node('everness:vine_cave_end', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -175,6 +183,10 @@ Everness:register_node('everness:vine_cave_with_mese_leaves', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -248,6 +260,10 @@ Everness:register_node('everness:whispering_gourd_vine_1', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -319,6 +335,10 @@ Everness:register_node('everness:whispering_gourd_vine_end', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -391,6 +411,10 @@ Everness:register_node('everness:whispering_gourd_vine_2', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -464,6 +488,10 @@ Everness:register_node('everness:bulb_vine_1', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -535,6 +563,10 @@ Everness:register_node('everness:bulb_vine_end', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -607,6 +639,10 @@ Everness:register_node('everness:bulb_vine_2', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -680,6 +716,10 @@ Everness:register_node('everness:willow_vine_1', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -751,6 +791,10 @@ Everness:register_node('everness:willow_vine_end', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -825,6 +869,10 @@ Everness:register_node('everness:eye_vine_1', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -969,6 +1017,10 @@ Everness:register_node('everness:eye_vine_2', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -1042,6 +1094,10 @@ Everness:register_node('everness:lumabus_vine_1', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -1151,7 +1207,14 @@ Everness:register_node('everness:lumabus_vine_end', {
|
||||||
paramtype2 = 'wallmounted',
|
paramtype2 = 'wallmounted',
|
||||||
selection_box = {
|
selection_box = {
|
||||||
type = 'fixed',
|
type = 'fixed',
|
||||||
fixed = { -1 / 2 + 3 / 16, -1 / 2, -1 / 2 + 3 / 16, 1 / 2 - 3 / 16, 1 / 2 - 6 / 16, 1 / 2 - 3 / 16 }
|
fixed = {
|
||||||
|
-1 / 2 + 3 / 16,
|
||||||
|
-1 / 2,
|
||||||
|
-1 / 2 + 3 / 16,
|
||||||
|
1 / 2 - 3 / 16,
|
||||||
|
1 / 2 - 6 / 16,
|
||||||
|
1 / 2 - 3 / 16
|
||||||
|
}
|
||||||
},
|
},
|
||||||
on_destruct = function(pos)
|
on_destruct = function(pos)
|
||||||
local pos_below = vector.new(pos.x, pos.y - 1, pos.z)
|
local pos_below = vector.new(pos.x, pos.y - 1, pos.z)
|
||||||
|
@ -1192,6 +1255,10 @@ Everness:register_node('everness:lumabus_vine_2', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -1265,6 +1332,10 @@ Everness:register_node('everness:ivis_vine_1', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -1336,6 +1407,10 @@ Everness:register_node('everness:ivis_vine_end', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -1408,6 +1483,10 @@ Everness:register_node('everness:ivis_vine_2', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -1481,6 +1560,10 @@ Everness:register_node('everness:flowered_vine_1', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -1552,6 +1635,10 @@ Everness:register_node('everness:flowered_vine_end', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -1624,6 +1711,10 @@ Everness:register_node('everness:flowered_vine_2', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -1697,6 +1788,10 @@ Everness:register_node('everness:reeds_vine_1', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -1768,6 +1863,10 @@ Everness:register_node('everness:reeds_vine_end', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -1840,6 +1939,10 @@ Everness:register_node('everness:reeds_vine_2', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -1913,6 +2016,10 @@ Everness:register_node('everness:tenanea_flowers_vine_1', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -1984,6 +2091,10 @@ Everness:register_node('everness:tenanea_flowers_vine_end', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -2056,6 +2167,10 @@ Everness:register_node('everness:tenanea_flowers_vine_2', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -2129,6 +2244,10 @@ Everness:register_node('everness:twisted_vine_1', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -2200,6 +2319,10 @@ Everness:register_node('everness:twisted_vine_end', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -2272,6 +2395,10 @@ Everness:register_node('everness:twisted_vine_2', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -2345,6 +2472,10 @@ Everness:register_node('everness:golden_vine_1', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -2416,6 +2547,10 @@ Everness:register_node('everness:golden_vine_end', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -2488,6 +2623,10 @@ Everness:register_node('everness:golden_vine_2', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -2561,6 +2700,10 @@ Everness:register_node('everness:dense_vine_1', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -2632,6 +2775,10 @@ Everness:register_node('everness:dense_vine_end', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
@ -2704,6 +2851,10 @@ Everness:register_node('everness:dense_vine_2', {
|
||||||
paramtype2 = 'meshoptions',
|
paramtype2 = 'meshoptions',
|
||||||
place_param2 = 8,
|
place_param2 = 8,
|
||||||
visual_scale = 1.1,
|
visual_scale = 1.1,
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -4 / 16, -8 / 16, -4 / 16, 4 / 16, 8 / 16, 4 / 16 }
|
||||||
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
vine = 1,
|
vine = 1,
|
||||||
|
|
33
walls.lua
33
walls.lua
|
@ -115,3 +115,36 @@ walls.register(
|
||||||
'everness:volcanic_rock_with_magma',
|
'everness:volcanic_rock_with_magma',
|
||||||
Everness.node_sound_stone_defaults()
|
Everness.node_sound_stone_defaults()
|
||||||
)
|
)
|
||||||
|
|
||||||
|
walls.register(
|
||||||
|
'everness:coral_bones_block_wall',
|
||||||
|
S('Coral Bones Block Wall'),
|
||||||
|
{ 'everness_coral_bones_block.png' },
|
||||||
|
'everness:coral_bones_block',
|
||||||
|
Everness.node_sound_stone_defaults()
|
||||||
|
)
|
||||||
|
|
||||||
|
walls.register(
|
||||||
|
'everness:coral_bones_brick_wall',
|
||||||
|
S('Coral Bones Brick Wall'),
|
||||||
|
{ 'everness_coral_bones_brick.png' },
|
||||||
|
'everness:coral_bones_brick',
|
||||||
|
Everness.node_sound_stone_defaults()
|
||||||
|
)
|
||||||
|
|
||||||
|
walls.register(
|
||||||
|
'everness:coral_deep_ocean_sandstone_brick_wall',
|
||||||
|
S('Coral Bones Brick Wall'),
|
||||||
|
{ 'everness_deep_ocean_sandstone_brick.png' },
|
||||||
|
'everness:coral_deep_ocean_sandstone_brick',
|
||||||
|
Everness.node_sound_stone_defaults()
|
||||||
|
)
|
||||||
|
|
||||||
|
walls.register(
|
||||||
|
'everness:coral_deep_ocean_sandstone_block_wall',
|
||||||
|
S('Coral Bones Brick Wall'),
|
||||||
|
{ 'everness_deep_ocean_sandstone_block.png' },
|
||||||
|
'everness:coral_deep_ocean_sandstone_block',
|
||||||
|
Everness.node_sound_stone_defaults()
|
||||||
|
)
|
||||||
|
|
||||||
|
|
Ŝarĝante…
Reference in New Issue