added gravel beaches and clams
This commit is contained in:
parent
255fc49840
commit
17cfb7ed37
@ -71,11 +71,18 @@ minetest.register_craftitem(
|
||||
minetest.register_craftitem(
|
||||
"default:lump_sugar",
|
||||
{
|
||||
description = "Sugar lump",
|
||||
description = "Sugar Lump",
|
||||
inventory_image = "default_lump_sugar.png",
|
||||
on_use = minetest.item_eat({hp = 1, sat = 10})
|
||||
})
|
||||
|
||||
minetest.register_craftitem(
|
||||
"default:pearl",
|
||||
{
|
||||
description = "Pearl",
|
||||
inventory_image = "default_pearl.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem(
|
||||
"default:flint",
|
||||
{
|
||||
|
@ -205,6 +205,23 @@ minetest.register_biome(
|
||||
humidity_point = 35,
|
||||
})
|
||||
|
||||
minetest.register_biome(
|
||||
{
|
||||
name = "Gravel Beach",
|
||||
|
||||
node_top = "default:gravel",
|
||||
node_filler = "default:sand",
|
||||
|
||||
depth_filler = 2,
|
||||
depth_top = 1,
|
||||
|
||||
y_min = -5,
|
||||
y_max = 1,
|
||||
|
||||
heat_point = 59,
|
||||
humidity_point = 31,
|
||||
})
|
||||
|
||||
minetest.register_biome(
|
||||
{
|
||||
name = "Savanna Ocean",
|
||||
@ -468,7 +485,7 @@ minetest.register_decoration(
|
||||
minetest.register_decoration(
|
||||
{
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:sandstone"},
|
||||
place_on = {"default:dry_dirt"},
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.006,
|
||||
biomes = {"Wasteland"},
|
||||
@ -482,7 +499,7 @@ minetest.register_decoration(
|
||||
minetest.register_decoration(
|
||||
{
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:sandstone"},
|
||||
place_on = {"default:dry_dirt"},
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.004,
|
||||
biomes = {"Wasteland"},
|
||||
@ -493,6 +510,21 @@ minetest.register_decoration(
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
-- Clams
|
||||
|
||||
minetest.register_decoration(
|
||||
{
|
||||
deco_type = "simple",
|
||||
place_on = {"default:sand", "default:gravel"},
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.04,
|
||||
biomes = {"Grassland Ocean", "Gravel Beach"},
|
||||
decoration = {"default:clam"},
|
||||
y_min = -32000,
|
||||
y_max = 1,
|
||||
})
|
||||
|
||||
|
||||
--
|
||||
-- Ore generation
|
||||
--
|
||||
|
@ -1283,18 +1283,40 @@ minetest.register_node(
|
||||
{-1/8, 0.25, -1/8, 1/8, 0.5, 1/8},
|
||||
},
|
||||
},
|
||||
selection_box = {
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
groups = {fleshy = 3, dig_immediate = 2, leafdecay = 3, leafdecay_drop = 1, attached_node = 1},
|
||||
on_use = minetest.item_eat({hp = 2, sat = 10}),
|
||||
sounds = default.node_sound_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node(
|
||||
"default:clam",
|
||||
{
|
||||
description = "Clam",
|
||||
drawtype = "nodebox",
|
||||
tiles ={"default_clam.png"},
|
||||
inventory_image = "default_clam_inventory.png",
|
||||
wield_image = "default_clam_inventory.png",
|
||||
paramtype = "light",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.25, -0.25, -0.25, 0.25, 0.25, 0.25},
|
||||
{-1/8, 0.25, -1/8, 1/8, 0.5, 1/8},
|
||||
{-3/16, -0.5, -3/16, 3/16, -6/16, 3/16},
|
||||
},
|
||||
},
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
attached_node = true,
|
||||
groups = {fleshy = 3, dig_immediate = 2, leafdecay = 3, leafdecay_drop = 1},
|
||||
on_use = minetest.item_eat({hp = 2, sat = 10}),
|
||||
drop = {
|
||||
max_items = 3,
|
||||
items = {
|
||||
{items = {"default:clam"}, rarity = 1},
|
||||
{items = {"default:pearl"}, rarity = 60},
|
||||
{items = {"default:pearl"}, rarity = 20},
|
||||
}
|
||||
},
|
||||
groups = {fleshy = 3, oddly_breakable_by_hand = 2, choppy = 3, attached_node = 1},
|
||||
on_use = minetest.item_eat({hp = 4, sat = 40}),
|
||||
sounds = default.node_sound_defaults(),
|
||||
})
|
||||
|
||||
|
BIN
mods/default/textures/default_clam.png
Normal file
BIN
mods/default/textures/default_clam.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 432 B |
BIN
mods/default/textures/default_clam.xcf
Normal file
BIN
mods/default/textures/default_clam.xcf
Normal file
Binary file not shown.
BIN
mods/default/textures/default_clam_inventory.png
Normal file
BIN
mods/default/textures/default_clam_inventory.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 471 B |
BIN
mods/default/textures/default_clam_inventory.xcf
Normal file
BIN
mods/default/textures/default_clam_inventory.xcf
Normal file
Binary file not shown.
BIN
mods/default/textures/default_pearl.png
Normal file
BIN
mods/default/textures/default_pearl.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 411 B |
BIN
mods/default/textures/default_pearl.xcf
Normal file
BIN
mods/default/textures/default_pearl.xcf
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user