Improve some textures, baobab biome, add new doors, dirt, grass..
23
LICENSE.txt
|
@ -456,7 +456,7 @@ DAMAGES.
|
||||||
|
|
||||||
### Code
|
### Code
|
||||||
|
|
||||||
GNU Lesser General Public License v2.1 or later (see included LICENSE file)
|
GNU Lesser General Public License v2.1 or later
|
||||||
|
|
||||||
### Textures
|
### Textures
|
||||||
|
|
||||||
|
@ -599,7 +599,7 @@ GNU Lesser General Public License v2.1 or later (see included LICENSE file)
|
||||||
- everness_dense_vine_1.png
|
- everness_dense_vine_1.png
|
||||||
- everness_dense_vine_2.png
|
- everness_dense_vine_2.png
|
||||||
- everness_dense_vine_end.png
|
- everness_dense_vine_end.png
|
||||||
- everness_dirt_1.png -- Derived from texture Pixel Perfection by XSSheep (CC-BY-SA-4.0)
|
- everness_dirt_1.png
|
||||||
- everness_door_bamboo_item.png
|
- everness_door_bamboo_item.png
|
||||||
- everness_door_bamboo.png
|
- everness_door_bamboo.png
|
||||||
- everness_door_bone_pyrite_item.png
|
- everness_door_bone_pyrite_item.png
|
||||||
|
@ -613,7 +613,7 @@ GNU Lesser General Public License v2.1 or later (see included LICENSE file)
|
||||||
- everness_dry_branches.png
|
- everness_dry_branches.png
|
||||||
- everness_dry_tree_top.png
|
- everness_dry_tree_top.png
|
||||||
- everness_dry_tree.png
|
- everness_dry_tree.png
|
||||||
- everness_dry_wood.png -- Derived from texture by BlockMen (CC BY-SA 3.0)
|
- everness_dry_wood.png
|
||||||
- everness_egg_plant_bottom.png
|
- everness_egg_plant_bottom.png
|
||||||
- everness_egg_plant_item.png
|
- everness_egg_plant_item.png
|
||||||
- everness_egg_plant_side.png
|
- everness_egg_plant_side.png
|
||||||
|
@ -860,17 +860,24 @@ GNU Lesser General Public License v2.1 or later (see included LICENSE file)
|
||||||
- everness_flowers.png
|
- everness_flowers.png
|
||||||
- everness_flowers_side_x.png
|
- everness_flowers_side_x.png
|
||||||
- everness_flowers_side_z.png
|
- everness_flowers_side_z.png
|
||||||
|
- everness_dry_grass_1.png -- thanks to Khaz
|
||||||
|
- everness_dry_grass_2.png -- thanks to Khaz
|
||||||
|
- everness_dry_grass_3.png -- thanks to Khaz
|
||||||
|
- everness_dry_grass_4.png -- thanks to Khaz
|
||||||
|
- everness_dry_grass_top.png
|
||||||
|
- everness_dry_grass_side.png
|
||||||
|
- everness_grass_top.png
|
||||||
|
- everness_grass_side.png
|
||||||
|
- everness_grass_extras_1.png
|
||||||
|
- everness_grass_extras_2.png
|
||||||
|
- everness_dirt.png
|
||||||
|
- everness_dry_dirt.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
|
||||||
|
|
||||||
- everness_cobweb.png
|
- everness_cobweb.png
|
||||||
- everness_fire_animated.png
|
- everness_fire_animated.png
|
||||||
- everness_flame_particle.png
|
- everness_flame_particle.png
|
||||||
- everness_grass_side_1.png
|
|
||||||
- everness_grass_top_1.png
|
|
||||||
- everness_grass_top_2.png
|
|
||||||
- everness_grass_with_blue_extra_top_2.png
|
|
||||||
- everness_grass_with_yellow_extra_top_1.png
|
|
||||||
- everness_rising_soul_particle.png
|
- everness_rising_soul_particle.png
|
||||||
|
|
||||||
### Sounds
|
### Sounds
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
schematic = {
|
||||||
|
size = {x=1, y=1, z=5},
|
||||||
|
yslice_prob = {
|
||||||
|
{ypos=0, prob=254},
|
||||||
|
},
|
||||||
|
data = {
|
||||||
|
{name="everness:baobab_tree", prob=126, param2=7},
|
||||||
|
{name="everness:baobab_tree", prob=254, param2=7},
|
||||||
|
{name="everness:baobab_tree", prob=254, param2=7},
|
||||||
|
{name="everness:baobab_tree", prob=254, param2=7},
|
||||||
|
{name="everness:baobab_tree", prob=126, param2=7},
|
||||||
|
},
|
||||||
|
}
|
|
@ -106,6 +106,15 @@ minetest.register_craft({
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = 'everness:trapdoor_cursed_wood 2',
|
||||||
|
recipe = {
|
||||||
|
{ 'everness:dry_wood', 'everness:dry_wood', 'everness:dry_wood' },
|
||||||
|
{ 'everness:dry_wood', 'everness:dry_wood', 'everness:dry_wood' },
|
||||||
|
{ '', '', '' },
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = 'everness:bamboo_mosaic_wood',
|
output = 'everness:bamboo_mosaic_wood',
|
||||||
recipe = {
|
recipe = {
|
||||||
|
|
24
doors.lua
|
@ -125,3 +125,27 @@ doors.register_fencegate('everness:gate_crystal_wood', {
|
||||||
material = 'everness:crystal_wood',
|
material = 'everness:crystal_wood',
|
||||||
groups = { choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 }
|
groups = { choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 }
|
||||||
})
|
})
|
||||||
|
|
||||||
|
doors.register('everness:door_cursed_wood', {
|
||||||
|
description = S('Cursed Wood Door'),
|
||||||
|
tiles = { 'everness_door_cursed_wood.png' },
|
||||||
|
inventory_image = 'everness_door_cursed_wood_item.png',
|
||||||
|
use_texture_alpha = 'blend',
|
||||||
|
groups = { node = 1, cracky = 3, oddly_breakable_by_hand = 3, door = 1 },
|
||||||
|
sounds = Everness.node_sound_wood_defaults(),
|
||||||
|
recipe = {
|
||||||
|
{ 'everness:dry_wood', 'everness:dry_wood' },
|
||||||
|
{ 'everness:dry_wood', 'everness:dry_wood' },
|
||||||
|
{ 'everness:dry_wood', 'everness:dry_wood' },
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
doors.register_trapdoor('everness:trapdoor_cursed_wood', {
|
||||||
|
description = S('Cursed Wood Trapdoor'),
|
||||||
|
inventory_image = 'everness_door_trapdoor_cursed_wood.png',
|
||||||
|
wield_image = 'everness_door_trapdoor_cursed_wood.png',
|
||||||
|
tile_front = 'everness_door_trapdoor_cursed_wood.png',
|
||||||
|
tile_side = 'everness_door_trapdoor_cursed_wood_side.png',
|
||||||
|
sounds = Everness.node_sound_wood_defaults(),
|
||||||
|
groups = { node = 1, cracky = 3, oddly_breakable_by_hand = 3, door = 1 },
|
||||||
|
})
|
||||||
|
|
|
@ -26,10 +26,10 @@ local grass_covered_mapping = {
|
||||||
['everness:crystal_dirt'] = { 'everness:dirt_with_crystal_grass' },
|
['everness:crystal_dirt'] = { 'everness:dirt_with_crystal_grass' },
|
||||||
['everness:dirt_1'] = {
|
['everness:dirt_1'] = {
|
||||||
'everness:dirt_with_grass_1',
|
'everness:dirt_with_grass_1',
|
||||||
'everness:dirt_with_grass_2',
|
|
||||||
'everness:dirt_with_grass_extras_1',
|
'everness:dirt_with_grass_extras_1',
|
||||||
'everness:dirt_with_grass_extras_2',
|
'everness:dirt_with_grass_extras_2',
|
||||||
},
|
},
|
||||||
|
['everness:dry_dirt'] = { 'everness:dry_dirt_with_dry_grass' }
|
||||||
}
|
}
|
||||||
|
|
||||||
local grass_covered_mapping_under = {
|
local grass_covered_mapping_under = {
|
||||||
|
@ -48,6 +48,7 @@ minetest.register_abm({
|
||||||
'everness:cursed_dirt',
|
'everness:cursed_dirt',
|
||||||
'everness:crystal_dirt',
|
'everness:crystal_dirt',
|
||||||
'everness:dirt_1',
|
'everness:dirt_1',
|
||||||
|
'everness:dry_dirt',
|
||||||
},
|
},
|
||||||
neighbors = {
|
neighbors = {
|
||||||
'air',
|
'air',
|
||||||
|
@ -55,6 +56,7 @@ minetest.register_abm({
|
||||||
'group:cursed_grass',
|
'group:cursed_grass',
|
||||||
'group:crystal_grass',
|
'group:crystal_grass',
|
||||||
'group:bamboo_grass',
|
'group:bamboo_grass',
|
||||||
|
'group:everness_dry_grass'
|
||||||
},
|
},
|
||||||
interval = 6,
|
interval = 6,
|
||||||
chance = 50,
|
chance = 50,
|
||||||
|
@ -83,7 +85,7 @@ minetest.register_abm({
|
||||||
n3_name = n3_def[math.random(1, #n3_def)]
|
n3_name = n3_def[math.random(1, #n3_def)]
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.set_node(pos, {name = n3_name})
|
minetest.set_node(pos, { name = n3_name })
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -99,12 +101,13 @@ minetest.register_abm({
|
||||||
elseif minetest.get_item_group(name, 'bamboo_grass') ~= 0 and node.name == 'everness:dirt_1' then
|
elseif minetest.get_item_group(name, 'bamboo_grass') ~= 0 and node.name == 'everness:dirt_1' then
|
||||||
local bamboo_grass_covered_types = {
|
local bamboo_grass_covered_types = {
|
||||||
'everness:dirt_with_grass_1',
|
'everness:dirt_with_grass_1',
|
||||||
'everness:dirt_with_grass_2',
|
|
||||||
'everness:dirt_with_grass_extras_1',
|
'everness:dirt_with_grass_extras_1',
|
||||||
'everness:dirt_with_grass_extras_2'
|
'everness:dirt_with_grass_extras_2'
|
||||||
}
|
}
|
||||||
|
|
||||||
minetest.set_node(pos, { name = bamboo_grass_covered_types[math.random(1, #bamboo_grass_covered_types)] })
|
minetest.set_node(pos, { name = bamboo_grass_covered_types[math.random(1, #bamboo_grass_covered_types)] })
|
||||||
|
elseif minetest.get_item_group(name, 'everness_dry_grass') ~= 0 and node.name == 'everness:dry_dirt' then
|
||||||
|
minetest.set_node(pos, { name = 'everness:dry_dirt_with_dry_grass' })
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
@ -204,13 +207,14 @@ minetest.register_abm({
|
||||||
elseif node.name == 'everness:dirt_with_crystal_grass' then
|
elseif node.name == 'everness:dirt_with_crystal_grass' then
|
||||||
minetest.set_node(pos, { name = 'everness:crystal_dirt' })
|
minetest.set_node(pos, { name = 'everness:crystal_dirt' })
|
||||||
elseif node.name == 'everness:dirt_with_grass_1'
|
elseif node.name == 'everness:dirt_with_grass_1'
|
||||||
or node.name == 'everness:dirt_with_grass_2'
|
|
||||||
or node.name == 'everness:dirt_with_grass_extras_1'
|
or node.name == 'everness:dirt_with_grass_extras_1'
|
||||||
or node.name == 'everness:dirt_with_grass_extras_2'
|
or node.name == 'everness:dirt_with_grass_extras_2'
|
||||||
then
|
then
|
||||||
minetest.set_node(pos, { name = 'everness:dirt_1' })
|
minetest.set_node(pos, { name = 'everness:dirt_1' })
|
||||||
elseif node.name == 'everness:coral_desert_stone_with_moss' then
|
elseif node.name == 'everness:coral_desert_stone_with_moss' then
|
||||||
minetest.set_node(pos, { name = 'everness:coral_desert_stone' })
|
minetest.set_node(pos, { name = 'everness:coral_desert_stone' })
|
||||||
|
elseif node.name == 'everness:dry_dirt_with_dry_grass' then
|
||||||
|
minetest.set_node(pos, { name = 'everness:dry_dirt' })
|
||||||
elseif node.name == 'everness:soul_sandstone_veined' then
|
elseif node.name == 'everness:soul_sandstone_veined' then
|
||||||
minetest.set_node(pos, { name = 'everness:soul_sandstone' })
|
minetest.set_node(pos, { name = 'everness:soul_sandstone' })
|
||||||
elseif node.name == 'everness:crystal_cave_dirt_with_moss' then
|
elseif node.name == 'everness:crystal_cave_dirt_with_moss' then
|
||||||
|
|
3
init.lua
|
@ -21,6 +21,9 @@ minetest = minetest.global_exists('minetest') and minetest --[[@as Minetest]]
|
||||||
local path = minetest.get_modpath('everness')
|
local path = minetest.get_modpath('everness')
|
||||||
local mod_start_time = minetest.get_us_time()
|
local mod_start_time = minetest.get_us_time()
|
||||||
|
|
||||||
|
-- Legacy backwards compatibility
|
||||||
|
minetest.register_alias('everness:dirt_with_grass_2', 'everness:dirt_with_grass_1')
|
||||||
|
|
||||||
-- MineClone2 support
|
-- MineClone2 support
|
||||||
if minetest.get_modpath('mcl_core') and minetest.global_exists('mcl_core') then
|
if minetest.get_modpath('mcl_core') and minetest.global_exists('mcl_core') then
|
||||||
dofile(path .. '/mod_support_mcl_aliases.lua')
|
dofile(path .. '/mod_support_mcl_aliases.lua')
|
||||||
|
|
|
@ -27,9 +27,9 @@ local y_min = Everness.settings.biomes.everness_baobab_savanna.y_min
|
||||||
|
|
||||||
minetest.register_biome({
|
minetest.register_biome({
|
||||||
name = 'everness_baobab_savanna',
|
name = 'everness_baobab_savanna',
|
||||||
node_top = 'default:dry_dirt_with_dry_grass',
|
node_top = 'everness:dry_dirt_with_dry_grass',
|
||||||
depth_top = 1,
|
depth_top = 1,
|
||||||
node_filler = 'default:dry_dirt',
|
node_filler = 'everness:dry_dirt',
|
||||||
depth_filler = 1,
|
depth_filler = 1,
|
||||||
node_riverbed = 'default:sand',
|
node_riverbed = 'default:sand',
|
||||||
depth_riverbed = 2,
|
depth_riverbed = 2,
|
||||||
|
@ -54,7 +54,7 @@ minetest.register_biome({
|
||||||
minetest.register_decoration({
|
minetest.register_decoration({
|
||||||
name = 'everness:baobab_savanna_dry_dirt_with_dry_grass',
|
name = 'everness:baobab_savanna_dry_dirt_with_dry_grass',
|
||||||
deco_type = 'simple',
|
deco_type = 'simple',
|
||||||
place_on = { 'default:dry_dirt_with_dry_grass' },
|
place_on = { 'everness:dry_dirt_with_dry_grass' },
|
||||||
sidelen = 4,
|
sidelen = 4,
|
||||||
noise_params = {
|
noise_params = {
|
||||||
offset = -1.5,
|
offset = -1.5,
|
||||||
|
@ -67,7 +67,7 @@ minetest.register_decoration({
|
||||||
biomes = { 'everness_baobab_savanna' },
|
biomes = { 'everness_baobab_savanna' },
|
||||||
y_max = y_max,
|
y_max = y_max,
|
||||||
y_min = y_min,
|
y_min = y_min,
|
||||||
decoration = 'default:dry_dirt',
|
decoration = 'everness:dry_dirt',
|
||||||
place_offset_y = -1,
|
place_offset_y = -1,
|
||||||
flags = 'force_placement',
|
flags = 'force_placement',
|
||||||
})
|
})
|
||||||
|
@ -75,8 +75,8 @@ minetest.register_decoration({
|
||||||
minetest.register_decoration({
|
minetest.register_decoration({
|
||||||
name = 'everness:baobab_savanna_baobab_tree_1',
|
name = 'everness:baobab_savanna_baobab_tree_1',
|
||||||
deco_type = 'schematic',
|
deco_type = 'schematic',
|
||||||
place_on = { 'default:dry_dirt_with_dry_grass', 'default:dry_dirt' },
|
place_on = { 'everness:dry_dirt_with_dry_grass', 'everness:dry_dirt' },
|
||||||
spawn_by = { 'default:dry_dirt_with_dry_grass', 'default:dry_dirt' },
|
spawn_by = { 'everness:dry_dirt_with_dry_grass', 'everness:dry_dirt' },
|
||||||
num_spawn_by = 8,
|
num_spawn_by = 8,
|
||||||
sidelen = 16,
|
sidelen = 16,
|
||||||
noise_params = {
|
noise_params = {
|
||||||
|
@ -98,8 +98,8 @@ minetest.register_decoration({
|
||||||
minetest.register_decoration({
|
minetest.register_decoration({
|
||||||
name = 'everness:baobab_savanna_baobab_tree_2',
|
name = 'everness:baobab_savanna_baobab_tree_2',
|
||||||
deco_type = 'schematic',
|
deco_type = 'schematic',
|
||||||
place_on = { 'default:dry_dirt_with_dry_grass', 'default:dry_dirt' },
|
place_on = { 'everness:dry_dirt_with_dry_grass', 'everness:dry_dirt' },
|
||||||
spawn_by = { 'default:dry_dirt_with_dry_grass', 'default:dry_dirt' },
|
spawn_by = { 'everness:dry_dirt_with_dry_grass', 'everness:dry_dirt' },
|
||||||
num_spawn_by = 8,
|
num_spawn_by = 8,
|
||||||
sidelen = 16,
|
sidelen = 16,
|
||||||
noise_params = {
|
noise_params = {
|
||||||
|
@ -118,53 +118,58 @@ minetest.register_decoration({
|
||||||
rotation = 'random',
|
rotation = 'random',
|
||||||
})
|
})
|
||||||
|
|
||||||
local acacia_log_schem
|
minetest.register_decoration({
|
||||||
|
name = 'everness:baobab_savanna_baobab_log',
|
||||||
|
deco_type = 'schematic',
|
||||||
|
place_on = { 'everness:dry_dirt_with_dry_grass' },
|
||||||
|
sidelen = 16,
|
||||||
|
place_offset_y = 1,
|
||||||
|
noise_params = {
|
||||||
|
offset = 0,
|
||||||
|
scale = 0.001,
|
||||||
|
spread = { x = 250, y = 250, z = 250 },
|
||||||
|
seed = 2,
|
||||||
|
octaves = 3,
|
||||||
|
persist = 0.66
|
||||||
|
},
|
||||||
|
biomes = { 'everness_baobab_savanna' },
|
||||||
|
y_max = y_max,
|
||||||
|
y_min = y_min,
|
||||||
|
schematic = minetest.get_modpath('everness') .. '/schematics/everness_baobab_log.mts',
|
||||||
|
flags = 'place_center_x',
|
||||||
|
rotation = 'random',
|
||||||
|
spawn_by = 'everness:dry_dirt_with_dry_grass',
|
||||||
|
num_spawn_by = 8,
|
||||||
|
})
|
||||||
|
|
||||||
if minetest.get_modpath('default') then
|
-- Dry grasses
|
||||||
acacia_log_schem = minetest.get_modpath('default') .. '/schematics/acacia_log.mts'
|
|
||||||
elseif minetest.get_modpath('mcl_core') then
|
|
||||||
acacia_log_schem = {
|
|
||||||
size = { x = 3, y = 3, z = 1 },
|
|
||||||
data = {
|
|
||||||
{ name = 'air', prob = 0 },
|
|
||||||
{ name = 'air', prob = 0 },
|
|
||||||
{ name = 'air', prob = 0 },
|
|
||||||
{ name = 'mcl_core:acaciatree', param2 = 12 },
|
|
||||||
{ name = 'mcl_core:acaciatree', param2 = 12 },
|
|
||||||
{ name = 'mcl_core:acaciatree', param2 = 12, prob = 127 },
|
|
||||||
{ name = 'air', prob = 0 },
|
|
||||||
{ name = 'mcl_mushrooms:mushroom_brown', prob = 50 },
|
|
||||||
{ name = 'air', prob = 0 },
|
|
||||||
},
|
|
||||||
}
|
|
||||||
end
|
|
||||||
|
|
||||||
if acacia_log_schem then
|
local function register_dry_grass_decoration(offset, scale, length)
|
||||||
minetest.register_decoration({
|
minetest.register_decoration({
|
||||||
name = 'everness:baobab_savanna_acacia_log',
|
name = 'everness:dry_grass_' .. length,
|
||||||
deco_type = 'schematic',
|
deco_type = 'simple',
|
||||||
place_on = { 'default:dry_dirt_with_dry_grass' },
|
place_on = { 'everness:dry_dirt_with_dry_grass' },
|
||||||
place_offset_y = 1,
|
|
||||||
sidelen = 16,
|
sidelen = 16,
|
||||||
noise_params = {
|
noise_params = {
|
||||||
offset = 0,
|
offset = offset,
|
||||||
scale = 0.001,
|
scale = scale,
|
||||||
spread = { x = 250, y = 250, z = 250 },
|
spread = { x = 200, y = 200, z = 200 },
|
||||||
seed = 2,
|
seed = 329,
|
||||||
octaves = 3,
|
octaves = 3,
|
||||||
persist = 0.66
|
persist = 0.6
|
||||||
},
|
},
|
||||||
biomes = { 'everness_baobab_savanna' },
|
biomes = { 'everness_baobab_savanna' },
|
||||||
y_max = y_max,
|
y_max = y_max,
|
||||||
y_min = y_min,
|
y_min = y_min,
|
||||||
schematic = acacia_log_schem,
|
decoration = 'everness:dry_grass_' .. length,
|
||||||
flags = 'place_center_x',
|
|
||||||
rotation = 'random',
|
|
||||||
spawn_by = 'default:dry_dirt_with_dry_grass',
|
|
||||||
num_spawn_by = 8,
|
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
register_dry_grass_decoration(0.01, 0.05, 4)
|
||||||
|
register_dry_grass_decoration(0.03, 0.03, 3)
|
||||||
|
register_dry_grass_decoration(0.05, 0.01, 2)
|
||||||
|
register_dry_grass_decoration(0.07, -0.01, 1)
|
||||||
|
|
||||||
--
|
--
|
||||||
-- On Generated
|
-- On Generated
|
||||||
--
|
--
|
||||||
|
|
|
@ -980,3 +980,42 @@ minetest.register_craft({
|
||||||
{ 'everness:crystal_wood', 'everness:crystal_wood' },
|
{ 'everness:crystal_wood', 'everness:crystal_wood' },
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
mcl_doors:register_door('everness:door_cursed_wood', {
|
||||||
|
description = S('Cursed Wood Door'),
|
||||||
|
inventory_image = 'everness_door_cursed_wood_item.png',
|
||||||
|
groups = { handy = 1, axey = 1, material_wood = 1, flammable = -1 },
|
||||||
|
tiles_bottom = { 'everness_mcl_doors_door_cursed_wood_lower.png', 'everness_mcl_doors_door_cursed_wood_side_upper.png' },
|
||||||
|
tiles_top = { 'everness_mcl_doors_door_cursed_wood_upper.png', 'everness_mcl_doors_door_cursed_wood_side_upper.png' },
|
||||||
|
sounds = Everness.node_sound_wood_defaults(),
|
||||||
|
_mcl_hardness = 3,
|
||||||
|
_mcl_blast_resistance = 3,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = 'everness:door_cursed_wood 3',
|
||||||
|
recipe = {
|
||||||
|
{ 'everness:dry_wood', 'everness:dry_wood' },
|
||||||
|
{ 'everness:dry_wood', 'everness:dry_wood' },
|
||||||
|
{ 'everness:dry_wood', 'everness:dry_wood' }
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
mcl_doors:register_trapdoor('everness:trapdoor_cursed_wood', {
|
||||||
|
description = S('Cursed Wood Trapdoor'),
|
||||||
|
tile_front = 'everness_door_trapdoor_cursed_wood.png',
|
||||||
|
tile_side = 'everness_mcl_doors_trapdoor_cursed_wood_side.png',
|
||||||
|
wield_image = 'everness_door_trapdoor_cursed_wood.png',
|
||||||
|
groups = { handy = 1, axey = 1, material_wood = 1, flammable = -1 },
|
||||||
|
sounds = Everness.node_sound_wood_defaults(),
|
||||||
|
_mcl_hardness = 3,
|
||||||
|
_mcl_blast_resistance = 3,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = 'everness:trapdoor_cursed_wood',
|
||||||
|
recipe = {
|
||||||
|
{ 'everness:dry_wood', 'everness:dry_wood' },
|
||||||
|
{ 'everness:dry_wood', 'everness:dry_wood' },
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
|
@ -0,0 +1,171 @@
|
||||||
|
--[[
|
||||||
|
Everness. Never ending discovery in Everness mapgen.
|
||||||
|
Copyright (C) 2023 SaKeL <juraj.vajda@gmail.com>
|
||||||
|
|
||||||
|
This library is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU Lesser General Public
|
||||||
|
License as published by the Free Software Foundation; either
|
||||||
|
version 2.1 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This library is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public
|
||||||
|
License along with this library; if not, write to juraj.vajda@gmail.com
|
||||||
|
--]]
|
||||||
|
|
||||||
|
minetest.register_alias('default:water_source', 'rp_default:water_source')
|
||||||
|
minetest.register_alias('default:dirt_with_rainforest_litter', 'rp_default:dirt_with_grass')
|
||||||
|
minetest.register_alias('default:dirt_with_snow', 'rp_default:dirt_with_grass')
|
||||||
|
minetest.register_alias('default:dirt_with_coniferous_litter', 'rp_default:dirt_with_grass')
|
||||||
|
minetest.register_alias('default:dirt_with_grass', 'rp_default:dirt_with_grass')
|
||||||
|
minetest.register_alias('default:stick', 'rp_default:stick')
|
||||||
|
minetest.register_alias('default:paper', 'rp_default:paper')
|
||||||
|
minetest.register_alias('default:book', 'rp_default:book')
|
||||||
|
minetest.register_alias('default:skeleton_key', 'rp_default:skeleton_key')
|
||||||
|
minetest.register_alias('default:flint', 'rp_default:flint')
|
||||||
|
minetest.register_alias('default:obsidian_shard', 'rp_default:obsidian_shard')
|
||||||
|
minetest.register_alias('default:clay_brick', 'rp_default:clay_brick')
|
||||||
|
minetest.register_alias('default:mese_crystal_fragment', 'rp_default:mese_crystal_fragment')
|
||||||
|
-- Ingots
|
||||||
|
minetest.register_alias('default:gold_ingot', 'rp_default:gold_ingot')
|
||||||
|
minetest.register_alias('default:bronze_ingot', 'rp_default:bronze_ingot')
|
||||||
|
minetest.register_alias('default:tin_ingot', 'rp_default:tin_ingot')
|
||||||
|
minetest.register_alias('default:copper_ingot', 'rp_default:copper_ingot')
|
||||||
|
minetest.register_alias('default:steel_ingot', 'rp_default:steel_ingot')
|
||||||
|
minetest.register_alias('default:coal_lump', 'rp_default:coal_lump')
|
||||||
|
-- Tools
|
||||||
|
minetest.register_alias('default:pick_stone', 'rp_default:pick_stone')
|
||||||
|
minetest.register_alias('default:pick_bronze', 'rp_default:pick_bronze')
|
||||||
|
minetest.register_alias('default:pick_steel', 'rp_default:pick_steel')
|
||||||
|
minetest.register_alias('default:shovel_stone', 'rp_default:shovel_stone')
|
||||||
|
minetest.register_alias('default:shovel_bronze', 'rp_default:shovel_bronze')
|
||||||
|
minetest.register_alias('default:shovel_steel', 'rp_default:shovel_steel')
|
||||||
|
minetest.register_alias('default:axe_stone', 'rp_default:axe_stone')
|
||||||
|
minetest.register_alias('default:axe_bronze', 'rp_default:axe_bronze')
|
||||||
|
minetest.register_alias('default:axe_steel', 'rp_default:axe_steel')
|
||||||
|
minetest.register_alias('default:sword_stone', 'rp_default:sword_stone')
|
||||||
|
minetest.register_alias('default:sword_bronze', 'rp_default:sword_bronze')
|
||||||
|
minetest.register_alias('default:sword_steel', 'rp_default:sword_steel')
|
||||||
|
-- Items / Nodes
|
||||||
|
minetest.register_alias('default:bookshelf', 'rp_default:bookshelf')
|
||||||
|
minetest.register_alias('default:sign_wall_wood', 'rp_default:sign_wall_wood')
|
||||||
|
minetest.register_alias('default:ladder_wood', 'rp_default:ladder_wood')
|
||||||
|
minetest.register_alias('default:ladder_steel', 'rp_default:ladder_steel')
|
||||||
|
minetest.register_alias('default:glass', 'rp_default:glass')
|
||||||
|
minetest.register_alias('default:obsidian_glass', 'rp_default:obsidian_glass')
|
||||||
|
-- Trees
|
||||||
|
minetest.register_alias('default:tree', 'rp_default:tree')
|
||||||
|
minetest.register_alias('default:jungletree', 'rp_default:jungletree')
|
||||||
|
minetest.register_alias('default:pine_tree', 'rp_default:pine_tree')
|
||||||
|
minetest.register_alias('default:cactus', 'rp_default:cactus')
|
||||||
|
minetest.register_alias('default:large_cactus_seedling', 'rp_default:large_cactus_seedling')
|
||||||
|
minetest.register_alias('default:papyrus', 'rp_default:papyrus')
|
||||||
|
minetest.register_alias('default:junglegrass', 'rp_default:junglegrass')
|
||||||
|
minetest.register_alias('default:blueberry_bush_sapling', 'rp_default:blueberry_bush_sapling')
|
||||||
|
minetest.register_alias('default:sapling', 'rp_default:sapling')
|
||||||
|
minetest.register_alias('default:junglesapling', 'rp_default:junglesapling')
|
||||||
|
minetest.register_alias('default:pine_sapling', 'rp_default:pine_sapling')
|
||||||
|
minetest.register_alias('default:acacia_sapling', 'rp_default:acacia_sapling')
|
||||||
|
minetest.register_alias('default:aspen_sapling', 'rp_default:aspen_sapling')
|
||||||
|
|
||||||
|
minetest.register_alias('default:clay_lump', 'rp_default:clay_lump')
|
||||||
|
minetest.register_alias('default:tin_lump', 'rp_default:tin_lump')
|
||||||
|
minetest.register_alias('default:copper_lump', 'rp_default:copper_lump')
|
||||||
|
minetest.register_alias('default:iron_lump', 'rp_default:iron_lump')
|
||||||
|
minetest.register_alias('default:coalblock', 'rp_default:block_coal')
|
||||||
|
minetest.register_alias('default:steelblock', 'rp_default:steelblock')
|
||||||
|
minetest.register_alias('default:copperblock', 'rp_default:copperblock')
|
||||||
|
minetest.register_alias('default:tinblock', 'rp_default:tinblock')
|
||||||
|
minetest.register_alias('default:bronzeblock', 'rp_default:bronzeblock')
|
||||||
|
minetest.register_alias('default:mese', 'rp_default:mese')
|
||||||
|
minetest.register_alias('default:meselamp', 'rp_default:meselamp')
|
||||||
|
minetest.register_alias('default:obsidian', 'rp_default:obsidian')
|
||||||
|
minetest.register_alias('default:mese_crystal', 'rp_default:mese_crystal')
|
||||||
|
minetest.register_alias('default:diamond', 'rp_default:diamond')
|
||||||
|
minetest.register_alias('default:pick_mese', 'rp_default:pick_mese')
|
||||||
|
minetest.register_alias('default:shovel_mese', 'rp_default:shovel_mese')
|
||||||
|
minetest.register_alias('default:axe_mese', 'rp_default:axe_mese')
|
||||||
|
minetest.register_alias('default:sword_mese', 'rp_default:sword_mese')
|
||||||
|
|
||||||
|
minetest.register_alias('default:snowblock', 'rp_default:snowblock')
|
||||||
|
minetest.register_alias('default:ice', 'rp_default:ice')
|
||||||
|
minetest.register_alias('default:torch', 'rp_default:torch')
|
||||||
|
minetest.register_alias('default:cobble', 'rp_default:cobble')
|
||||||
|
minetest.register_alias('default:chest', 'rp_default:chest')
|
||||||
|
minetest.register_alias('default:snow', 'rp_default:snow')
|
||||||
|
minetest.register_alias('default:stone', 'rp_default:stone')
|
||||||
|
minetest.register_alias('default:sand', 'rp_default:sand')
|
||||||
|
minetest.register_alias('default:gravel', 'rp_default:gravel')
|
||||||
|
minetest.register_alias('default:stone_with_coal', 'rp_default:stone_with_coal')
|
||||||
|
minetest.register_alias('default:stone_with_iron', 'rp_default:stone_with_iron')
|
||||||
|
minetest.register_alias('default:stone_with_tin', 'rp_default:stone_with_tin')
|
||||||
|
minetest.register_alias('default:stone_with_gold', 'rp_default:stone_with_gold')
|
||||||
|
minetest.register_alias('default:stone_with_mese', 'rp_default:stone_with_mese')
|
||||||
|
minetest.register_alias('default:stone_with_diamond', 'rp_default:stone_with_diamond')
|
||||||
|
minetest.register_alias('default:lava_source', 'rp_default:water_source')
|
||||||
|
minetest.register_alias('default:mossycobble', 'rp_default:mossycobble')
|
||||||
|
minetest.register_alias('default:clay', 'rp_default:clay')
|
||||||
|
minetest.register_alias('default:dry_dirt_with_dry_grass', 'rp_default:dry_dirt_with_dry_grass')
|
||||||
|
minetest.register_alias('default:dry_dirt', 'rp_default:dry_dirt')
|
||||||
|
minetest.register_alias('default:coral_skeleton', 'everness:coral_skeleton')
|
||||||
|
minetest.register_alias('default:lava_flowing', 'rp_default:water_flowing')
|
||||||
|
minetest.register_alias('everness:cursed_brick_with_growth_wall', 'air')
|
||||||
|
minetest.register_alias('stairs:slab_cursed_brick_with_growth', 'air')
|
||||||
|
minetest.register_alias('default:fence_wood', 'rp_default:fence')
|
||||||
|
minetest.register_alias('default:torch_wall', 'rp_default:torch_wall')
|
||||||
|
minetest.register_alias('default:wood', 'rp_default:planks')
|
||||||
|
minetest.register_alias('default:junglewood', 'rp_default:junglewood')
|
||||||
|
minetest.register_alias('default:pine_wood', 'rp_default:pine_wood')
|
||||||
|
minetest.register_alias('default:mese_post_light_pine_wood', 'rp_default:mese_post_light_pine_wood')
|
||||||
|
minetest.register_alias_force('default:acacia_tree', 'rp_default:acacia_tree')
|
||||||
|
minetest.register_alias('default:dry_grass_4', 'rp_default:dry_grass_4')
|
||||||
|
minetest.register_alias('default:dry_grass_2', 'rp_default:dry_grass_2')
|
||||||
|
minetest.register_alias('default:dry_shrub', 'rp_default:dry_shrub')
|
||||||
|
minetest.register_alias('default:stonebrick', 'rp_default:stonebrick')
|
||||||
|
minetest.register_alias('default:jungleleaves', 'rp_default:jungleleaves')
|
||||||
|
minetest.register_alias('default:torch_ceiling', 'rp_default:torch_ceiling')
|
||||||
|
minetest.register_alias('default:goldblock', 'rp_default:goldblock')
|
||||||
|
minetest.register_alias('stairs:stair_coral_white_sandstone', 'mcl_stairs:stair_coral_white_sandstone')
|
||||||
|
minetest.register_alias('stairs:slab_coral_white_sandstone', 'mcl_stairs:slab_coral_white_sandstone')
|
||||||
|
minetest.register_alias('stairs:stair_coral_deep_ocean_sandstone_block', 'mcl_stairs:stair_coral_deep_ocean_sandstone_block')
|
||||||
|
minetest.register_alias('stairs:slab_coral_deep_ocean_sandstone_block', 'mcl_stairs:slab_coral_deep_ocean_sandstone_block')
|
||||||
|
minetest.register_alias('stairs:slab_coral_deep_ocean_sandstone_brick', 'mcl_stairs:slab_coral_deep_ocean_sandstone_brick')
|
||||||
|
minetest.register_alias('stairs:slab_coral_sandstone_brick', 'mcl_stairs:slab_coral_sandstone_brick')
|
||||||
|
minetest.register_alias('stairs:stair_coral_deep_ocean_sandstone_brick', 'mcl_stairs:stair_coral_deep_ocean_sandstone_brick')
|
||||||
|
minetest.register_alias('stairs:stair_crystal_forest_deep_ocean_sandstone_block', 'mcl_stairs:stair_crystal_forest_deep_ocean_sandstone_block')
|
||||||
|
minetest.register_alias('stairs:stair_crystal_forest_deep_ocean_sandstone_brick', 'mcl_stairs:stair_crystal_forest_deep_ocean_sandstone_brick')
|
||||||
|
minetest.register_alias('stairs:slab_crystal_forest_deep_ocean_sandstone_block', 'mcl_stairs:slab_crystal_forest_deep_ocean_sandstone_block')
|
||||||
|
minetest.register_alias('stairs:slab_crystal_forest_deep_ocean_sandstone_brick', 'mcl_stairs:slab_crystal_forest_deep_ocean_sandstone_brick')
|
||||||
|
minetest.register_alias('stairs:stair_forsaken_desert_brick_red', 'mcl_stairs:stair_forsaken_desert_brick_red')
|
||||||
|
minetest.register_alias('stairs:stair_forsaken_desert_chiseled_stone', 'mcl_stairs:stair_forsaken_desert_chiseled_stone')
|
||||||
|
minetest.register_alias('stairs:slab_forsaken_desert_chiseled_stone', 'mcl_stairs:slab_forsaken_desert_chiseled_stone')
|
||||||
|
minetest.register_alias('stairs:stair_junglewood', 'mcl_stairs:stair_junglewood')
|
||||||
|
minetest.register_alias('stairs:slab_junglewood', 'mcl_stairs:slab_junglewood')
|
||||||
|
minetest.register_alias('stairs:slab_dry_wood', 'mcl_stairs:slab_dry_wood')
|
||||||
|
minetest.register_alias('stairs:stair_dry_wood', 'mcl_stairs:stair_dry_wood')
|
||||||
|
minetest.register_alias('stairs:stair_wood', 'mcl_stairs:stair_wood')
|
||||||
|
minetest.register_alias('stairs:slab_stonebrick', 'mcl_stairs:slab_stonebrick')
|
||||||
|
minetest.register_alias('stairs:stair_inner_wood', 'mcl_stairs:stair_wood_inner')
|
||||||
|
minetest.register_alias('stairs:stair_outer_stonebrick', 'mcl_stairs:stair_stonebrick_outer')
|
||||||
|
minetest.register_alias('stairs:stair_stonebrick', 'mcl_stairs:stair_stonebrick')
|
||||||
|
-- minetest.register_alias('stairs:stair_cobble', 'mcl_stairs:stair_cobble')
|
||||||
|
minetest.register_alias('stairs:stair_mossycobble', 'mcl_stairs:stair_mossycobble')
|
||||||
|
minetest.register_alias('stairs:stair_outer_quartz_chiseled', 'mcl_stairs:stair_quartz_chiseled_outer')
|
||||||
|
minetest.register_alias('stairs:stair_quartz_chiseled', 'mcl_stairs:stair_quartz_chiseled')
|
||||||
|
minetest.register_alias('stairs:stair_inner_quartz_chiseled', 'mcl_stairs:stair_quartz_chiseled_inner')
|
||||||
|
minetest.register_alias('stairs:slab_quartz_chiseled', 'mcl_stairs:slab_quartz_chiseled')
|
||||||
|
minetest.register_alias('stairs:stair_coral_desert_stone_block', 'mcl_stairs:stair_coral_desert_stone_block')
|
||||||
|
|
||||||
|
minetest.register_alias('everness:cursed_brick_wall', 'everness:cursedbrickwall')
|
||||||
|
minetest.register_alias('walls:cobble', 'mcl_walls:cobble')
|
||||||
|
minetest.register_alias('xpanes:trapdoor_steel_bar', 'mcl_doors:iron_trapdoor')
|
||||||
|
minetest.register_alias('doors:trapdoor_open', 'mcl_doors:trapdoor_open')
|
||||||
|
minetest.register_alias('doors:trapdoor', 'mcl_doors:trapdoor')
|
||||||
|
minetest.register_alias('doors:door_wood_a', 'mcl_doors:wooden_door')
|
||||||
|
minetest.register_alias('doors:hidden', 'air')
|
||||||
|
minetest.register_alias('everness:cobweb', 'mcl_core:cobweb')
|
||||||
|
|
||||||
|
minetest.register_alias('fire:permanent_flame', 'air')
|
|
@ -27,19 +27,7 @@ local path_nodes_bamboo_forest = {
|
||||||
descritption = 'Dirt with Grass Path',
|
descritption = 'Dirt with Grass Path',
|
||||||
drop = 'everness:dirt_1',
|
drop = 'everness:dirt_1',
|
||||||
tiles = {
|
tiles = {
|
||||||
'x_obsidianmese_path_dirt_base.png^(everness_grass_top_1.png^[mask:x_obsidianmese_path_overlay.png)',
|
'x_obsidianmese_path_dirt_base.png^(everness_grass_top.png^[mask:x_obsidianmese_path_overlay.png)',
|
||||||
'x_obsidianmese_path_dirt_base.png',
|
|
||||||
'x_obsidianmese_dirt_path_side.png'
|
|
||||||
},
|
|
||||||
sounds = Everness.node_sound_dirt_defaults()
|
|
||||||
},
|
|
||||||
['everness:dirt_with_grass_2'] = {
|
|
||||||
name = 'dirt_with_grass_2',
|
|
||||||
mod_origin = 'everness',
|
|
||||||
descritption = 'Dirt with Grass Path',
|
|
||||||
drop = 'everness:dirt_1',
|
|
||||||
tiles = {
|
|
||||||
'x_obsidianmese_path_dirt_base.png^(everness_grass_top_2.png^[mask:x_obsidianmese_path_overlay.png)',
|
|
||||||
'x_obsidianmese_path_dirt_base.png',
|
'x_obsidianmese_path_dirt_base.png',
|
||||||
'x_obsidianmese_dirt_path_side.png'
|
'x_obsidianmese_dirt_path_side.png'
|
||||||
},
|
},
|
||||||
|
@ -51,7 +39,7 @@ local path_nodes_bamboo_forest = {
|
||||||
descritption = 'Dirt with Grass Path',
|
descritption = 'Dirt with Grass Path',
|
||||||
drop = 'everness:dirt_1',
|
drop = 'everness:dirt_1',
|
||||||
tiles = {
|
tiles = {
|
||||||
'x_obsidianmese_path_dirt_base.png^(everness_grass_top_1.png^[mask:x_obsidianmese_path_overlay.png)',
|
'x_obsidianmese_path_dirt_base.png^(everness_grass_top.png^[mask:x_obsidianmese_path_overlay.png)',
|
||||||
'x_obsidianmese_path_dirt_base.png',
|
'x_obsidianmese_path_dirt_base.png',
|
||||||
'x_obsidianmese_dirt_path_side.png'
|
'x_obsidianmese_dirt_path_side.png'
|
||||||
},
|
},
|
||||||
|
@ -63,7 +51,7 @@ local path_nodes_bamboo_forest = {
|
||||||
descritption = 'Dirt with Grass Path',
|
descritption = 'Dirt with Grass Path',
|
||||||
drop = 'everness:dirt_1',
|
drop = 'everness:dirt_1',
|
||||||
tiles = {
|
tiles = {
|
||||||
'x_obsidianmese_path_dirt_base.png^(everness_grass_top_2.png^[mask:x_obsidianmese_path_overlay.png)',
|
'x_obsidianmese_path_dirt_base.png^(everness_grass_top.png^[mask:x_obsidianmese_path_overlay.png)',
|
||||||
'x_obsidianmese_path_dirt_base.png',
|
'x_obsidianmese_path_dirt_base.png',
|
||||||
'x_obsidianmese_dirt_path_side.png'
|
'x_obsidianmese_dirt_path_side.png'
|
||||||
},
|
},
|
||||||
|
@ -75,12 +63,39 @@ local path_nodes_bamboo_forest = {
|
||||||
descritption = 'Dirt Path',
|
descritption = 'Dirt Path',
|
||||||
drop = 'everness:dirt_1',
|
drop = 'everness:dirt_1',
|
||||||
tiles = {
|
tiles = {
|
||||||
'x_obsidianmese_path_dirt_base.png^(everness_dirt_1.png^[mask:x_obsidianmese_path_overlay_2.png)',
|
'x_obsidianmese_path_dirt_base.png^(everness_dirt.png^[mask:x_obsidianmese_path_overlay_2.png)',
|
||||||
'x_obsidianmese_path_dirt_base.png',
|
'x_obsidianmese_path_dirt_base.png',
|
||||||
'x_obsidianmese_dirt_path_side.png'
|
'x_obsidianmese_dirt_path_side.png'
|
||||||
},
|
},
|
||||||
sounds = Everness.node_sound_dirt_defaults()
|
sounds = Everness.node_sound_dirt_defaults()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
local path_nodes_baobab_savanna = {
|
||||||
|
['everness:dry_dirt_with_dry_grass'] = {
|
||||||
|
name = 'dry_dirt_with_dry_grass',
|
||||||
|
mod_origin = 'everness',
|
||||||
|
descritption = 'Dry Dirt with Dry Grass Path',
|
||||||
|
drop = 'everness:dry_dirt',
|
||||||
|
tiles = {
|
||||||
|
'x_obsidianmese_path_dirt_base.png^[colorize:#B88C5E:127^(everness_dry_grass_top.png^[mask:x_obsidianmese_path_overlay.png)',
|
||||||
|
'x_obsidianmese_path_dirt_base.png^[colorize:#B88C5E:127',
|
||||||
|
'x_obsidianmese_dirt_path_side.png^[colorize:#B88C5E:127'
|
||||||
|
},
|
||||||
|
sounds = Everness.node_sound_dirt_defaults()
|
||||||
},
|
},
|
||||||
|
['everness:dry_dirt'] = {
|
||||||
|
name = 'dry_dirt',
|
||||||
|
mod_origin = 'everness',
|
||||||
|
descritption = 'Dry Dirt Path',
|
||||||
|
drop = 'everness:dry_dirt',
|
||||||
|
tiles = {
|
||||||
|
'x_obsidianmese_path_dirt_base.png^[colorize:#B88C5E:127^(everness_dry_dirt.png^[mask:x_obsidianmese_path_overlay_2.png)',
|
||||||
|
'x_obsidianmese_path_dirt_base.png^[colorize:#B88C5E:127',
|
||||||
|
'x_obsidianmese_dirt_path_side.png^[colorize:#B88C5E:127'
|
||||||
|
},
|
||||||
|
sounds = Everness.node_sound_dirt_defaults()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Crystal Forest
|
-- Crystal Forest
|
||||||
|
@ -458,6 +473,12 @@ if Everness.settings.biomes.everness_bamboo_forest.enabled then
|
||||||
x_obsidianmese:register_path_node(path_nodes_bamboo_forest)
|
x_obsidianmese:register_path_node(path_nodes_bamboo_forest)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Baobab Savanna
|
||||||
|
|
||||||
|
if Everness.settings.biomes.everness_baobab_savanna.enabled then
|
||||||
|
x_obsidianmese:register_path_node(path_nodes_baobab_savanna)
|
||||||
|
end
|
||||||
|
|
||||||
-- Crystal Forest
|
-- Crystal Forest
|
||||||
|
|
||||||
if Everness.settings.biomes.everness_crystal_forest.enabled then
|
if Everness.settings.biomes.everness_crystal_forest.enabled then
|
||||||
|
@ -530,6 +551,7 @@ if Everness.settings.biomes.everness_forsaken_desert_under.enabled then
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Frosted Icesheet
|
-- Frosted Icesheet
|
||||||
|
|
||||||
if Everness.settings.biomes.everness_frosted_icesheet.enabled then
|
if Everness.settings.biomes.everness_frosted_icesheet.enabled then
|
||||||
x_obsidianmese:register_path_node(path_nodes_frosted_icesheet)
|
x_obsidianmese:register_path_node(path_nodes_frosted_icesheet)
|
||||||
end
|
end
|
||||||
|
|
152
nodes.lua
|
@ -1955,7 +1955,7 @@ Everness:register_node('everness:crystal_forest_deep_ocean_ruins_marker', {
|
||||||
Everness:register_node('everness:dirt_1', {
|
Everness:register_node('everness:dirt_1', {
|
||||||
description = S('Dirt'),
|
description = S('Dirt'),
|
||||||
short_description = S('Dirt'),
|
short_description = S('Dirt'),
|
||||||
tiles = { 'everness_dirt_1.png' },
|
tiles = { 'everness_dirt.png' },
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
crumbly = 3,
|
crumbly = 3,
|
||||||
|
@ -1977,13 +1977,38 @@ Everness:register_node('everness:dirt_1', {
|
||||||
sounds = Everness.node_sound_dirt_defaults(),
|
sounds = Everness.node_sound_dirt_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
Everness:register_node('everness:dirt_with_grass_1', {
|
Everness:register_node('everness:dry_dirt', {
|
||||||
description = S('Dirt with Grass'),
|
description = S('Dry Dirt'),
|
||||||
short_description = S('Dirt with Grass'),
|
short_description = S('Dry Dirt'),
|
||||||
|
tiles = { 'everness_dry_dirt.png' },
|
||||||
|
groups = {
|
||||||
|
-- MTG
|
||||||
|
crumbly = 3,
|
||||||
|
-- MCL
|
||||||
|
handy = 1,
|
||||||
|
shovely = 1,
|
||||||
|
dirt = 1,
|
||||||
|
soil_sapling = 2,
|
||||||
|
soil_sugarcane = 1,
|
||||||
|
cultivatable = 2,
|
||||||
|
enderman_takable = 1,
|
||||||
|
building_block = 1,
|
||||||
|
-- path_creation_possible = 1,
|
||||||
|
-- ALL
|
||||||
|
soil = 1,
|
||||||
|
},
|
||||||
|
_mcl_blast_resistance = 0.5,
|
||||||
|
_mcl_hardness = 0.5,
|
||||||
|
sounds = Everness.node_sound_dirt_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
|
Everness:register_node('everness:dry_dirt_with_dry_grass', {
|
||||||
|
description = S('Dirt with Dry Grass'),
|
||||||
|
short_description = S('Dirt with Dry Grass'),
|
||||||
tiles = {
|
tiles = {
|
||||||
'everness_grass_top_1.png',
|
'everness_dry_grass_top.png',
|
||||||
'everness_dirt_1.png',
|
'everness_dry_dirt.png',
|
||||||
{ name = 'everness_dirt_1.png^everness_grass_side_1.png', tileable_vertical = false }
|
{ name = 'everness_dry_dirt.png^everness_dry_grass_side.png', tileable_vertical = false }
|
||||||
},
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
|
@ -2008,17 +2033,17 @@ Everness:register_node('everness:dirt_with_grass_1', {
|
||||||
},
|
},
|
||||||
_mcl_blast_resistance = 0.6,
|
_mcl_blast_resistance = 0.6,
|
||||||
_mcl_hardness = 0.6,
|
_mcl_hardness = 0.6,
|
||||||
drop = 'everness:dirt_1',
|
drop = 'everness:dry_dirt',
|
||||||
sounds = Everness.node_sound_grass_defaults(),
|
sounds = Everness.node_sound_grass_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
Everness:register_node('everness:dirt_with_grass_2', {
|
Everness:register_node('everness:dirt_with_grass_1', {
|
||||||
description = S('Dirt with Grass'),
|
description = S('Dirt with Grass'),
|
||||||
short_description = S('Dirt with Grass'),
|
short_description = S('Dirt with Grass'),
|
||||||
tiles = {
|
tiles = {
|
||||||
'everness_grass_top_2.png',
|
'everness_grass_top.png',
|
||||||
'everness_dirt_1.png',
|
'everness_dirt.png',
|
||||||
{ name = 'everness_dirt_1.png^everness_grass_side_1.png', tileable_vertical = false }
|
{ name = 'everness_dirt.png^everness_grass_side.png', tileable_vertical = false }
|
||||||
},
|
},
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
|
@ -2051,10 +2076,11 @@ Everness:register_node('everness:dirt_with_grass_extras_1', {
|
||||||
description = S('Dirt with Grass'),
|
description = S('Dirt with Grass'),
|
||||||
short_description = S('Dirt with Grass'),
|
short_description = S('Dirt with Grass'),
|
||||||
tiles = {
|
tiles = {
|
||||||
'everness_grass_with_yellow_extra_top_1.png',
|
{ name = 'everness_grass_top.png^everness_grass_extras_1.png', tileable_vertical = false },
|
||||||
'everness_dirt_1.png',
|
'everness_dirt.png',
|
||||||
{ name = 'everness_dirt_1.png^everness_grass_side_1.png', tileable_vertical = false }
|
{ name = 'everness_dirt.png^everness_grass_side.png', tileable_vertical = false }
|
||||||
},
|
},
|
||||||
|
use_texture_alpha = 'clip',
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
crumbly = 3,
|
crumbly = 3,
|
||||||
|
@ -2086,10 +2112,11 @@ Everness:register_node('everness:dirt_with_grass_extras_2', {
|
||||||
description = S('Dirt with Grass'),
|
description = S('Dirt with Grass'),
|
||||||
short_description = S('Dirt with Grass'),
|
short_description = S('Dirt with Grass'),
|
||||||
tiles = {
|
tiles = {
|
||||||
'everness_grass_with_blue_extra_top_2.png',
|
{ name = 'everness_grass_top.png^everness_grass_extras_2.png', tileable_vertical = false },
|
||||||
'everness_dirt_1.png',
|
'everness_dirt.png',
|
||||||
{ name = 'everness_dirt_1.png^everness_grass_side_1.png', tileable_vertical = false }
|
{ name = 'everness_dirt.png^everness_grass_side.png', tileable_vertical = false }
|
||||||
},
|
},
|
||||||
|
use_texture_alpha = 'clip',
|
||||||
groups = {
|
groups = {
|
||||||
-- MTG
|
-- MTG
|
||||||
crumbly = 3,
|
crumbly = 3,
|
||||||
|
@ -5566,6 +5593,95 @@ for i = 2, 5 do
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
minetest.register_node('everness:dry_grass_1', {
|
||||||
|
description = S('Baobab Savanna Grass'),
|
||||||
|
drawtype = 'plantlike',
|
||||||
|
waving = 1,
|
||||||
|
tiles = { 'everness_dry_grass_1.png' },
|
||||||
|
inventory_image = 'everness_dry_grass_3.png',
|
||||||
|
wield_image = 'everness_dry_grass_3.png',
|
||||||
|
paramtype = 'light',
|
||||||
|
sunlight_propagates = true,
|
||||||
|
walkable = false,
|
||||||
|
buildable_to = true,
|
||||||
|
groups = {
|
||||||
|
-- MTG
|
||||||
|
snappy = 3,
|
||||||
|
flora = 1,
|
||||||
|
-- Everness
|
||||||
|
everness_dry_grass = 1,
|
||||||
|
-- MCL
|
||||||
|
handy = 1,
|
||||||
|
shearsy = 1,
|
||||||
|
deco_block = 1,
|
||||||
|
plant = 1,
|
||||||
|
non_mycelium_plant = 1,
|
||||||
|
fire_encouragement = 60,
|
||||||
|
fire_flammability = 100,
|
||||||
|
dig_by_water = 1,
|
||||||
|
destroy_by_lava_flow = 1,
|
||||||
|
compostability = 30,
|
||||||
|
-- ALL
|
||||||
|
attached_node = 1,
|
||||||
|
flammable = 3,
|
||||||
|
},
|
||||||
|
sounds = Everness.node_sound_leaves_defaults(),
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -6 / 16, -0.5, -6 / 16, 6 / 16, -3 / 16, 6 / 16 },
|
||||||
|
},
|
||||||
|
on_place = function(itemstack, placer, pointed_thing)
|
||||||
|
-- place a random dry grass node
|
||||||
|
local stack = ItemStack('everness:dry_grass_' .. math.random(1, 4))
|
||||||
|
local ret = minetest.item_place(stack, placer, pointed_thing)
|
||||||
|
return ItemStack('everness:dry_grass_1 ' ..
|
||||||
|
itemstack:get_count() - (1 - ret:get_count()))
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
||||||
|
for i = 2, 4 do
|
||||||
|
minetest.register_node('everness:dry_grass_' .. i, {
|
||||||
|
description = S('Baobab Savanna Grass'),
|
||||||
|
drawtype = 'plantlike',
|
||||||
|
waving = 1,
|
||||||
|
tiles = { 'everness_dry_grass_' .. i .. '.png' },
|
||||||
|
inventory_image = 'everness_dry_grass_' .. i .. '.png',
|
||||||
|
wield_image = 'everness_dry_grass_' .. i .. '.png',
|
||||||
|
paramtype = 'light',
|
||||||
|
sunlight_propagates = true,
|
||||||
|
walkable = false,
|
||||||
|
buildable_to = true,
|
||||||
|
groups = {
|
||||||
|
-- MTG
|
||||||
|
snappy = 3,
|
||||||
|
flora = 1,
|
||||||
|
-- Everness
|
||||||
|
everness_dry_grass = 1,
|
||||||
|
-- MCL
|
||||||
|
handy = 1,
|
||||||
|
shearsy = 1,
|
||||||
|
deco_block = 1,
|
||||||
|
plant = 1,
|
||||||
|
non_mycelium_plant = 1,
|
||||||
|
fire_encouragement = 60,
|
||||||
|
fire_flammability = 100,
|
||||||
|
dig_by_water = 1,
|
||||||
|
destroy_by_lava_flow = 1,
|
||||||
|
compostability = 30,
|
||||||
|
-- ALL
|
||||||
|
attached_node = 1,
|
||||||
|
flammable = 3,
|
||||||
|
not_in_creative_inventory = 1
|
||||||
|
},
|
||||||
|
drop = 'everness:dry_grass_1',
|
||||||
|
sounds = Everness.node_sound_leaves_defaults(),
|
||||||
|
selection_box = {
|
||||||
|
type = 'fixed',
|
||||||
|
fixed = { -6 / 16, -0.5, -6 / 16, 6 / 16, -1 / 16, 6 / 16 },
|
||||||
|
},
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
Everness:register_node('everness:red_castor_1', {
|
Everness:register_node('everness:red_castor_1', {
|
||||||
description = S('Red Castor'),
|
description = S('Red Castor'),
|
||||||
drawtype = 'plantlike',
|
drawtype = 'plantlike',
|
||||||
|
|
|
@ -50,11 +50,19 @@ minetest.override_item('everness:dirt_with_grass_1', {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.override_item('everness:dirt_with_grass_2', {
|
minetest.override_item('everness:dry_dirt', {
|
||||||
soil = {
|
soil = {
|
||||||
base = 'everness:dirt_with_grass_2',
|
base = 'everness:dry_dirt',
|
||||||
dry = 'everness:dirt_1_soil',
|
dry = 'everness:dry_dirt_soil',
|
||||||
wet = 'everness:dirt_1_soil_wet'
|
wet = 'everness:dry_dirt_soil_wet'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.override_item('everness:dry_dirt_with_dry_grass', {
|
||||||
|
soil = {
|
||||||
|
base = 'everness:dry_dirt_with_dry_grass',
|
||||||
|
dry = 'everness:dry_dirt_soil',
|
||||||
|
wet = 'everness:dry_dirt_soil_wet'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -142,8 +150,8 @@ minetest.register_node('everness:coral_dirt_soil', {
|
||||||
minetest.register_node('everness:dirt_1_soil', {
|
minetest.register_node('everness:dirt_1_soil', {
|
||||||
description = S('Dirt Soil'),
|
description = S('Dirt Soil'),
|
||||||
tiles = {
|
tiles = {
|
||||||
'everness_dirt_1.png^(everness_dirt_1.png^[mask:everness_farming_soil_overlay.png^[multiply:#51341E80)',
|
'everness_dirt.png^(everness_dirt.png^[mask:everness_farming_soil_overlay.png^[multiply:#51341E80)',
|
||||||
'everness_dirt_1.png'
|
'everness_dirt.png'
|
||||||
},
|
},
|
||||||
drop = 'everness:dirt_1',
|
drop = 'everness:dirt_1',
|
||||||
groups = { crumbly = 3, not_in_creative_inventory = 1, soil = 2, grassland = 1, field = 1 },
|
groups = { crumbly = 3, not_in_creative_inventory = 1, soil = 2, grassland = 1, field = 1 },
|
||||||
|
@ -203,6 +211,22 @@ minetest.register_node('everness:cursed_dirt_soil', {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_node('everness:dry_dirt_soil', {
|
||||||
|
description = S('Dry Dirt Soil'),
|
||||||
|
tiles = {
|
||||||
|
'everness_dry_dirt.png^(everness_dry_dirt.png^[mask:everness_farming_soil_overlay.png^[multiply:#9F754780)',
|
||||||
|
'everness_dry_dirt.png'
|
||||||
|
},
|
||||||
|
drop = 'everness:dry_dirt',
|
||||||
|
groups = { crumbly = 3, not_in_creative_inventory = 1, soil = 2, grassland = 1, field = 1 },
|
||||||
|
sounds = Everness.node_sound_dirt_defaults(),
|
||||||
|
soil = {
|
||||||
|
base = 'everness:dry_dirt',
|
||||||
|
dry = 'everness:dry_dirt_soil',
|
||||||
|
wet = 'everness:dry_dirt_soil_wet'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
-- wet soil
|
-- wet soil
|
||||||
minetest.register_node('everness:coral_dirt_soil_wet', {
|
minetest.register_node('everness:coral_dirt_soil_wet', {
|
||||||
description = S('Coral Dirt Wet Soil'),
|
description = S('Coral Dirt Wet Soil'),
|
||||||
|
@ -223,8 +247,8 @@ minetest.register_node('everness:coral_dirt_soil_wet', {
|
||||||
minetest.register_node('everness:dirt_1_soil_wet', {
|
minetest.register_node('everness:dirt_1_soil_wet', {
|
||||||
description = S('Coral Dirt Wet Soil'),
|
description = S('Coral Dirt Wet Soil'),
|
||||||
tiles = {
|
tiles = {
|
||||||
'everness_dirt_1.png^(everness_dirt_1.png^[mask:everness_farming_soil_wet_overlay.png^[multiply:#51341E80)',
|
'everness_dirt.png^(everness_dirt.png^[mask:everness_farming_soil_wet_overlay.png^[multiply:#51341E80)',
|
||||||
'everness_dirt_1.png^(everness_dirt_1.png^[mask:everness_farming_soil_wet_side_overlay.png^[multiply:#51341E80)',
|
'everness_dirt.png^(everness_dirt.png^[mask:everness_farming_soil_wet_side_overlay.png^[multiply:#51341E80)',
|
||||||
},
|
},
|
||||||
drop = 'everness:dirt_1',
|
drop = 'everness:dirt_1',
|
||||||
groups = { crumbly = 3, not_in_creative_inventory = 1, soil = 3, wet = 1, grassland = 1, field = 1 },
|
groups = { crumbly = 3, not_in_creative_inventory = 1, soil = 3, wet = 1, grassland = 1, field = 1 },
|
||||||
|
@ -283,3 +307,19 @@ minetest.register_node('everness:cursed_dirt_soil_wet', {
|
||||||
wet = 'everness:cursed_dirt_soil_wet'
|
wet = 'everness:cursed_dirt_soil_wet'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_node('everness:dry_dirt_soil_wet', {
|
||||||
|
description = S('Cursed Dirt Wet Soil'),
|
||||||
|
tiles = {
|
||||||
|
'everness_dry_dirt.png^(everness_dry_dirt.png^[mask:everness_farming_soil_wet_overlay.png^[multiply:#9F754780)',
|
||||||
|
'everness_dry_dirt.png^(everness_dry_dirt.png^[mask:everness_farming_soil_wet_side_overlay.png^[multiply:#9F754780)',
|
||||||
|
},
|
||||||
|
drop = 'everness:dry_dirt',
|
||||||
|
groups = { crumbly = 3, not_in_creative_inventory = 1, soil = 3, wet = 1, grassland = 1, field = 1 },
|
||||||
|
sounds = Everness.node_sound_dirt_defaults(),
|
||||||
|
soil = {
|
||||||
|
base = 'everness:dry_dirt',
|
||||||
|
dry = 'everness:dry_dirt_soil',
|
||||||
|
wet = 'everness:dry_dirt_soil_wet'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
After Width: | Height: | Size: 715 B |
Before Width: | Height: | Size: 223 B |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 248 B |
After Width: | Height: | Size: 263 B |
After Width: | Height: | Size: 173 B |
After Width: | Height: | Size: 610 B |
After Width: | Height: | Size: 174 B |
After Width: | Height: | Size: 211 B |
After Width: | Height: | Size: 230 B |
After Width: | Height: | Size: 260 B |
After Width: | Height: | Size: 717 B |
After Width: | Height: | Size: 741 B |
Before Width: | Height: | Size: 184 B After Width: | Height: | Size: 266 B |
After Width: | Height: | Size: 340 B |
After Width: | Height: | Size: 349 B |
After Width: | Height: | Size: 519 B |
Before Width: | Height: | Size: 263 B |
After Width: | Height: | Size: 513 B |
Before Width: | Height: | Size: 171 B |
Before Width: | Height: | Size: 183 B |
Before Width: | Height: | Size: 199 B |
Before Width: | Height: | Size: 197 B |
After Width: | Height: | Size: 259 B |
After Width: | Height: | Size: 143 B |
After Width: | Height: | Size: 300 B |
After Width: | Height: | Size: 177 B |
Before Width: | Height: | Size: 324 B After Width: | Height: | Size: 257 B |