2023-02-01 22:44:42 -06:00
|
|
|
--[[
|
|
|
|
Everness. Never ending discovery in Everness mapgen.
|
2024-01-03 13:50:17 -06:00
|
|
|
Copyright (C) 2024 SaKeL
|
2023-02-01 22:44:42 -06:00
|
|
|
|
|
|
|
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())
|
|
|
|
|
|
|
|
-- Dry Wood
|
|
|
|
|
|
|
|
default.register_fence('everness:fence_dry_wood', {
|
|
|
|
description = S('Dry Wood Fence'),
|
|
|
|
texture = 'everness_fence_dry_wood.png',
|
|
|
|
inventory_image = 'default_fence_overlay.png^everness_dry_wood.png^' ..
|
2023-03-24 21:36:07 -05:00
|
|
|
'default_fence_overlay.png^[makealpha:255,126,126',
|
2023-02-01 22:44:42 -06:00
|
|
|
wield_image = 'default_fence_overlay.png^everness_dry_wood.png^' ..
|
2023-03-24 21:36:07 -05:00
|
|
|
'default_fence_overlay.png^[makealpha:255,126,126',
|
2023-02-01 22:44:42 -06:00
|
|
|
material = 'everness:dry_wood',
|
|
|
|
groups = { choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 },
|
2023-03-24 21:36:07 -05:00
|
|
|
sounds = Everness.node_sound_wood_defaults()
|
2023-02-01 22:44:42 -06:00
|
|
|
})
|
|
|
|
|
|
|
|
default.register_fence_rail('everness:fence_rail_dry_wood', {
|
|
|
|
description = S('Dry Wood Fence Rail'),
|
|
|
|
texture = 'everness_fence_rail_dry_wood.png',
|
|
|
|
inventory_image = 'default_fence_rail_overlay.png^everness_dry_wood.png^' ..
|
2023-03-24 21:36:07 -05:00
|
|
|
'default_fence_rail_overlay.png^[makealpha:255,126,126',
|
2023-02-01 22:44:42 -06:00
|
|
|
wield_image = 'default_fence_rail_overlay.png^everness_dry_wood.png^' ..
|
2023-03-24 21:36:07 -05:00
|
|
|
'default_fence_rail_overlay.png^[makealpha:255,126,126',
|
2023-02-01 22:44:42 -06:00
|
|
|
material = 'everness:dry_wood',
|
|
|
|
groups = { choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 },
|
2023-03-24 21:36:07 -05:00
|
|
|
sounds = Everness.node_sound_wood_defaults()
|
2023-02-01 22:44:42 -06:00
|
|
|
})
|
|
|
|
|
|
|
|
default.register_mesepost('everness:mese_post_light_dry_wood', {
|
|
|
|
description = S('Dry Wood Mese Post Light'),
|
|
|
|
texture = 'everness_fence_dry_wood.png',
|
|
|
|
material = 'everness:dry_wood',
|
|
|
|
})
|
|
|
|
|
|
|
|
-- Bamboo Wood
|
|
|
|
|
|
|
|
default.register_fence('everness:fence_bamboo_wood', {
|
|
|
|
description = S('Bamboo Wood Fence'),
|
|
|
|
texture = 'everness_fence_bamboo_wood.png',
|
|
|
|
inventory_image = 'default_fence_overlay.png^everness_dry_bamboo_block_side.png^' ..
|
2023-03-24 21:36:07 -05:00
|
|
|
'default_fence_overlay.png^[makealpha:255,126,126',
|
2023-02-01 22:44:42 -06:00
|
|
|
wield_image = 'default_fence_overlay.png^everness_dry_bamboo_block_side.png^' ..
|
2023-03-24 21:36:07 -05:00
|
|
|
'default_fence_overlay.png^[makealpha:255,126,126',
|
2023-02-01 22:44:42 -06:00
|
|
|
material = 'everness:bamboo_wood',
|
|
|
|
groups = { choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 },
|
2023-03-24 21:36:07 -05:00
|
|
|
sounds = Everness.node_sound_wood_defaults()
|
2023-02-01 22:44:42 -06:00
|
|
|
})
|
|
|
|
|
|
|
|
default.register_fence_rail('everness:fence_rail_bamboo_wood', {
|
|
|
|
description = S('Bamboo Wood Fence Rail'),
|
|
|
|
texture = 'everness_fence_rail_bamboo_wood.png^[transformR90',
|
|
|
|
inventory_image = 'default_fence_rail_overlay.png^everness_dry_bamboo_block_side.png^' ..
|
2023-03-24 21:36:07 -05:00
|
|
|
'default_fence_rail_overlay.png^[makealpha:255,126,126',
|
2023-02-01 22:44:42 -06:00
|
|
|
wield_image = 'default_fence_rail_overlay.png^everness_dry_bamboo_block_side.png^' ..
|
2023-03-24 21:36:07 -05:00
|
|
|
'default_fence_rail_overlay.png^[makealpha:255,126,126',
|
2023-02-01 22:44:42 -06:00
|
|
|
material = 'everness:bamboo_wood',
|
|
|
|
groups = { choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 },
|
2023-03-24 21:36:07 -05:00
|
|
|
sounds = Everness.node_sound_wood_defaults()
|
2023-02-01 22:44:42 -06:00
|
|
|
})
|
|
|
|
|
|
|
|
default.register_mesepost('everness:mese_post_light_bamboo_wood', {
|
|
|
|
description = S('Bamboo Wood Mese Post Light'),
|
|
|
|
texture = 'everness_fence_bamboo_wood.png^[transformFY',
|
|
|
|
material = 'everness:bamboo_wood',
|
|
|
|
})
|
2023-03-29 16:29:03 -05:00
|
|
|
|
|
|
|
-- Crystal Wood
|
|
|
|
|
|
|
|
default.register_fence('everness:fence_crystal_wood', {
|
|
|
|
description = S('Crystal Wood Fence'),
|
|
|
|
texture = 'everness_fence_crystal_wood.png',
|
|
|
|
inventory_image = 'default_fence_overlay.png^everness_crystal_wood.png^' ..
|
|
|
|
'default_fence_overlay.png^[makealpha:255,126,126',
|
|
|
|
wield_image = 'default_fence_overlay.png^everness_crystal_wood.png^' ..
|
|
|
|
'default_fence_overlay.png^[makealpha:255,126,126',
|
|
|
|
material = 'everness:crystal_wood',
|
|
|
|
groups = { choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 },
|
2023-03-29 19:46:29 -05:00
|
|
|
sounds = Everness.node_sound_wood_defaults()
|
2023-03-29 16:29:03 -05:00
|
|
|
})
|
|
|
|
|
|
|
|
default.register_fence_rail('everness:fence_rail_crystal_wood', {
|
|
|
|
description = S('Crystal Wood Fence Rail'),
|
|
|
|
texture = 'everness_fence_rail_crystal_wood.png^[transformR90',
|
|
|
|
inventory_image = 'default_fence_rail_overlay.png^everness_crystal_wood.png^' ..
|
|
|
|
'default_fence_rail_overlay.png^[makealpha:255,126,126',
|
|
|
|
wield_image = 'default_fence_rail_overlay.png^everness_crystal_wood.png^' ..
|
|
|
|
'default_fence_rail_overlay.png^[makealpha:255,126,126',
|
|
|
|
material = 'everness:crystal_wood',
|
|
|
|
groups = { choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 },
|
2023-03-29 19:46:29 -05:00
|
|
|
sounds = Everness.node_sound_wood_defaults()
|
2023-03-29 16:29:03 -05:00
|
|
|
})
|
|
|
|
|
|
|
|
default.register_mesepost('everness:mese_post_light_bamboo_wood', {
|
|
|
|
description = S('Crystal Wood Mese Post Light'),
|
|
|
|
texture = 'everness_fence_crystal_wood.png^[transformFY',
|
|
|
|
material = 'everness:crystal_wood',
|
|
|
|
})
|
2024-01-22 13:48:57 -06:00
|
|
|
|
|
|
|
-- Palm Wood
|
|
|
|
|
|
|
|
default.register_fence('everness:fence_palm_wood', {
|
|
|
|
description = S('Palm Wood Fence'),
|
|
|
|
texture = 'everness_fence_palm_wood.png',
|
|
|
|
inventory_image = 'default_fence_overlay.png^everness_palm_tree_wood.png^' ..
|
|
|
|
'default_fence_overlay.png^[makealpha:255,126,126',
|
|
|
|
wield_image = 'default_fence_overlay.png^everness_palm_tree_wood.png^' ..
|
|
|
|
'default_fence_overlay.png^[makealpha:255,126,126',
|
|
|
|
material = 'everness:palm_tree_wood',
|
|
|
|
groups = { choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 },
|
|
|
|
sounds = Everness.node_sound_wood_defaults()
|
|
|
|
})
|
|
|
|
|
|
|
|
default.register_fence_rail('everness:fence_rail_palm_wood', {
|
|
|
|
description = S('Palm Wood Fence Rail'),
|
|
|
|
texture = 'everness_fence_rail_palm_wood.png^[transformR90',
|
|
|
|
inventory_image = 'default_fence_rail_overlay.png^everness_palm_tree_wood.png^' ..
|
|
|
|
'default_fence_rail_overlay.png^[makealpha:255,126,126',
|
|
|
|
wield_image = 'default_fence_rail_overlay.png^everness_palm_tree_wood.png^' ..
|
|
|
|
'default_fence_rail_overlay.png^[makealpha:255,126,126',
|
|
|
|
material = 'everness:palm_tree_wood',
|
|
|
|
groups = { choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 },
|
|
|
|
sounds = Everness.node_sound_wood_defaults()
|
|
|
|
})
|
|
|
|
|
|
|
|
default.register_mesepost('everness:mese_post_light_bamboo_wood', {
|
|
|
|
description = S('Palm Wood Mese Post Light'),
|
|
|
|
texture = 'everness_fence_palm_wood.png^[transformFY',
|
|
|
|
material = 'everness:palm_tree_wood',
|
|
|
|
})
|