7c0c7a7cc2
Add mineral waters * Add mineral waters and bamboo biome fixes * Add mineral waters and bamboo biome fixes * Add mineral waters * Add mineral waters * Add mineral waters * Add mineral waters * Mineral Waters support for x_obsidianmese paths
78 lines
2.0 KiB
Lua
78 lines
2.0 KiB
Lua
--[[
|
|
Everness. Never ending discovery in Everness mapgen.
|
|
Copyright (C) 2024 SaKeL
|
|
|
|
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.
|
|
|
|
--]]
|
|
|
|
local S = minetest.get_translator(minetest.get_current_modname())
|
|
|
|
--
|
|
-- Craftitem registry
|
|
--
|
|
|
|
-- Quartz Crystal
|
|
minetest.register_craftitem('everness:quartz_crystal', {
|
|
description = S('Quartz Crystal'),
|
|
inventory_image = 'everness_quartz.png',
|
|
})
|
|
|
|
minetest.register_craftitem('everness:bamboo_item', {
|
|
description = S('Bamboo'),
|
|
inventory_image = 'everness_bamboo_item.png',
|
|
})
|
|
|
|
minetest.register_craftitem('everness:baobab_fruit_roasted', {
|
|
description = S('Baobab Roasted Fruit'),
|
|
inventory_image = 'everness_baobab_tree_fruit_roasted.png',
|
|
on_use = minetest.item_eat(4),
|
|
})
|
|
|
|
minetest.register_craftitem('everness:pyrite_ingot', {
|
|
description = S('Pyrite Ingot'),
|
|
inventory_image = 'everness_pyrite_ingot.png'
|
|
})
|
|
|
|
minetest.register_craftitem('everness:pyrite_lump', {
|
|
description = S('Pyrite Lump'),
|
|
inventory_image = 'everness_pyrite_lump.png'
|
|
})
|
|
|
|
minetest.register_craftitem('everness:coconut_fruit', {
|
|
description = S('Coconut'),
|
|
inventory_image = 'everness_coconut_item.png',
|
|
wield_scale = { x = 2, y = 2, z = 1 },
|
|
on_use = minetest.item_eat(4),
|
|
})
|
|
|
|
--
|
|
-- Crafting recipes
|
|
--
|
|
|
|
minetest.register_craft({
|
|
output = 'everness:pyrite_ingot 9',
|
|
recipe = {
|
|
{ 'everness:pyriteblock' },
|
|
}
|
|
})
|
|
|
|
--
|
|
-- Cooking recipes
|
|
--
|
|
|
|
minetest.register_craft({
|
|
type = 'cooking',
|
|
output = 'everness:pyrite_ingot',
|
|
recipe = 'everness:pyrite_lump',
|
|
})
|
|
|