Add MCL support - initial commit
This commit is contained in:
parent
1a5e8a70d7
commit
d2b97b1781
|
@ -83,4 +83,8 @@ read_globals = {
|
|||
"x_farming",
|
||||
"x_clay",
|
||||
"mcl_fences",
|
||||
"mcl_walls",
|
||||
"mcl_stairs",
|
||||
"mcl_core",
|
||||
"mcl_util",
|
||||
}
|
||||
|
|
|
@ -112,7 +112,11 @@
|
|||
"x_obsidianmese",
|
||||
"x_farming",
|
||||
"x_clay",
|
||||
"mcl_fences"
|
||||
"mcl_fences",
|
||||
"mcl_walls",
|
||||
"mcl_stairs",
|
||||
"mcl_core",
|
||||
"mcl_util"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
222
api.lua
222
api.lua
|
@ -948,14 +948,6 @@ function Everness.use_shell_of_underwater_breathing(self, itemstack, user, point
|
|||
return itemstack
|
||||
end
|
||||
|
||||
function Everness.leaves_after_place_node(self, pos, placer, itemstack, pointed_thing)
|
||||
if minetest.get_modpath('default') or minetest.global_exists('default') then
|
||||
if default.after_place_leaves then
|
||||
return default.after_place_leaves(pos, placer, itemstack, pointed_thing)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function Everness.sapling_on_place(self, itemstack, placer, pointed_thing, props)
|
||||
local _props = props or {}
|
||||
if minetest.get_modpath('default') or minetest.global_exists('default') then
|
||||
|
@ -972,5 +964,219 @@ function Everness.sapling_on_place(self, itemstack, placer, pointed_thing, props
|
|||
|
||||
return itemstack
|
||||
end
|
||||
elseif minetest.get_modpath('mcl_util') and minetest.global_exists('mcl_util') then
|
||||
local on_place_func = mcl_util.generate_on_place_plant_function(function(pos, node)
|
||||
local node_below = minetest.get_node_or_nil({ x = pos.x, y = pos.y - 1, z = pos.z })
|
||||
|
||||
if not node_below then
|
||||
return false
|
||||
end
|
||||
|
||||
local nn = node_below.name
|
||||
|
||||
return minetest.get_item_group(nn, 'grass_block') == 1
|
||||
or nn == 'mcl_core:podzol'
|
||||
or nn == 'mcl_core:podzol_snow'
|
||||
or nn == 'mcl_core:dirt'
|
||||
or nn == 'mcl_core:mycelium'
|
||||
or nn == 'mcl_core:coarse_dirt'
|
||||
end)
|
||||
|
||||
return on_place_func(itemstack, placer, pointed_thing)
|
||||
end
|
||||
end
|
||||
|
||||
--
|
||||
-- Leafdecay - taken from MTG
|
||||
--
|
||||
|
||||
-- Prevent decay of placed leaves
|
||||
|
||||
Everness.after_place_leaves = function(self, pos, placer, itemstack, pointed_thing)
|
||||
if placer and placer:is_player() then
|
||||
local node = minetest.get_node(pos)
|
||||
node.param2 = 1
|
||||
minetest.set_node(pos, node)
|
||||
end
|
||||
end
|
||||
|
||||
-- Leafdecay
|
||||
local function leafdecay_after_destruct(pos, oldnode, def)
|
||||
for _, v in pairs(minetest.find_nodes_in_area(vector.subtract(pos, def.radius),
|
||||
vector.add(pos, def.radius), def.leaves))
|
||||
do
|
||||
local node = minetest.get_node(v)
|
||||
local timer = minetest.get_node_timer(v)
|
||||
if node.param2 ~= 1 and not timer:is_started() then
|
||||
timer:start(math.random(20, 120) / 10)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
local movement_gravity = tonumber(minetest.settings:get('movement_gravity')) or 9.81
|
||||
|
||||
local function leafdecay_on_timer(pos, def)
|
||||
if minetest.find_node_near(pos, def.radius, def.trunks) then
|
||||
return false
|
||||
end
|
||||
|
||||
local node = minetest.get_node(pos)
|
||||
local drops = minetest.get_node_drops(node.name)
|
||||
|
||||
for _, item in ipairs(drops) do
|
||||
local is_leaf
|
||||
for _, v in pairs(def.leaves) do
|
||||
if v == item then
|
||||
is_leaf = true
|
||||
end
|
||||
end
|
||||
if minetest.get_item_group(item, 'leafdecay_drop') ~= 0
|
||||
or not is_leaf
|
||||
then
|
||||
minetest.add_item({
|
||||
x = pos.x - 0.5 + math.random(),
|
||||
y = pos.y - 0.5 + math.random(),
|
||||
z = pos.z - 0.5 + math.random(),
|
||||
}, item)
|
||||
end
|
||||
end
|
||||
|
||||
minetest.remove_node(pos)
|
||||
minetest.check_for_falling(pos)
|
||||
|
||||
-- spawn a few particles for the removed node
|
||||
minetest.add_particlespawner({
|
||||
amount = 8,
|
||||
time = 0.001,
|
||||
minpos = vector.subtract(pos, { x = 0.5, y = 0.5, z = 0.5 }),
|
||||
maxpos = vector.add(pos, { x = 0.5, y = 0.5, z = 0.5 }),
|
||||
minvel = vector.new(-0.5, -1, -0.5),
|
||||
maxvel = vector.new(0.5, 0, 0.5),
|
||||
minacc = vector.new(0, -movement_gravity, 0),
|
||||
maxacc = vector.new(0, -movement_gravity, 0),
|
||||
minsize = 0,
|
||||
maxsize = 0,
|
||||
node = node,
|
||||
})
|
||||
end
|
||||
|
||||
function Everness.register_leafdecay(self, def)
|
||||
assert(def.leaves)
|
||||
assert(def.trunks)
|
||||
assert(def.radius)
|
||||
|
||||
for _, v in pairs(def.trunks) do
|
||||
minetest.override_item(v, {
|
||||
after_destruct = function(pos, oldnode)
|
||||
leafdecay_after_destruct(pos, oldnode, def)
|
||||
end,
|
||||
})
|
||||
end
|
||||
|
||||
for _, v in pairs(def.leaves) do
|
||||
minetest.override_item(v, {
|
||||
on_timer = function(pos)
|
||||
leafdecay_on_timer(pos, def)
|
||||
end,
|
||||
})
|
||||
end
|
||||
end
|
||||
|
||||
function Everness.register_node(self, name, def, props)
|
||||
local _def = table.copy(def)
|
||||
local _name = name
|
||||
|
||||
if _def.groups then
|
||||
---
|
||||
-- Damage and digging time defining groups
|
||||
---
|
||||
|
||||
if _def.groups.crumbly then
|
||||
-- dirt, sand
|
||||
_def.groups.handy = 1
|
||||
_def.groups.shovely = 1
|
||||
_def.groups.building_block = 1
|
||||
_def.groups.enderman_takable = 1
|
||||
|
||||
_def._mcl_blast_resistance = 0.5
|
||||
_def._mcl_hardness = 2
|
||||
end
|
||||
|
||||
if _def.groups.cracky then
|
||||
-- tough but crackable stuff like stone
|
||||
_def.groups.pickaxey = 1
|
||||
_def.groups.building_block = 1
|
||||
|
||||
_def._mcl_blast_resistance = 6
|
||||
_def._mcl_hardness = 1.5
|
||||
end
|
||||
|
||||
if _def.groups.snappy then
|
||||
-- something that can be cut using things like scissors, shears
|
||||
_def.groups.handy = 1
|
||||
_def.groups.hoey = 1
|
||||
_def.groups.shearsy = 1
|
||||
_def.groups.swordy = 1
|
||||
_def.groups.dig_by_piston = 1
|
||||
_def.groups.flammable = 2
|
||||
_def.groups.fire_encouragement = 30
|
||||
_def.groups.fire_flammability = 60
|
||||
_def.groups.deco_block = 1
|
||||
_def.groups.compostability = 30
|
||||
|
||||
_def._mcl_blast_resistance = 0.2
|
||||
_def._mcl_hardness = 0.2
|
||||
end
|
||||
|
||||
if _def.groups.choppy then
|
||||
-- something that can be cut using force; e.g. trees, wooden planks
|
||||
_def.groups.handy = 1
|
||||
_def.groups.axey = 1
|
||||
_def.groups.flammable = 2
|
||||
_def.groups.building_block = 1
|
||||
_def.groups.material_wood = 1
|
||||
_def.groups.fire_encouragement = 5
|
||||
_def.groups.fire_flammability = 5
|
||||
|
||||
_def._mcl_blast_resistance = 2
|
||||
_def._mcl_hardness = 2
|
||||
end
|
||||
|
||||
if _def.groups.fleshy then
|
||||
-- living things like animals and the player. This could imply some blood effects when hitting
|
||||
_def.groups.food = 2
|
||||
_def.groups.eatable = 4
|
||||
_def.groups.compostability = 65
|
||||
_def._mcl_saturation = 2.4
|
||||
end
|
||||
|
||||
if _def.groups.oddly_breakable_by_hand then
|
||||
-- can be added to nodes that shouldn't logically be breakable by the hand but are
|
||||
_def.groups.handy = 1
|
||||
end
|
||||
|
||||
if _def.groups.explody then
|
||||
-- especially prone to explosions
|
||||
_def._mcl_blast_resistance = 1200
|
||||
_def._mcl_hardness = 50
|
||||
end
|
||||
|
||||
-- material groups
|
||||
if _def.groups.sand then
|
||||
_def.groups.soil_sugarcane = 1
|
||||
_def.groups.material_sand = 1
|
||||
end
|
||||
|
||||
if _def.groups.stone then
|
||||
_def.groups.material_stone = 1
|
||||
end
|
||||
|
||||
if _def.groups.soil then
|
||||
_def.groups.soil_sapling = 2
|
||||
_def.groups.soil_sugarcane = 1
|
||||
_def.groups.cultivatable = 2
|
||||
end
|
||||
end
|
||||
|
||||
minetest.register_node(_name, _def)
|
||||
end
|
||||
|
|
|
@ -226,9 +226,7 @@ minetest.register_abm({
|
|||
-- Leafdecay
|
||||
--
|
||||
|
||||
if minetest.get_modpath('default') or minetest.global_exists('default') then
|
||||
if default.register_leafdecay then
|
||||
default.register_leafdecay({
|
||||
Everness:register_leafdecay({
|
||||
trunks = {
|
||||
'everness:coral_tree',
|
||||
'everness:crystal_bush_stem',
|
||||
|
@ -243,10 +241,10 @@ if minetest.get_modpath('default') or minetest.global_exists('default') then
|
|||
'everness:sequoia_leaves',
|
||||
},
|
||||
radius = 3
|
||||
})
|
||||
})
|
||||
|
||||
-- Baobab Tree
|
||||
default.register_leafdecay({
|
||||
-- Baobab Tree
|
||||
Everness:register_leafdecay({
|
||||
trunks = {
|
||||
'everness:baobab_tree',
|
||||
'everness:crystal_tree',
|
||||
|
@ -259,9 +257,7 @@ if minetest.get_modpath('default') or minetest.global_exists('default') then
|
|||
'everness:dry_branches',
|
||||
},
|
||||
radius = 4,
|
||||
})
|
||||
end
|
||||
end
|
||||
})
|
||||
|
||||
--
|
||||
-- Moss growth on cobble near water
|
||||
|
|
9
init.lua
9
init.lua
|
@ -21,6 +21,11 @@ minetest = minetest.global_exists('minetest') and minetest --[[@as Minetest]]
|
|||
local path = minetest.get_modpath('everness')
|
||||
local mod_start_time = minetest.get_us_time()
|
||||
|
||||
-- MineClone2 support
|
||||
if minetest.get_modpath('mcl_core') and minetest.global_exists('mcl_core') then
|
||||
dofile(path .. '/mod_support_mcl_aliases.lua')
|
||||
end
|
||||
|
||||
dofile(path .. '/api.lua')
|
||||
dofile(path .. '/nodes.lua')
|
||||
dofile(path .. '/nodes_farming.lua')
|
||||
|
@ -215,8 +220,8 @@ end
|
|||
|
||||
-- MineClone2
|
||||
|
||||
if minetest.get_modpath('mcl_fences') and minetest.global_exists('mcl_fences') then
|
||||
dofile(path .. '/mod_support_mcl_fences.lua')
|
||||
if minetest.get_modpath('mcl_core') and minetest.global_exists('mcl_core') then
|
||||
dofile(path .. '/mod_support_mcl.lua')
|
||||
end
|
||||
|
||||
local mod_end_time = (minetest.get_us_time() - mod_start_time) / 1000000
|
||||
|
|
|
@ -190,7 +190,7 @@ minetest.register_on_generated(function(minp, maxp, blockseed)
|
|||
)
|
||||
|
||||
minetest.log('action', '[Everness] Forsaken Desert Temple was placed at ' .. schem_pos:to_string())
|
||||
elseif (biome_name == 'coniferous_forest' or biome_name == 'taiga')
|
||||
elseif (biome_name == 'coniferous_forest' or biome_name == 'taiga' or biome_name == 'MegaSpruceTaiga')
|
||||
and rand:next(0, 100) < 100
|
||||
then
|
||||
local schem = minetest.get_modpath('everness') .. '/schematics/everness_giant_sequoia_tree.mts'
|
||||
|
|
|
@ -76,7 +76,32 @@ minetest.register_decoration({
|
|||
|
||||
-- Jungle tree and log
|
||||
|
||||
minetest.register_decoration({
|
||||
local jungle_tree_schem
|
||||
local jungle_log_schem
|
||||
|
||||
if minetest.get_modpath('default') then
|
||||
jungle_tree_schem = minetest.get_modpath('default') .. '/schematics/jungle_tree.mts'
|
||||
jungle_log_schem = minetest.get_modpath('default') .. '/schematics/jungle_log.mts'
|
||||
elseif minetest.get_modpath('mcl_core') then
|
||||
jungle_tree_schem = minetest.get_modpath('mcl_core') .. '/schematics/mcl_core_jungle_tree.mts'
|
||||
jungle_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:jungletree', param2 = 12 },
|
||||
{ name = 'mcl_core:jungletree', param2 = 12 },
|
||||
{ name = 'mcl_core:jungletree', param2 = 12, prob = 127 },
|
||||
{ name = 'air', prob = 0 },
|
||||
{ name = 'mcl_mushrooms:mushroom_brown', prob = 50 },
|
||||
{ name = 'air', prob = 0 },
|
||||
},
|
||||
}
|
||||
end
|
||||
|
||||
if jungle_tree_schem then
|
||||
minetest.register_decoration({
|
||||
name = 'everness:bamboo_forest_jungle_tree',
|
||||
deco_type = 'schematic',
|
||||
place_on = { 'everness:dirt_with_grass_1' },
|
||||
|
@ -92,12 +117,14 @@ minetest.register_decoration({
|
|||
biomes = { 'everness_bamboo_forest' },
|
||||
y_max = y_max,
|
||||
y_min = y_min,
|
||||
schematic = minetest.get_modpath('default') .. '/schematics/jungle_tree.mts',
|
||||
schematic = jungle_tree_schem,
|
||||
flags = 'place_center_x, place_center_z',
|
||||
rotation = 'random',
|
||||
})
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_decoration({
|
||||
if jungle_log_schem then
|
||||
minetest.register_decoration({
|
||||
name = 'everness:bamboo_forest_jungle_log',
|
||||
deco_type = 'schematic',
|
||||
place_on = { 'everness:dirt_with_grass_1' },
|
||||
|
@ -114,12 +141,13 @@ minetest.register_decoration({
|
|||
biomes = { 'everness_bamboo_forest' },
|
||||
y_max = y_max,
|
||||
y_min = y_min,
|
||||
schematic = minetest.get_modpath('default') .. '/schematics/jungle_log.mts',
|
||||
schematic = jungle_log_schem,
|
||||
flags = 'place_center_x',
|
||||
rotation = 'random',
|
||||
spawn_by = 'everness:dirt_with_grass_1',
|
||||
num_spawn_by = 8,
|
||||
})
|
||||
})
|
||||
end
|
||||
|
||||
local function register_grass_decoration(offset, scale, length)
|
||||
minetest.register_decoration({
|
||||
|
@ -165,7 +193,8 @@ end
|
|||
|
||||
-- Bush
|
||||
|
||||
minetest.register_decoration({
|
||||
if minetest.get_modpath('default') then
|
||||
minetest.register_decoration({
|
||||
name = 'everness:bamboo_forest_bush',
|
||||
deco_type = 'schematic',
|
||||
place_on = { 'everness:dirt_with_grass_1' },
|
||||
|
@ -183,11 +212,11 @@ minetest.register_decoration({
|
|||
y_min = y_min,
|
||||
schematic = minetest.get_modpath('default') .. '/schematics/bush.mts',
|
||||
flags = 'place_center_x, place_center_z',
|
||||
})
|
||||
})
|
||||
|
||||
-- Blueberry bush
|
||||
-- Blueberry bush
|
||||
|
||||
minetest.register_decoration({
|
||||
minetest.register_decoration({
|
||||
name = 'everness:bamboo_forest_blueberry_bush',
|
||||
deco_type = 'schematic',
|
||||
place_on = { 'everness:dirt_with_grass_1' },
|
||||
|
@ -206,7 +235,8 @@ minetest.register_decoration({
|
|||
place_offset_y = 1,
|
||||
schematic = minetest.get_modpath('default') .. '/schematics/blueberry_bush.mts',
|
||||
flags = 'place_center_x, place_center_z',
|
||||
})
|
||||
})
|
||||
end
|
||||
|
||||
-- Grasses
|
||||
|
||||
|
|
|
@ -118,7 +118,29 @@ minetest.register_decoration({
|
|||
rotation = 'random',
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
local acacia_log_schem
|
||||
|
||||
if minetest.get_modpath('default') then
|
||||
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
|
||||
minetest.register_decoration({
|
||||
name = 'everness:baobab_savanna_acacia_log',
|
||||
deco_type = 'schematic',
|
||||
place_on = { 'default:dry_dirt_with_dry_grass' },
|
||||
|
@ -135,12 +157,13 @@ minetest.register_decoration({
|
|||
biomes = { 'everness_baobab_savanna' },
|
||||
y_max = y_max,
|
||||
y_min = y_min,
|
||||
schematic = minetest.get_modpath('default') .. '/schematics/acacia_log.mts',
|
||||
schematic = acacia_log_schem,
|
||||
flags = 'place_center_x',
|
||||
rotation = 'random',
|
||||
spawn_by = 'default:dry_dirt_with_dry_grass',
|
||||
num_spawn_by = 8,
|
||||
})
|
||||
})
|
||||
end
|
||||
|
||||
--
|
||||
-- On Generated
|
||||
|
|
2
mod.conf
2
mod.conf
|
@ -1,6 +1,6 @@
|
|||
name = everness
|
||||
description = Never ending discovery in Everness mapgen.
|
||||
depends =
|
||||
optional_depends = default, xpanes, doors, stairs, walls, x_obsidianmese, x_tumbleweed, x_farming, x_clay
|
||||
optional_depends = default, xpanes, doors, stairs, walls, x_obsidianmese, x_tumbleweed, x_farming, x_clay, mcl_core, mcl_fences, mcl_walls, mcl_stairs, mcl_util, mcl_autogroup
|
||||
supported_games = minetest_game
|
||||
min_minetest_version = 5.4
|
||||
|
|
|
@ -0,0 +1,841 @@
|
|||
--[[
|
||||
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
|
||||
--]]
|
||||
|
||||
local S = minetest.get_translator(minetest.get_current_modname())
|
||||
--[[]]
|
||||
minetest.register_on_mods_loaded(function()
|
||||
local everness_registered_nodes = {}
|
||||
local everness_registered_nodes_length = 0
|
||||
local everness_registered_nodes_sand_length = 0
|
||||
|
||||
-- minetest.registered_items
|
||||
-- registered_nodes
|
||||
-- registered_tools
|
||||
-- registered_craftitems
|
||||
|
||||
for name, def in pairs(minetest.registered_nodes) do
|
||||
local name_split = name:split(':')
|
||||
|
||||
if name_split[1] == 'everness' then
|
||||
everness_registered_nodes[name] = def
|
||||
|
||||
if minetest.get_item_group(name, 'sand') ~= 0 then
|
||||
local new_groups = table.copy(def.groups)
|
||||
|
||||
everness_registered_nodes_sand_length = everness_registered_nodes_sand_length + 1
|
||||
|
||||
new_groups.handy = 1
|
||||
new_groups.shovely = 1
|
||||
new_groups.soil_sugarcane = 1
|
||||
new_groups.enderman_takable = 1
|
||||
new_groups.building_block = 1
|
||||
new_groups.material_sand = 1
|
||||
|
||||
new_groups.creative_breakable = 1
|
||||
new_groups.solid = 1
|
||||
new_groups.opaque = 1
|
||||
|
||||
new_groups.handy_dig = 7
|
||||
new_groups.shovely_dig = 2
|
||||
|
||||
-- minetest.override_item(name, {
|
||||
-- groups = new_groups,
|
||||
-- _mcl_blast_resistance = 0.5,
|
||||
-- _mcl_hardness = 0.5
|
||||
-- })
|
||||
|
||||
if name == 'everness:coral_sand' then
|
||||
print(dump(minetest.registered_nodes[name]))
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
everness_registered_nodes_length = everness_registered_nodes_length + 1
|
||||
end
|
||||
end
|
||||
|
||||
-- for name, def in pairs(minetest.registered_tools) do
|
||||
-- local name_split = name:split(':')
|
||||
|
||||
-- if name_split[1] == 'everness' then
|
||||
-- if name == 'everness:pick_illuminating' then
|
||||
-- print(dump(minetest.registered_tools[name]))
|
||||
-- end
|
||||
-- end
|
||||
-- end
|
||||
|
||||
print('sand', everness_registered_nodes_sand_length)
|
||||
print('total', everness_registered_nodes_length)
|
||||
end)
|
||||
|
||||
---
|
||||
-- Fence / Gates
|
||||
---
|
||||
|
||||
-- Dry Wood
|
||||
|
||||
mcl_fences.register_fence_and_fence_gate(
|
||||
'fence_dry_wood',
|
||||
S('Dry Wood Fence'),
|
||||
S('Dry Wood Fence Gate'),
|
||||
'everness_fence_dry_wood.png',
|
||||
{ handy = 1, axey = 1, flammable = 2, fence_wood = 1, fire_encouragement = 5, fire_flammability = 20 },
|
||||
2,
|
||||
15,
|
||||
{ 'group:fence_wood' },
|
||||
Everness.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
-- Bamboo Wood
|
||||
|
||||
mcl_fences.register_fence_and_fence_gate(
|
||||
'fence_bamboo_wood',
|
||||
S('Bamboo Wood Fence'),
|
||||
S('Bamboo Wood Fence Gate'),
|
||||
'everness_fence_bamboo_wood.png',
|
||||
{ handy = 1, axey = 1, flammable = 2, fence_wood = 1, fire_encouragement = 5, fire_flammability = 20 },
|
||||
2,
|
||||
15,
|
||||
{ 'group:fence_wood' },
|
||||
Everness.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
---
|
||||
-- Walls
|
||||
---
|
||||
|
||||
mcl_walls.register_wall(
|
||||
'everness:coraldesertcobblewall',
|
||||
S('Coral Cobblestone Wall'),
|
||||
'everness:coral_desert_cobble',
|
||||
{ 'everness_coral_desert_cobble.png' },
|
||||
nil,
|
||||
nil,
|
||||
Everness.node_sound_stone_defaults()
|
||||
)
|
||||
|
||||
mcl_walls.register_wall(
|
||||
'everness:coraldesertmossycobblewall',
|
||||
S('Coral Mossy Cobblestone Wall'),
|
||||
'everness:coral_desert_mossy_cobble',
|
||||
{ 'everness_coral_desert_mossy_cobble.png' },
|
||||
nil,
|
||||
nil,
|
||||
Everness.node_sound_stone_defaults()
|
||||
)
|
||||
|
||||
mcl_walls.register_wall(
|
||||
'everness:cursedbrickwall',
|
||||
S('Cursed Brick Wall'),
|
||||
'everness:cursed_brick',
|
||||
{ 'everness_cursed_brick.png' },
|
||||
nil,
|
||||
nil,
|
||||
Everness.node_sound_stone_defaults()
|
||||
)
|
||||
|
||||
mcl_walls.register_wall(
|
||||
'everness:cursedbrickwithgrowthwall',
|
||||
S('Cursed Brick with Growth Wall'),
|
||||
'everness:cursed_brick_with_growth',
|
||||
{ 'everness_cursed_brick_with_growth.png' },
|
||||
nil,
|
||||
nil,
|
||||
Everness.node_sound_stone_defaults()
|
||||
)
|
||||
|
||||
mcl_walls.register_wall(
|
||||
'everness:forsakentundracobblewall',
|
||||
S('Forsaken Tundra Cobblestone Wall'),
|
||||
'everness:forsaken_tundra_cobble',
|
||||
{ 'everness_forsaken_tundra_cobblestone.png' },
|
||||
nil,
|
||||
nil,
|
||||
Everness.node_sound_stone_defaults()
|
||||
)
|
||||
|
||||
mcl_walls.register_wall(
|
||||
'everness:forsakentundrastonewall',
|
||||
S('Forsaken Tundra Stone Wall'),
|
||||
'everness:forsaken_tundra_stone',
|
||||
{ 'everness_forsaken_tundra_stone.png' },
|
||||
nil,
|
||||
nil,
|
||||
Everness.node_sound_stone_defaults()
|
||||
)
|
||||
|
||||
mcl_walls.register_wall(
|
||||
'everness:forsakentundrabrickwall',
|
||||
S('Forsaken Tundra Brick Wall'),
|
||||
'everness:forsaken_tundra_brick',
|
||||
{ 'everness_forsaken_tundra_brick.png' },
|
||||
nil,
|
||||
nil,
|
||||
Everness.node_sound_stone_defaults()
|
||||
)
|
||||
|
||||
mcl_walls.register_wall(
|
||||
'everness:magmacobblewall',
|
||||
S('Magma Cobblestone Wall'),
|
||||
'everness:magmacobble',
|
||||
{
|
||||
{
|
||||
name = 'everness_magmacobble_animated.png',
|
||||
animation = {
|
||||
type = 'vertical_frames',
|
||||
aspect_w = 16,
|
||||
aspect_h = 16,
|
||||
length = 3.0,
|
||||
},
|
||||
},
|
||||
},
|
||||
nil,
|
||||
nil,
|
||||
Everness.node_sound_stone_defaults()
|
||||
)
|
||||
|
||||
mcl_walls.register_wall(
|
||||
'everness:volcanicrockwall',
|
||||
S('Volcanic Rock Wall'),
|
||||
'everness:volcanic_rock',
|
||||
{ 'everness_volcanic_rock.png' },
|
||||
nil,
|
||||
nil,
|
||||
Everness.node_sound_stone_defaults()
|
||||
)
|
||||
|
||||
mcl_walls.register_wall(
|
||||
'everness:volcanicrockwithmagmawall',
|
||||
S('Volcanic Rock with Magma Wall'),
|
||||
'everness:volcanic_rock_with_magma',
|
||||
{
|
||||
{
|
||||
name = 'everness_volcanic_rock_with_magma_animated.png',
|
||||
animation = {
|
||||
type = 'vertical_frames',
|
||||
aspect_w = 16,
|
||||
aspect_h = 16,
|
||||
length = 3.0,
|
||||
},
|
||||
},
|
||||
},
|
||||
nil,
|
||||
nil,
|
||||
Everness.node_sound_stone_defaults()
|
||||
)
|
||||
|
||||
---
|
||||
-- Stairs and Slabs
|
||||
---
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'coral_desert_stone',
|
||||
'everness:coral_desert_stone',
|
||||
{ pickaxey = 3 },
|
||||
{ 'everness_coral_desert_stone.png' },
|
||||
S('Coral Desert Stone Stair'),
|
||||
S('Coral Desert Stone Slab'),
|
||||
Everness.node_sound_stone_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Coral Desert Stone Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'coral_desert_cobble',
|
||||
'everness:coral_desert_cobble',
|
||||
{ pickaxey = 3 },
|
||||
{ 'everness_coral_desert_cobble.png' },
|
||||
S('Coral Desert Cobblestone Stair'),
|
||||
S('Coral Desert Cobblestone Slab'),
|
||||
Everness.node_sound_stone_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Coral Desert Cobblestone Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'coral_desert_mossy_cobble',
|
||||
'everness:coral_desert_mossy_cobble',
|
||||
{ pickaxey = 3 },
|
||||
{ 'everness_coral_desert_mossy_cobble.png' },
|
||||
S('Coral Mossy Cobblestone Stair'),
|
||||
S('Coral Mossy Cobblestone Slab'),
|
||||
Everness.node_sound_stone_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Coral Mossy Cobblestone Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'cursed_brick',
|
||||
'everness:cursed_brick',
|
||||
{ pickaxey = 2 },
|
||||
{ 'everness_cursed_brick.png' },
|
||||
S('Cursed Brick Stair'),
|
||||
S('Cursed Brick Slab'),
|
||||
Everness.node_sound_stone_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Cursed Brick Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'cursed_brick_with_growth',
|
||||
'everness:cursed_brick_with_growth',
|
||||
{ pickaxey = 2 },
|
||||
{ 'everness_cursed_brick_with_growth.png' },
|
||||
S('Cursed Brick with Growth Stair'),
|
||||
S('Cursed Brick with Growth Slab'),
|
||||
Everness.node_sound_stone_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Cursed Brick with Growth Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
-- Quartz
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'quartz_block',
|
||||
'everness:quartz_block',
|
||||
{ pickaxey = 2 },
|
||||
{
|
||||
'everness_quartz_block_top.png',
|
||||
'everness_quartz_block_bottom.png',
|
||||
'everness_quartz_block_side.png',
|
||||
},
|
||||
S('Quartz Block Stair'),
|
||||
S('Quartz Block Slab'),
|
||||
Everness.node_sound_stone_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Quartz Block Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'quartz_chiseled',
|
||||
'everness:quartz_chiseled',
|
||||
{ pickaxey = 2 },
|
||||
{
|
||||
'everness_quartz_block_chiseled_top.png',
|
||||
'everness_quartz_block_chiseled_top.png',
|
||||
'everness_quartz_block_chiseled.png',
|
||||
},
|
||||
S('Quartz Chiseled Stair'),
|
||||
S('Quartz Chiseled Slab'),
|
||||
Everness.node_sound_stone_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Quartz Chiseled Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'quartz_pillar',
|
||||
'everness:quartz_pillar',
|
||||
{ pickaxey = 2 },
|
||||
{
|
||||
'everness_quartz_block_lines_top.png',
|
||||
'everness_quartz_block_lines_top.png',
|
||||
'everness_quartz_block_lines.png',
|
||||
},
|
||||
S('Quartz Pillar Stair'),
|
||||
S('Quartz Pillar Slab'),
|
||||
Everness.node_sound_stone_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Quartz Pillar Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
-- Dry Wood
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'dry_wood',
|
||||
'everness:dry_wood',
|
||||
{ choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 },
|
||||
{ 'everness_dry_wood.png' },
|
||||
S('Dry Wood Stair'),
|
||||
S('Dry Wood Slab'),
|
||||
Everness.node_sound_wood_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Dry Wood Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
-- Bamboo Wood
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'bamboo_wood',
|
||||
'everness:bamboo_wood',
|
||||
{ choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 },
|
||||
{ 'everness_dry_bamboo_block_side.png' },
|
||||
S('Bamboo Wood Stair'),
|
||||
S('Bamboo Wood Slab'),
|
||||
Everness.node_sound_wood_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Bamboo Wood Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'bamboo_mosaic_wood',
|
||||
'everness:bamboo_mosaic_wood',
|
||||
{ choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 },
|
||||
{ 'everness_bamboo_mosaic.png' },
|
||||
S('Bamboo Mosaic Wood Stair'),
|
||||
S('Bamboo Mosaic Wood Slab'),
|
||||
Everness.node_sound_wood_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Bamboo Mosaic Wood Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
-- Forsaken stone
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'forsaken_desert_brick',
|
||||
'everness:forsaken_desert_brick',
|
||||
{ pickaxey = 2, stone = 1 },
|
||||
{ 'everness_forsaken_desert_brick.png' },
|
||||
S('Forsaken Desert Brick Stair'),
|
||||
S('Forsaken Desert Brick Slab'),
|
||||
Everness.node_sound_stone_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Forsaken Desert Brick Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'forsaken_desert_brick_red',
|
||||
'everness:forsaken_desert_brick_red',
|
||||
{ pickaxey = 2, stone = 1 },
|
||||
{ 'everness_forsaken_desert_brick_red.png' },
|
||||
S('Forsaken Desert Brick Red Stair'),
|
||||
S('Forsaken Desert Brick Red Slab'),
|
||||
Everness.node_sound_stone_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Forsaken Desert Brick Red Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'forsaken_desert_chiseled_stone',
|
||||
'everness:forsaken_desert_chiseled_stone',
|
||||
{ pickaxey = 2, stone = 1 },
|
||||
{ 'everness_forsaken_desert_chiseled_stone_side.png' },
|
||||
S('Forsaken Desert Chiseled Stone Stair'),
|
||||
S('Forsaken Desert Chiseled Stone Slab'),
|
||||
Everness.node_sound_stone_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Forsaken Desert Chiseled Stone Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
-- Baobab Wood
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'baobab_wood',
|
||||
'everness:baobab_wood',
|
||||
{ choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 },
|
||||
{ 'everness_baobab_wood.png' },
|
||||
S('Baobab Wood Stair'),
|
||||
S('Baobab Wood Slab'),
|
||||
Everness.node_sound_wood_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Baobab Wood Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
-- Sequoia Wood
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'sequoia_wood',
|
||||
'everness:sequoia_wood',
|
||||
{ choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 },
|
||||
{ 'everness_sequoia_wood.png' },
|
||||
S('Sequoia Wood Stair'),
|
||||
S('Sequoia Wood Slab'),
|
||||
Everness.node_sound_wood_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Sequoia Wood Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
-- Forsaken Tundra
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'forsaken_tundra_cobble',
|
||||
'everness:forsaken_tundra_cobble',
|
||||
{ pickaxey = 3, stone = 2 },
|
||||
{ 'everness_forsaken_tundra_cobblestone.png' },
|
||||
S('Forsaken Tundra Cobblestone Stair'),
|
||||
S('Forsaken Tundra Cobblestone Slab'),
|
||||
Everness.node_sound_stone_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Forsaken Tundra Cobblestone Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'forsaken_tundra_stone',
|
||||
'everness:forsaken_tundra_stone',
|
||||
{ pickaxey = 3, stone = 1 },
|
||||
{ 'everness_forsaken_tundra_stone.png' },
|
||||
S('Forsaken Tundra Stone Stair'),
|
||||
S('Forsaken Tundra Stone Slab'),
|
||||
Everness.node_sound_stone_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Forsaken Tundra Stone Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'forsaken_tundra_brick',
|
||||
'everness:forsaken_tundra_brick',
|
||||
{ pickaxey = 2, stone = 1 },
|
||||
{ 'everness_forsaken_tundra_brick.png' },
|
||||
S('Forsaken Tundra Brick Stair'),
|
||||
S('Forsaken Tundra Brick Slab'),
|
||||
Everness.node_sound_stone_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Forsaken Tundra Brick Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
-- Willow Wood
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'willow_wood',
|
||||
'everness:willow_wood',
|
||||
{ choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 },
|
||||
{ 'everness_willow_wood.png' },
|
||||
S('Willow Wood Stair'),
|
||||
S('Willow Wood Slab'),
|
||||
Everness.node_sound_wood_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Willow Wood Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
|
||||
-- Magma Cobble
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'magmacobble',
|
||||
'everness:magmacobble',
|
||||
{ pickaxey = 3, stone = 1 },
|
||||
{
|
||||
{
|
||||
name = 'everness_magmacobble_animated.png',
|
||||
animation = {
|
||||
type = 'vertical_frames',
|
||||
aspect_w = 16,
|
||||
aspect_h = 16,
|
||||
length = 3.0,
|
||||
},
|
||||
}
|
||||
},
|
||||
S('Magma Cobblestone Stair'),
|
||||
S('Magma Cobblestone Slab'),
|
||||
Everness.node_sound_stone_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Magma Cobblestone Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
-- Volcanic rock
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'volcanic_rock',
|
||||
'everness:volcanic_rock',
|
||||
{ pickaxey = 1, stone = 2 },
|
||||
{ 'everness_volcanic_rock.png' },
|
||||
S('Volcanic Rock Stair'),
|
||||
S('Volcanic Rock Slab'),
|
||||
Everness.node_sound_stone_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Volcanic Rock Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'volcanic_rock_with_magma',
|
||||
'everness:volcanic_rock_with_magma',
|
||||
{ pickaxey = 1, stone = 2 },
|
||||
{
|
||||
{
|
||||
name = 'everness_volcanic_rock_with_magma_animated.png',
|
||||
animation = {
|
||||
type = 'vertical_frames',
|
||||
aspect_w = 16,
|
||||
aspect_h = 16,
|
||||
length = 3.0,
|
||||
},
|
||||
},
|
||||
},
|
||||
S('Volcanic Rock with Magma Stair'),
|
||||
S('Volcanic Rock with Magma Slab'),
|
||||
Everness.node_sound_stone_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Volcanic Rock with Magma Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
-- Coral Forest Deep Ocean
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'coral_deep_ocean_sandstone_block',
|
||||
'everness:coral_deep_ocean_sandstone_block',
|
||||
{ pickaxey = 2 },
|
||||
{ 'everness_deep_ocean_sandstone_block.png' },
|
||||
S('Coral Depp Ocean Sandstone Block Stair'),
|
||||
S('Coral Depp Ocean Sandstone Block Slab'),
|
||||
Everness.node_sound_stone_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Coral Depp Ocean Sandstone Block Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'coral_deep_ocean_sandstone_brick',
|
||||
'everness:coral_deep_ocean_sandstone_brick',
|
||||
{ pickaxey = 2 },
|
||||
{ 'everness_deep_ocean_sandstone_brick.png' },
|
||||
S('Coral Depp Ocean Sandstone Brick Stair'),
|
||||
S('Coral Depp Ocean Sandstone Brick Slab'),
|
||||
Everness.node_sound_stone_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Coral Depp Ocean Sandstone Brick Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
-- Coral White Sandstone
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'coral_white_sandstone',
|
||||
'everness:coral_white_sandstone',
|
||||
{ pickaxey = 2 },
|
||||
{ 'everness_coral_white_sandstone.png' },
|
||||
S('Coral White Sandstone Stair'),
|
||||
S('Coral White Sandstone Slab'),
|
||||
Everness.node_sound_stone_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Coral White Sandstone Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'coral_white_sandstone_pillar',
|
||||
'everness:coral_white_sandstone_pillar',
|
||||
{ pickaxey = 2 },
|
||||
{
|
||||
'everness_coral_white_sandstone.png',
|
||||
'everness_coral_white_sandstone.png',
|
||||
'everness_coral_white_sandstone_pillar.png',
|
||||
},
|
||||
S('Coral White Sandstone Pillar Stair'),
|
||||
S('Coral White Sandstone Pillar Slab'),
|
||||
Everness.node_sound_stone_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Coral White Sandstone Pillar Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'coral_white_sandstone_brick',
|
||||
'everness:coral_white_sandstone_brick',
|
||||
{ pickaxey = 2 },
|
||||
{ 'everness_coral_white_sandstone_brick.png' },
|
||||
S('Coral White Sandstone Brick Stair'),
|
||||
S('Coral White Sandstone Brick Slab'),
|
||||
Everness.node_sound_stone_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Coral White Sandstone Brick Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
-- Coral Desert Stone
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'coral_desert_stone_block',
|
||||
'everness:coral_desert_stone_block',
|
||||
{ pickaxey = 2 },
|
||||
{ 'everness_coral_desert_stone_block.png' },
|
||||
S('Coral Desert Stone Block Stair'),
|
||||
S('Coral Desert Stone Block Slab'),
|
||||
Everness.node_sound_stone_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Coral Desert Stone Block Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'coral_desert_stone_brick',
|
||||
'everness:coral_desert_stone_brick',
|
||||
{ pickaxey = 2 },
|
||||
{ 'everness_coral_desert_stone_brick.png' },
|
||||
S('Coral Desert Stone Brick Stair'),
|
||||
S('Coral Desert Stone Brick Slab'),
|
||||
Everness.node_sound_stone_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Coral Desert Stone Brick Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
-- Coral Sandstone
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'coral_sandstone',
|
||||
'everness:coral_sandstone',
|
||||
{ pickaxey = 2 },
|
||||
{ 'everness_coral_sandstone.png' },
|
||||
S('Coral Sandstone Stair'),
|
||||
S('Coral Sandstone Slab'),
|
||||
Everness.node_sound_stone_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Coral Sandstone Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'coral_sandstone_brick',
|
||||
'everness:coral_sandstone_brick',
|
||||
{ pickaxey = 2 },
|
||||
{ 'everness_coral_sandstone_brick.png' },
|
||||
S('Coral Sandstone Brick Stair'),
|
||||
S('Coral Sandstone Brick Slab'),
|
||||
Everness.node_sound_stone_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Coral Sandstone Brick Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'coral_sandstone_chiseled',
|
||||
'everness:coral_sandstone_chiseled',
|
||||
{ pickaxey = 2 },
|
||||
{ 'everness_coral_sandstone_chiseled.png' },
|
||||
S('Coral Sandstone Chiseled Stair'),
|
||||
S('Coral Sandstone Chiseled Slab'),
|
||||
Everness.node_sound_stone_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Coral Sandstone Chiseled Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'coral_sandstone_carved_1',
|
||||
'everness:coral_sandstone_carved_1',
|
||||
{ pickaxey = 2 },
|
||||
{ 'everness_coral_sandstone_carved_1.png' },
|
||||
S('Coral Sandstone Carved Stair'),
|
||||
S('Coral Sandstone Carved Slab'),
|
||||
Everness.node_sound_stone_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Coral Sandstone Carved Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'cursed_lands_deep_ocean_sandstone_block',
|
||||
'everness:cursed_lands_deep_ocean_sandstone_block',
|
||||
{ pickaxey = 2 },
|
||||
{ 'everness_cursed_lands_deep_ocean_sandblock.png' },
|
||||
S('Cursed Lands Deep Ocean Sandstone Block Stair'),
|
||||
S('Cursed Lands Deep Ocean Sandstone Block Slab'),
|
||||
Everness.node_sound_stone_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Cursed Lands Deep Ocean Sandstone Block Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'cursed_lands_deep_ocean_sandstone_brick',
|
||||
'everness:cursed_lands_deep_ocean_sandstone_brick',
|
||||
{ pickaxey = 2 },
|
||||
{ 'everness_cursed_lands_deep_ocean_sand_brick.png' },
|
||||
S('Cursed Lands Deep Ocean Sandstone Brick Stair'),
|
||||
S('Cursed Lands Deep Ocean Sandstone Brick Slab'),
|
||||
Everness.node_sound_stone_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Cursed Lands Deep Ocean Sandstone Brick Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'crystal_forest_deep_ocean_sandstone_block',
|
||||
'everness:crystal_forest_deep_ocean_sandstone_block',
|
||||
{ pickaxey = 2 },
|
||||
{ 'everness_crystal_forest_deep_ocean_sandstone_block.png' },
|
||||
S('Crystal Forest Deep Ocean Sandstone Block Stair'),
|
||||
S('Crystal Forest Deep Ocean Sandstone Block Slab'),
|
||||
Everness.node_sound_stone_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Crystal Forest Deep Ocean Sandstone Block Slab'),
|
||||
nil
|
||||
)
|
||||
|
||||
mcl_stairs.register_stair_and_slab(
|
||||
'crystal_forest_deep_ocean_sandstone_brick',
|
||||
'everness:crystal_forest_deep_ocean_sandstone_brick',
|
||||
{ pickaxey = 2 },
|
||||
{ 'everness_crystal_forest_deep_ocean_sandstone_brick.png' },
|
||||
S('Crystal Forest Deep Ocean Sandstone Brick Stair'),
|
||||
S('Crystal Forest Deep Ocean Sandstone Brick Slab'),
|
||||
Everness.node_sound_stone_defaults(),
|
||||
6,
|
||||
2,
|
||||
S('Double Crystal Forest Deep Ocean Sandstone Brick Slab'),
|
||||
nil
|
||||
)
|
|
@ -0,0 +1,184 @@
|
|||
--[[
|
||||
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', 'mcl_core:water_source')
|
||||
minetest.register_alias('default:dirt_with_rainforest_litter', 'mcl_core:dirt_with_grass')
|
||||
minetest.register_alias('default:dirt_with_snow', 'mcl_core:dirt_with_grass_snow')
|
||||
minetest.register_alias('default:dirt_with_coniferous_litter', 'mcl_core:podzol')
|
||||
minetest.register_alias('default:dirt_with_grass', 'mcl_core:dirt_with_grass')
|
||||
minetest.register_alias('default:stick', 'mcl_core:stick')
|
||||
minetest.register_alias('default:paper', 'mcl_core:paper')
|
||||
minetest.register_alias('default:book', 'mcl_books:book')
|
||||
minetest.register_alias('default:skeleton_key', 'mcl_core:gold_nugget')
|
||||
minetest.register_alias('default:flint', 'mcl_core:flint')
|
||||
minetest.register_alias('default:obsidian_shard', 'mcl_core:prismarine_shard')
|
||||
minetest.register_alias('default:clay_brick', 'mcl_core:brick')
|
||||
minetest.register_alias('default:mese_crystal_fragment', 'mcl_amethyst:amethyst_shard')
|
||||
-- Ingots
|
||||
minetest.register_alias('default:gold_ingot', 'mcl_core:gold_ingot')
|
||||
minetest.register_alias('default:bronze_ingot', 'mcl_copper:copper_ingot')
|
||||
minetest.register_alias('default:tin_ingot', 'mcl_core:iron_ingot')
|
||||
minetest.register_alias('default:copper_ingot', 'mcl_copper:copper_ingot')
|
||||
minetest.register_alias('default:steel_ingot', 'mcl_core:iron_ingot')
|
||||
minetest.register_alias('default:coal_lump', 'mcl_core:coal_lump')
|
||||
-- Tools
|
||||
minetest.register_alias('default:pick_stone', 'mcl_tools:pick_stone')
|
||||
minetest.register_alias('default:pick_bronze', 'mcl_tools:pick_gold')
|
||||
minetest.register_alias('default:pick_steel', 'mcl_tools:pick_iron')
|
||||
minetest.register_alias('default:shovel_stone', 'mcl_tools:shovel_stone')
|
||||
minetest.register_alias('default:shovel_bronze', 'mcl_tools:shovel_gold')
|
||||
minetest.register_alias('default:shovel_steel', 'mcl_tools:shovel_iron')
|
||||
minetest.register_alias('default:axe_stone', 'mcl_tools:axe_stone')
|
||||
minetest.register_alias('default:axe_bronze', 'mcl_tools:axe_gold')
|
||||
minetest.register_alias('default:axe_steel', 'mcl_tools:axe_iron')
|
||||
minetest.register_alias('default:sword_stone', 'mcl_tools:sword_stone')
|
||||
minetest.register_alias('default:sword_bronze', 'mcl_tools:sword_gold')
|
||||
minetest.register_alias('default:sword_steel', 'mcl_tools:sword_iron')
|
||||
-- Items / Nodes
|
||||
minetest.register_alias('default:bookshelf', 'mcl_books:bookshelf')
|
||||
minetest.register_alias('default:sign_wall_wood', 'mcl_signs:wall_sign')
|
||||
minetest.register_alias('default:ladder_wood', 'mcl_core:ladder')
|
||||
minetest.register_alias('default:ladder_steel', 'mcl_core:ladder')
|
||||
minetest.register_alias('default:glass', 'mcl_core:glass')
|
||||
minetest.register_alias('default:obsidian_glass', 'mcl_core:glass')
|
||||
-- Trees
|
||||
minetest.register_alias('default:tree', 'mcl_core:tree')
|
||||
minetest.register_alias('default:jungletree', 'mcl_core:jungletree')
|
||||
minetest.register_alias('default:pine_tree', 'mcl_core:sprucetree')
|
||||
minetest.register_alias('default:cactus', 'mcl_core:cactus')
|
||||
minetest.register_alias('default:large_cactus_seedling', 'mcl_core:cactus')
|
||||
minetest.register_alias('default:papyrus', 'mcl_core:reeds')
|
||||
minetest.register_alias('default:junglegrass', 'mcl_flowers:double_grass')
|
||||
minetest.register_alias('default:blueberry_bush_sapling', 'mcl_flowers:rose_bush')
|
||||
minetest.register_alias('default:sapling', 'mcl_core:sapling')
|
||||
minetest.register_alias('default:junglesapling', 'mcl_core:junglesapling')
|
||||
minetest.register_alias('default:pine_sapling', 'mcl_core:sprucesapling')
|
||||
minetest.register_alias('default:acacia_sapling', 'mcl_core:acaciasapling')
|
||||
minetest.register_alias('default:aspen_sapling', 'mcl_core:birchsapling')
|
||||
|
||||
minetest.register_alias('default:clay_lump', 'mcl_core:clay_lump')
|
||||
minetest.register_alias('default:tin_lump', 'mcl_raw_ores:raw_gold')
|
||||
minetest.register_alias('default:copper_lump', 'mcl_copper:raw_copper')
|
||||
minetest.register_alias('default:iron_lump', 'mcl_raw_ores:raw_iron')
|
||||
minetest.register_alias('default:coalblock', 'mcl_core:coalblock')
|
||||
minetest.register_alias('default:steelblock', 'mcl_core:ironblock')
|
||||
minetest.register_alias('default:copperblock', 'mcl_copper:block')
|
||||
minetest.register_alias('default:tinblock', 'mcl_core:goldblock')
|
||||
minetest.register_alias('default:bronzeblock', 'mcl_copper:block')
|
||||
minetest.register_alias('default:mese', 'mesecons_torch:redstoneblock')
|
||||
minetest.register_alias('default:meselamp', 'mesecons_lightstone:lightstone_off')
|
||||
minetest.register_alias('default:obsidian', 'mcl_core:obsidian')
|
||||
minetest.register_alias('default:mese_crystal', 'mcl_ocean:prismarine_crystals')
|
||||
minetest.register_alias('default:diamond', 'mcl_core:diamond')
|
||||
minetest.register_alias('default:pick_mese', 'mcl_tools:pick_diamond')
|
||||
minetest.register_alias('default:shovel_mese', 'mcl_tools:shovel_diamond')
|
||||
minetest.register_alias('default:axe_mese', 'mcl_tools:axe_diamond')
|
||||
minetest.register_alias('default:sword_mese', 'mcl_tools:sword_diamond')
|
||||
|
||||
minetest.register_alias('default:snowblock', 'mcl_core:snowblock')
|
||||
minetest.register_alias('default:ice', 'mcl_core:ice')
|
||||
minetest.register_alias('default:torch', 'mcl_torches:torch')
|
||||
minetest.register_alias('default:cobble', 'mcl_core:cobble')
|
||||
minetest.register_alias('default:chest', 'mcl_chests:chest')
|
||||
minetest.register_alias('default:snow', 'mcl_core:snow')
|
||||
minetest.register_alias('default:stone', 'mcl_core:stone')
|
||||
minetest.register_alias('default:sand', 'mcl_core:sand')
|
||||
minetest.register_alias('default:gravel', 'mcl_core:gravel')
|
||||
minetest.register_alias('default:stone_with_coal', 'mcl_core:stone_with_coal')
|
||||
minetest.register_alias('default:stone_with_iron', 'mcl_core:stone_with_iron')
|
||||
minetest.register_alias('default:stone_with_tin', 'mcl_core:stone_with_copper')
|
||||
minetest.register_alias('default:stone_with_gold', 'mcl_core:stone_with_gold')
|
||||
minetest.register_alias('default:stone_with_mese', 'mcl_core:stone_with_redstone')
|
||||
minetest.register_alias('default:stone_with_diamond', 'mcl_core:stone_with_diamond')
|
||||
minetest.register_alias('default:lava_source', 'mcl_core:lava_source')
|
||||
minetest.register_alias('default:mossycobble', 'mcl_core:mossycobble')
|
||||
minetest.register_alias('default:clay', 'mcl_colorblocks:hardened_clay')
|
||||
minetest.register_alias('default:grass_1', 'mcl_flowers:tallgrass')
|
||||
minetest.register_alias('default:grass_2', 'mcl_flowers:tallgrass')
|
||||
minetest.register_alias('default:grass_3', 'mcl_flowers:tallgrass')
|
||||
minetest.register_alias('default:grass_4', 'mcl_flowers:tallgrass')
|
||||
minetest.register_alias('default:grass_5', 'mcl_flowers:tallgrass')
|
||||
minetest.register_alias('default:dry_dirt_with_dry_grass', 'mcl_core:dirt_with_grass')
|
||||
minetest.register_alias('default:dry_dirt', 'mcl_core:coarse_dirt')
|
||||
minetest.register_alias('default:coral_skeleton', 'mcl_core:bone_block')
|
||||
minetest.register_alias('default:lava_flowing', 'mcl_core:lava_flowing')
|
||||
minetest.register_alias('everness:cursed_brick_with_growth_wall', 'everness:cursedbrickwithgrowthwall')
|
||||
minetest.register_alias('stairs:slab_cursed_brick_with_growth', 'mcl_stairs:slab_cursed_brick_with_growth')
|
||||
minetest.register_alias('default:fence_wood', 'mcl_fences:fence')
|
||||
minetest.register_alias('default:torch_wall', 'mcl_torches:torch_wall')
|
||||
minetest.register_alias('default:wood', 'mcl_core:wood')
|
||||
minetest.register_alias('default:junglewood', 'mcl_core:junglewood')
|
||||
minetest.register_alias('default:pine_wood', 'mcl_core:sprucewood')
|
||||
minetest.register_alias('default:mese_post_light_pine_wood', 'mcl_torches:torch')
|
||||
minetest.register_alias_force('default:acacia_tree', 'mcl_core:acaciatree')
|
||||
minetest.register_alias('default:dry_grass_4', 'mcl_core:deadbush')
|
||||
minetest.register_alias('default:dry_grass_2', 'mcl_core:deadbush')
|
||||
minetest.register_alias('default:dry_shrub', 'mcl_core:deadbush')
|
||||
minetest.register_alias('default:stonebrick', 'mcl_core:stonebrick')
|
||||
minetest.register_alias('default:jungleleaves', 'mcl_core:jungleleaves')
|
||||
minetest.register_alias('default:torch_ceiling', 'mcl_torches:torch_wall')
|
||||
minetest.register_alias('default:goldblock', 'mcl_core: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('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('flowers:rose', 'mcl_flowers:wither_rose')
|
||||
minetest.register_alias('flowers:tulip', 'mcl_flowers:tulip_orange')
|
||||
minetest.register_alias('flowers:dandelion_yellow', 'mcl_flowers:dandelion')
|
||||
minetest.register_alias('flowers:geranium', 'mcl_flowers:allium')
|
||||
minetest.register_alias('flowers:viola', 'mcl_flowers:azure_bluet')
|
||||
minetest.register_alias('flowers:tulip_black', 'mcl_flowers:tulip_white')
|
||||
|
||||
minetest.register_alias('flowers:dandelion_white', 'mcl_flowers:tulip_pink')
|
||||
minetest.register_alias('flowers:chrysanthemum_green', 'mcl_flowers:tulip_white')
|
|
@ -1,47 +0,0 @@
|
|||
--[[
|
||||
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
|
||||
--]]
|
||||
|
||||
local S = minetest.get_translator(minetest.get_current_modname())
|
||||
|
||||
-- Dry Wood
|
||||
|
||||
mcl_fences.register_fence_and_fence_gate(
|
||||
'fence_dry_wood',
|
||||
S('Dry Wood Fence'),
|
||||
S('Dry Wood Fence Gate'),
|
||||
'everness_fence_dry_wood.png',
|
||||
{ handy = 1, axey = 1, flammable = 2, fence_wood = 1, fire_encouragement = 5, fire_flammability = 20 },
|
||||
2,
|
||||
15,
|
||||
{ 'group:fence_wood' },
|
||||
Everness.node_sound_wood_defaults()
|
||||
)
|
||||
|
||||
-- Bamboo Wood
|
||||
|
||||
mcl_fences.register_fence_and_fence_gate(
|
||||
'fence_bamboo_wood',
|
||||
S('Bamboo Wood Fence'),
|
||||
S('Bamboo Wood Fence Gate'),
|
||||
'everness_fence_bamboo_wood.png',
|
||||
{ handy = 1, axey = 1, flammable = 2, fence_wood = 1, fire_encouragement = 5, fire_flammability = 20 },
|
||||
2,
|
||||
15,
|
||||
{ 'group:fence_wood' },
|
||||
Everness.node_sound_wood_defaults()
|
||||
)
|
23
tools.lua
23
tools.lua
|
@ -32,6 +32,13 @@ minetest.register_tool('everness:vine_shears', {
|
|||
wool = { times = { [3] = 0.2 }, uses = 30, maxlevel = 3 }
|
||||
}
|
||||
},
|
||||
-- MCL
|
||||
_mcl_toollike_wield = true,
|
||||
_mcl_diggroups = {
|
||||
shearsy = { speed = 1.5, level = 1, uses = 238 },
|
||||
shearsy_wool = { speed = 5, level = 1, uses = 238 },
|
||||
shearsy_cobweb = { speed = 15, level = 1, uses = 238 }
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_tool('everness:pick_illuminating', {
|
||||
|
@ -123,7 +130,12 @@ minetest.register_tool('everness:pick_illuminating', {
|
|||
end
|
||||
|
||||
return itemstack
|
||||
end
|
||||
end,
|
||||
-- MCL
|
||||
_mcl_toollike_wield = true,
|
||||
_mcl_diggroups = {
|
||||
pickaxey = { speed = 8, level = 5, uses = 1562 }
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_tool('everness:shovel_silk', {
|
||||
|
@ -144,6 +156,11 @@ minetest.register_tool('everness:shovel_silk', {
|
|||
},
|
||||
-- no `shovel` group so it cannot be enchanted
|
||||
-- groups = { shovel = 1 }
|
||||
-- MCL
|
||||
_mcl_toollike_wield = true,
|
||||
_mcl_diggroups = {
|
||||
shovely = { speed = 8, level = 5, uses = 1562 }
|
||||
},
|
||||
})
|
||||
|
||||
local old_handle_node_drops = minetest.handle_node_drops
|
||||
|
@ -191,5 +208,7 @@ minetest.register_tool('everness:shell_of_underwater_breathing', {
|
|||
end,
|
||||
on_secondary_use = function(itemstack, user, pointed_thing)
|
||||
return Everness:use_shell_of_underwater_breathing(itemstack, user, pointed_thing)
|
||||
end
|
||||
end,
|
||||
-- MCL
|
||||
_mcl_toollike_wield = true,
|
||||
})
|
||||
|
|
Ŝarĝante…
Reference in New Issue