Add coral desert stone block and brick. Add coral dirt farming soil.

This commit is contained in:
Juraj Vajda 2023-02-20 15:21:52 -05:00
parent 24d66f452b
commit 7f139f3562
10 changed files with 113 additions and 3 deletions

View File

@ -795,6 +795,11 @@ GNU Lesser General Public License v2.1 or later (see included LICENSE file)
- everness_coral_sandstone_chiseled.png - everness_coral_sandstone_chiseled.png
- everness_coral_sandstone_carved_1.png - everness_coral_sandstone_carved_1.png
- everness_coral_sandstone_brick.png - everness_coral_sandstone_brick.png
- everness_coral_desert_stone_block.png
- everness_coral_desert_stone_brick.png
- everness_farming_soil_overlay.png -- Derived from texture by PilzAdam (CC BY 3.0)
- everness_farming_soil_wet_overlay.png -- Derived from texture by PilzAdam (CC BY 3.0)
- everness_farming_soil_wet_side_overlay.png -- Derived from texture by PilzAdam (CC BY 3.0)
**CC-BY-SA-4.0, Pixel Perfection by XSSheep**, https://minecraft.curseforge.com/projects/pixel-perfection-freshly-updated **CC-BY-SA-4.0, Pixel Perfection by XSSheep**, https://minecraft.curseforge.com/projects/pixel-perfection-freshly-updated

View File

@ -318,6 +318,23 @@ minetest.register_craft({
} }
}) })
minetest.register_craft({
output = 'everness:coral_desert_stone_brick 4',
recipe = {
{ 'everness:coral_desert_stone', 'everness:coral_desert_stone' },
{ 'everness:coral_desert_stone', 'everness:coral_desert_stone' },
}
})
minetest.register_craft({
output = 'everness:coral_desert_stone_block 9',
recipe = {
{ 'everness:coral_desert_stone', 'everness:coral_desert_stone', 'everness:coral_desert_stone' },
{ 'everness:coral_desert_stone', 'everness:coral_desert_stone', 'everness:coral_desert_stone' },
{ 'everness:coral_desert_stone', 'everness:coral_desert_stone', 'everness:coral_desert_stone' },
}
})
-- --
-- Tools -- Tools
-- --
@ -343,9 +360,9 @@ minetest.register_craft({
minetest.register_craft({ minetest.register_craft({
output = 'everness:shovel_silk', output = 'everness:shovel_silk',
recipe = { recipe = {
{ 'everness:crystal_purple', 'everness:ancient_emerald_ice', 'everness:crystal_purple' }, { 'everness:ancient_emerald_ice' },
{ '', 'everness:glowing_pillar', '' }, { 'everness:glowing_pillar' },
{ '', 'group:stick', '' } { 'everness:crystal_purple' }
} }
}) })

View File

@ -23,6 +23,7 @@ local mod_start_time = minetest.get_us_time()
dofile(path .. '/api.lua') dofile(path .. '/api.lua')
dofile(path .. '/nodes.lua') dofile(path .. '/nodes.lua')
dofile(path .. '/nodes_farming.lua')
dofile(path .. '/bamboo.lua') dofile(path .. '/bamboo.lua')
dofile(path .. '/functions.lua') dofile(path .. '/functions.lua')
dofile(path .. '/trees.lua') dofile(path .. '/trees.lua')

View File

@ -213,6 +213,24 @@ minetest.register_node('everness:coral_white_sandstone_pillar', {
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
}) })
minetest.register_node('everness:coral_desert_stone_block', {
description = S('Coral Desert Stone Block'),
tiles = { 'everness_coral_desert_stone_block.png' },
is_ground_content = false,
groups = { cracky = 2, stone = 1 },
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node('everness:coral_desert_stone_brick', {
description = S('Coral Desert Stone Brick'),
paramtype2 = 'facedir',
place_param2 = 0,
tiles = { 'everness_coral_desert_stone_brick.png' },
is_ground_content = false,
groups = { cracky = 2, stone = 1 },
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node('everness:coral_bones', { minetest.register_node('everness:coral_bones', {
description = S('Coral Bones'), description = S('Coral Bones'),
tiles = { 'everness_coral_bones.png' }, tiles = { 'everness_coral_bones.png' },

69
nodes_farming.lua Normal file
View File

@ -0,0 +1,69 @@
--[[
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.override_item('everness:coral_dirt', {
soil = {
base = 'everness:coral_dirt',
dry = 'everness:coral_dirt_soil',
wet = 'everness:coral_dirt_soil_wet'
}
})
minetest.override_item('everness:dirt_with_coral_grass', {
soil = {
base = 'everness:dirt_with_coral_grass',
dry = 'everness:coral_dirt_soil',
wet = 'everness:coral_dirt_soil_wet'
}
})
-- normal soil
minetest.register_node('everness:coral_dirt_soil', {
description = S('Coral Dirt Soil'),
tiles = {
'everness_coral_dirt.png^(everness_coral_dirt.png^[mask:everness_farming_soil_overlay.png^[multiply:#A05F3A80)',
'everness_coral_dirt.png'
},
drop = 'everness:coral_dirt',
groups = { crumbly = 3, not_in_creative_inventory = 1, soil = 2, grassland = 1, field = 1 },
sounds = default.node_sound_dirt_defaults(),
soil = {
base = 'everness:coral_dirt',
dry = 'everness:coral_dirt_soil',
wet = 'everness:coral_dirt_soil_wet'
}
})
-- wet soil
minetest.register_node('everness:coral_dirt_soil_wet', {
description = S('Coral Dirt Wet Soil'),
tiles = {
'everness_coral_dirt.png^(everness_coral_dirt.png^[mask:everness_farming_soil_wet_overlay.png^[multiply:#A05F3A80)',
'everness_coral_dirt.png^(everness_coral_dirt.png^[mask:everness_farming_soil_wet_side_overlay.png^[multiply:#A05F3A80)',
},
drop = 'everness:coral_dirt',
groups = { crumbly = 3, not_in_creative_inventory = 1, soil = 3, wet = 1, grassland = 1, field = 1 },
sounds = default.node_sound_dirt_defaults(),
soil = {
base = 'everness:coral_dirt',
dry = 'everness:coral_dirt_soil',
wet = 'everness:coral_dirt_soil_wet'
}
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 257 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 265 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 408 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 371 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 B