Change stack size to 69

This commit is contained in:
Lizzy Fleckenstein 2022-01-27 16:42:37 +01:00
parent a5c6a0d4d0
commit 98f525b30f
Signed by untrusted user: LizzyFleckenstein03
GPG Key ID: 06927A5199D6C9B2
49 changed files with 213 additions and 213 deletions

View File

@ -172,8 +172,8 @@ mcl_vars.mg_realm_barrier_overworld_end_min = mcl_vars.mg_end_max - 11
mcl_vars.mg_dungeons = true
-- Set default stack sizes
minetest.nodedef_default.stack_max = 64
minetest.craftitemdef_default.stack_max = 64
minetest.nodedef_default.stack_max = 69
minetest.craftitemdef_default.stack_max = 69
-- Set random seed for all other mods (Remember to make sure no other mod calls this function)
math.randomseed(os.time())

View File

@ -18,7 +18,7 @@ local function register_rail(itemstring, tiles, def_extras, creative)
type = "fixed",
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
},
stack_max = 64,
stack_max = 69,
groups = groups,
sounds = mcl_sounds.node_sound_metal_defaults(),
_mcl_blast_resistance = 3.5,

View File

@ -9,7 +9,7 @@ minetest.register_craftitem("mcl_mobs:nametag", {
_doc_items_usagehelp = S("Before you use the name tag, you need to set a name at an anvil. Then you can use the name tag to name a mob. This uses up the name tag."),
inventory_image = "mobs_nametag.png",
wield_image = "mobs_nametag.png",
stack_max = 64,
stack_max = 69,
groups = { tool=1 },
})

View File

@ -52,7 +52,7 @@ mobs:register_mob("mobs_mc:guardian_elder", {
{name = mobs_mc.items.prismarine_shard,
chance = 1,
min = 1,
max = 64,
max = 69,
looting = "common",},
-- TODO: Only drop if killed by player

View File

@ -156,23 +156,23 @@ local professions = {
{ { "mcl_books:book", 8, 10 }, E1 },
{ { "mcl_core:emerald", 10, 12 }, { "mcl_compass:compass", 1 ,1 }},
{ { "mcl_core:emerald", 3, 4 }, { "mcl_books:bookshelf", 1 ,1 }},
{ { "mcl_core:emerald", 5, 64 }, { "mcl_enchanting:book_enchanted", 1 ,1 }},
{ { "mcl_core:emerald", 5, 69 }, { "mcl_enchanting:book_enchanted", 1 ,1 }},
},
{
{ { "mcl_books:written_book", 2, 2 }, E1 },
{ { "mcl_core:emerald", 10, 12 }, { "mcl_clock:clock", 1, 1 } },
{ E1, { "mcl_core:glass", 3, 5 } },
{ { "mcl_core:emerald", 5, 64 }, { "mcl_enchanting:book_enchanted", 1 ,1 }},
{ { "mcl_core:emerald", 5, 69 }, { "mcl_enchanting:book_enchanted", 1 ,1 }},
},
{
{ E1, { "mcl_core:glass", 3, 5 } },
{ { "mcl_core:emerald", 5, 64 }, { "mcl_enchanting:book_enchanted", 1 ,1 }},
{ { "mcl_core:emerald", 5, 69 }, { "mcl_enchanting:book_enchanted", 1 ,1 }},
},
{
{ { "mcl_core:emerald", 5, 64 }, { "mcl_enchanting:book_enchanted", 1 ,1 }},
{ { "mcl_core:emerald", 5, 69 }, { "mcl_enchanting:book_enchanted", 1 ,1 }},
},
{

View File

@ -48,7 +48,7 @@ minetest.register_craftitem("mcl_experience:bottle", {
description = "Bottle o' Enchanting",
inventory_image = "mcl_experience_bottle.png",
wield_image = "mcl_experience_bottle.png",
stack_max = 64,
stack_max = 69,
on_use = function(itemstack, placer, pointed_thing)
throw_xp_bottle(vector.add(placer:get_pos(), vector.new(0, 1.5, 0)), placer:get_look_dir(), 10)
if not minetest.is_creative_enabled(placer:get_player_name()) then

View File

@ -300,7 +300,7 @@ end
minetest.register_on_joinplayer(function (player)
if get_stack_size(player) == 0 then
set_stack_size(player, 64)
set_stack_size(player, 69)
end
end)
@ -567,7 +567,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
elseif fields.__switch_stack then
local switch = 1
if get_stack_size(player) == 1 then
switch = 64
switch = 69
end
set_stack_size(player, switch)
end
@ -695,7 +695,7 @@ minetest.register_on_joinplayer(function(player)
end)
minetest.register_on_player_inventory_action(function(player, action, inventory, inventory_info)
if minetest.is_creative_enabled(player:get_player_name()) and get_stack_size(player) == 64 and action == "put" and inventory_info.listname == "main" then
if minetest.is_creative_enabled(player:get_player_name()) and get_stack_size(player) == 69 and action == "put" and inventory_info.listname == "main" then
local stack = inventory_info.stack
stack:set_count(stack:get_stack_max())
player:get_inventory():set_stack("main", inventory_info.index, stack)

View File

@ -207,7 +207,7 @@ minetest.register_node("mesecons_torch:redstoneblock", {
_tt_help = S("Provides redstone power"),
_doc_items_longdesc = S("A block of redstone permanently supplies redstone power to its surrounding blocks."),
tiles = {"redstone_redstone_block.png"},
stack_max = 64,
stack_max = 69,
groups = {pickaxey=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
is_ground_content = false,

View File

@ -14,7 +14,7 @@ minetest.register_craftitem("mcl_books:book", {
description = S("Book"),
_doc_items_longdesc = S("Books are used to make bookshelves and book and quills."),
inventory_image = "default_book.png",
stack_max = 64,
stack_max = 69,
groups = { book=1, craftitem = 1, enchantability = 1 },
_mcl_enchanting_enchanted_tool = "mcl_enchanting:book_enchanted",
})
@ -336,7 +336,7 @@ minetest.register_node("mcl_books:bookshelf", {
description = S("Bookshelf"),
_doc_items_longdesc = S("Bookshelves are used for decoration."),
tiles = {"mcl_books_bookshelf_top.png", "mcl_books_bookshelf_top.png", "default_bookshelf.png"},
stack_max = 64,
stack_max = 69,
is_ground_content = false,
groups = {handy=1,axey=1, flammable=3,building_block=1, material_wood=1, fire_encouragement=30, fire_flammability=20},
drop = "mcl_books:book 3",

View File

@ -348,7 +348,7 @@ local function register_chest(basename, desc, longdesc, usagehelp, tt_help, tile
use_texture_alpha = minetest.features.use_texture_alpha_string_modes and "opaque" or false,
paramtype = "light",
paramtype2 = "facedir",
stack_max = 64,
stack_max = 69,
sounds = mcl_sounds.node_sound_wood_defaults(),
groups = {deco_block=1},
on_construct = function(pos, node)
@ -389,7 +389,7 @@ local function register_chest(basename, desc, longdesc, usagehelp, tt_help, tile
_chest_entity_animation_type = "chest",
paramtype = "light",
paramtype2 = "facedir",
stack_max = 64,
stack_max = 69,
drop = drop,
groups = {handy=1,axey=1, container=2, deco_block=1, material_wood=1,flammable=-1,chest_entity=1, not_in_creative_inventory=1},
is_ground_content = false,
@ -977,7 +977,7 @@ minetest.register_node("mcl_chests:ender_chest", {
use_texture_alpha = minetest.features.use_texture_alpha_string_modes and "opaque" or false,
paramtype = "light",
paramtype2 = "facedir",
stack_max = 64,
stack_max = 69,
groups = {deco_block=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
on_construct = function(pos, node)

View File

@ -68,7 +68,7 @@ function mcl_clock.register_item(name, image, creative, frame)
inventory_image = image,
groups = {not_in_creative_inventory=g, tool=1, clock=frame, disable_repair=1},
wield_image = "",
stack_max = 64,
stack_max = 69,
})
end

View File

@ -33,7 +33,7 @@ minetest.register_node("mcl_colorblocks:hardened_clay", {
description = S("Terracotta"),
_doc_items_longdesc = S("Terracotta is a basic building material which comes in many different colors. This particular block is uncolored."),
tiles = {"hardened_clay.png"},
stack_max = 64,
stack_max = 69,
groups = {pickaxey=1, hardened_clay=1,building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 4.2,
@ -84,7 +84,7 @@ for _, row in ipairs(block.dyes) do
_doc_items_entry_name = ename_hc,
tiles = {"hardened_clay_stained_"..name..".png"},
groups = {pickaxey=1, hardened_clay=1,building_block=1, material_stone=1},
stack_max = 64,
stack_max = 69,
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 4.2,
_mcl_hardness = 1.25,
@ -98,7 +98,7 @@ for _, row in ipairs(block.dyes) do
_doc_items_entry_name = ename_cp,
tiles = {"mcl_colorblocks_concrete_powder_"..name..".png"},
groups = {handy=1,shovely=1, concrete_powder=1,building_block=1,falling_node=1, material_sand=1, float=1},
stack_max = 64,
stack_max = 69,
is_ground_content = false,
sounds = mcl_sounds.node_sound_sand_defaults(),
on_place = function(itemstack, placer, pointed_thing)
@ -138,7 +138,7 @@ for _, row in ipairs(block.dyes) do
_doc_items_entry_name = ename_c,
tiles = {"mcl_colorblocks_concrete_"..name..".png"},
groups = {handy=1,pickaxey=1, concrete=1,building_block=1, material_stone=1},
stack_max = 64,
stack_max = 69,
is_ground_content = false,
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 1.8,
@ -155,7 +155,7 @@ for _, row in ipairs(block.dyes) do
tiles = texes,
groups = {handy=1,pickaxey=1, glazed_terracotta=1,building_block=1, material_stone=1},
paramtype2 = "facedir",
stack_max = 64,
stack_max = 69,
is_ground_content = false,
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 4.2,

View File

@ -97,7 +97,7 @@ for i,img in ipairs(images) do
--_doc_items_usagehelp = usagehelp,
inventory_image = img,
wield_image = img,
stack_max = 64,
stack_max = 69,
groups = {not_in_creative_inventory=inv, compass=i, tool=1, disable_repair=1 }
})

View File

@ -11,7 +11,7 @@ minetest.register_craftitem("mcl_core:stick", {
_doc_items_longdesc = S("Sticks are a very versatile crafting material; used in countless crafting recipes."),
_doc_items_hidden = false,
inventory_image = "default_stick.png",
stack_max = 64,
stack_max = 69,
groups = { craftitem=1, stick=1 },
_mcl_toollike_wield = true,
})
@ -20,7 +20,7 @@ minetest.register_craftitem("mcl_core:paper", {
description = S("Paper"),
_doc_items_longdesc = S("Paper is used to craft books and maps."),
inventory_image = "default_paper.png",
stack_max = 64,
stack_max = 69,
groups = { craftitem=1 },
})
@ -29,7 +29,7 @@ minetest.register_craftitem("mcl_core:coal_lump", {
_doc_items_longdesc = S("“Coal” refers to coal lumps obtained by digging coal ore which can be found underground. Coal is your standard furnace fuel, but it can also be used to make torches, coal blocks and a few other things."),
_doc_items_hidden = false,
inventory_image = "default_coal_lump.png",
stack_max = 64,
stack_max = 69,
groups = { craftitem=1, coal=1 },
})
@ -38,7 +38,7 @@ minetest.register_craftitem("mcl_core:charcoal_lump", {
_doc_items_longdesc = S("Charcoal is an alternative furnace fuel created by cooking wood in a furnace. It has the same burning time as coal and also shares many of its crafting recipes, but it can not be used to create coal blocks."),
_doc_items_hidden = false,
inventory_image = "mcl_core_charcoal.png",
stack_max = 64,
stack_max = 69,
groups = { craftitem=1, coal=1 },
})
@ -46,7 +46,7 @@ minetest.register_craftitem("mcl_core:iron_nugget", {
description = S("Iron Nugget"),
_doc_items_longdesc = S("Iron nuggets are very small pieces of molten iron; the main purpose is to create iron ingots."),
inventory_image = "mcl_core_iron_nugget.png",
stack_max = 64,
stack_max = 69,
groups = { craftitem=1 },
})
@ -54,7 +54,7 @@ minetest.register_craftitem("mcl_core:gold_nugget", {
description = S("Gold Nugget"),
_doc_items_longdesc = S("Gold nuggets are very small pieces of molten gold; the main purpose is to create gold ingots."),
inventory_image = "mcl_core_gold_nugget.png",
stack_max = 64,
stack_max = 69,
groups = { craftitem=1 },
})
@ -62,7 +62,7 @@ minetest.register_craftitem("mcl_core:diamond", {
description = S("Diamond"),
_doc_items_longdesc = S("Diamonds are precious minerals and useful to create the highest tier of armor and tools."),
inventory_image = "default_diamond.png",
stack_max = 64,
stack_max = 69,
groups = { craftitem=1 },
})
@ -71,7 +71,7 @@ minetest.register_craftitem("mcl_core:clay_lump", {
_doc_items_longdesc = S("Clay balls are a raw material, mainly used to create bricks in the furnace."),
_doc_items_hidden = false,
inventory_image = "default_clay_lump.png",
stack_max = 64,
stack_max = 69,
groups = { craftitem=1 },
})
@ -79,7 +79,7 @@ minetest.register_craftitem("mcl_core:iron_ingot", {
description = S("Iron Ingot"),
_doc_items_longdesc = S("Molten iron. It is used to craft armor, tools, and whatnot."),
inventory_image = "default_steel_ingot.png",
stack_max = 64,
stack_max = 69,
groups = { craftitem=1 },
})
@ -87,7 +87,7 @@ minetest.register_craftitem("mcl_core:gold_ingot", {
description = S("Gold Ingot"),
_doc_items_longdesc = S("Molten gold. It is used to craft armor, tools, and whatnot."),
inventory_image = "default_gold_ingot.png",
stack_max = 64,
stack_max = 69,
groups = { craftitem=1 },
})
@ -95,7 +95,7 @@ minetest.register_craftitem("mcl_core:emerald", {
description = S("Emerald"),
_doc_items_longdesc = S("Emeralds are used in villager trades as currency."),
inventory_image = "mcl_core_emerald.png",
stack_max = 64,
stack_max = 69,
groups = { craftitem=1 },
})
@ -103,7 +103,7 @@ minetest.register_craftitem("mcl_core:brick", {
description = S("Brick"),
_doc_items_longdesc = S("Bricks are used to craft brick blocks."),
inventory_image = "default_clay_brick.png",
stack_max = 64,
stack_max = 69,
groups = { craftitem=1 },
})
@ -111,7 +111,7 @@ minetest.register_craftitem("mcl_core:flint", {
description = S("Flint"),
_doc_items_longdesc = S("Flint is a raw material."),
inventory_image = "default_flint.png",
stack_max = 64,
stack_max = 69,
groups = { craftitem=1 },
})
@ -119,7 +119,7 @@ minetest.register_craftitem("mcl_core:sugar", {
description = S("Sugar"),
_doc_items_longdesc = S("Sugar comes from sugar canes and is used to make sweet foods."),
inventory_image = "mcl_core_sugar.png",
stack_max = 64,
stack_max = 69,
groups = { craftitem = 1, brewitem=1 },
})
@ -127,7 +127,7 @@ minetest.register_craftitem("mcl_core:bowl",{
description = S("Bowl"),
_doc_items_longdesc = S("Bowls are mainly used to hold tasty soups."),
inventory_image = "mcl_core_bowl.png",
stack_max = 64,
stack_max = 69,
groups = { craftitem = 1 },
})
@ -136,7 +136,7 @@ minetest.register_craftitem("mcl_core:apple", {
_doc_items_longdesc = S("Apples are food items which can be eaten."),
wield_image = "default_apple.png",
inventory_image = "default_apple.png",
stack_max = 64,
stack_max = 69,
on_place = minetest.item_eat(4),
on_secondary_use = minetest.item_eat(4),
groups = { food = 2, eatable = 4 },
@ -174,7 +174,7 @@ minetest.register_craftitem("mcl_core:apple_gold", {
_doc_items_longdesc = S("Golden apples are precious food items which can be eaten."),
wield_image = "mcl_core_apple_golden.png",
inventory_image = "mcl_core_apple_golden.png",
stack_max = 64,
stack_max = 69,
on_place = eat_gapple,
on_secondary_use = eat_gapple,
groups = { food = 2, eatable = 4, can_eat_when_full = 1 },
@ -186,7 +186,7 @@ minetest.register_craftitem("mcl_core:apple_gold_enchanted", {
_doc_items_longdesc = S("Golden apples are precious food items which can be eaten."),
wield_image = "mcl_core_apple_golden.png" .. mcl_enchanting.overlay,
inventory_image = "mcl_core_apple_golden.png" .. mcl_enchanting.overlay,
stack_max = 64,
stack_max = 69,
on_place = eat_gapple,
on_secondary_use = eat_gapple,
groups = { food = 2, eatable = 4, can_eat_when_full = 1 },

View File

@ -26,7 +26,7 @@ minetest.register_node("mcl_core:stone", {
_doc_items_hidden = false,
tiles = {"default_stone.png"},
is_ground_content = true,
stack_max = 64,
stack_max = 69,
groups = {pickaxey=1, stone=1, building_block=1, material_stone=1},
drop = "mcl_core:cobble",
sounds = mcl_sounds.node_sound_stone_defaults(),
@ -46,7 +46,7 @@ minetest.register_node("mcl_core:stone_with_coal", {
_doc_items_hidden = false,
tiles = {"mcl_core_coal_ore.png"},
is_ground_content = true,
stack_max = 64,
stack_max = 69,
groups = {pickaxey=1, building_block=1, material_stone=1, xp=1},
drop = "mcl_core:coal_lump",
sounds = mcl_sounds.node_sound_stone_defaults(),
@ -61,7 +61,7 @@ minetest.register_node("mcl_core:stone_with_iron", {
_doc_items_longdesc = S("Some iron contained in stone, it is prety common and can be found below sea level."),
tiles = {"mcl_core_iron_ore.png"},
is_ground_content = true,
stack_max = 64,
stack_max = 69,
groups = {pickaxey=3, building_block=1, material_stone=1},
drop = "mcl_core:stone_with_iron",
sounds = mcl_sounds.node_sound_stone_defaults(),
@ -76,7 +76,7 @@ minetest.register_node("mcl_core:stone_with_gold", {
_doc_items_longdesc = S("This stone contains pure gold, a rare metal."),
tiles = {"mcl_core_gold_ore.png"},
is_ground_content = true,
stack_max = 64,
stack_max = 69,
groups = {pickaxey=4, building_block=1, material_stone=1},
drop = "mcl_core:stone_with_gold",
sounds = mcl_sounds.node_sound_stone_defaults(),
@ -96,7 +96,7 @@ minetest.register_node("mcl_core:stone_with_redstone", {
_doc_items_longdesc = S("Redstone ore is commonly found near the bottom of the world. It glows when it is punched or walked upon."),
tiles = {"mcl_core_redstone_ore.png"},
is_ground_content = true,
stack_max = 64,
stack_max = 69,
groups = {pickaxey=4, building_block=1, material_stone=1, xp=7},
drop = {
items = {
@ -136,7 +136,7 @@ minetest.register_node("mcl_core:stone_with_redstone_lit", {
paramtype = "light",
light_source = 9,
is_ground_content = true,
stack_max = 64,
stack_max = 69,
groups = {pickaxey=4, not_in_creative_inventory=1, material_stone=1, xp=7},
drop = {
items = {
@ -174,7 +174,7 @@ minetest.register_node("mcl_core:stone_with_lapis", {
_doc_items_longdesc = S("Lapis lazuli ore is the ore of lapis lazuli. It can be rarely found in clusters near the bottom of the world."),
tiles = {"mcl_core_lapis_ore.png"},
is_ground_content = true,
stack_max = 64,
stack_max = 69,
groups = {pickaxey=3, building_block=1, material_stone=1, xp=6},
drop = {
max_items = 1,
@ -198,7 +198,7 @@ minetest.register_node("mcl_core:stone_with_emerald", {
_doc_items_longdesc = S("Emerald ore is the ore of emeralds. It is very rare and can be found alone, not in clusters."),
tiles = {"mcl_core_emerald_ore.png"},
is_ground_content = true,
stack_max = 64,
stack_max = 69,
groups = {pickaxey=4, building_block=1, material_stone=1, xp=6},
drop = "mcl_core:emerald",
sounds = mcl_sounds.node_sound_stone_defaults(),
@ -213,7 +213,7 @@ minetest.register_node("mcl_core:stone_with_diamond", {
_doc_items_longdesc = S("Diamond ore is rare and can be found in clusters near the bottom of the world."),
tiles = {"mcl_core_diamond_ore.png"},
is_ground_content = true,
stack_max = 64,
stack_max = 69,
groups = {pickaxey=4, building_block=1, material_stone=1, xp=4},
drop = "mcl_core:diamond",
sounds = mcl_sounds.node_sound_stone_defaults(),
@ -227,7 +227,7 @@ minetest.register_node("mcl_core:stonebrick", {
description = S("Stone Bricks"),
_doc_items_longdesc = doc.sub.items.temp.build,
tiles = {"default_stone_brick.png"},
stack_max = 64,
stack_max = 69,
groups = {pickaxey=1, stone=1, stonebrick=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
is_ground_content = false,
@ -239,7 +239,7 @@ minetest.register_node("mcl_core:stonebrickcarved", {
description = S("Chiseled Stone Bricks"),
_doc_items_longdesc = doc.sub.items.temp.build,
tiles = {"mcl_core_stonebrick_carved.png"},
stack_max = 64,
stack_max = 69,
groups = {pickaxey=1, stone=1, stonebrick=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
is_ground_content = false,
@ -251,7 +251,7 @@ minetest.register_node("mcl_core:stonebrickcracked", {
description = S("Cracked Stone Bricks"),
_doc_items_longdesc = doc.sub.items.temp.build,
tiles = {"mcl_core_stonebrick_cracked.png"},
stack_max = 64,
stack_max = 69,
groups = {pickaxey=1, stone=1, stonebrick=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
is_ground_content = false,
@ -263,7 +263,7 @@ minetest.register_node("mcl_core:stonebrickmossy", {
description = S("Mossy Stone Bricks"),
_doc_items_longdesc = doc.sub.items.temp.build,
tiles = {"mcl_core_stonebrick_mossy.png"},
stack_max = 64,
stack_max = 69,
groups = {pickaxey=1, stone=1, stonebrick=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
is_ground_content = false,
@ -275,7 +275,7 @@ minetest.register_node("mcl_core:stone_smooth", {
description = S("Polished Stone"),
_doc_items_longdesc = doc.sub.items.temp.build,
tiles = {"mcl_stairs_stone_slab_top.png"},
stack_max = 64,
stack_max = 69,
groups = {pickaxey=1, stone=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
is_ground_content = false,
@ -288,7 +288,7 @@ minetest.register_node("mcl_core:granite", {
_doc_items_longdesc = S("Granite is an igneous rock."),
tiles = {"mcl_core_granite.png"},
is_ground_content = true,
stack_max = 64,
stack_max = 69,
groups = {pickaxey=1, stone=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 6,
@ -299,7 +299,7 @@ minetest.register_node("mcl_core:granite_smooth", {
description = S("Polished Granite"),
_doc_items_longdesc = S("Polished granite is a decorative building block made from granite."),
tiles = {"mcl_core_granite_smooth.png"},
stack_max = 64,
stack_max = 69,
is_ground_content = false,
groups = {pickaxey=1, stone=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
@ -312,7 +312,7 @@ minetest.register_node("mcl_core:andesite", {
_doc_items_longdesc = S("Andesite is an igneous rock."),
tiles = {"mcl_core_andesite.png"},
is_ground_content = true,
stack_max = 64,
stack_max = 69,
groups = {pickaxey=1, stone=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 6,
@ -324,7 +324,7 @@ minetest.register_node("mcl_core:andesite_smooth", {
_doc_items_longdesc = S("Polished andesite is a decorative building block made from andesite."),
tiles = {"mcl_core_andesite_smooth.png"},
is_ground_content = false,
stack_max = 64,
stack_max = 69,
groups = {pickaxey=1, stone=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 6,
@ -336,7 +336,7 @@ minetest.register_node("mcl_core:diorite", {
_doc_items_longdesc = S("Diorite is an igneous rock."),
tiles = {"mcl_core_diorite.png"},
is_ground_content = true,
stack_max = 64,
stack_max = 69,
groups = {pickaxey=1, stone=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 6,
@ -348,7 +348,7 @@ minetest.register_node("mcl_core:diorite_smooth", {
_doc_items_longdesc = S("Polished diorite is a decorative building block made from diorite."),
tiles = {"mcl_core_diorite_smooth.png"},
is_ground_content = false,
stack_max = 64,
stack_max = 69,
groups = {pickaxey=1, stone=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 6,
@ -367,7 +367,7 @@ minetest.register_node("mcl_core:dirt_with_grass", {
palette_index = 0,
color = "#8EB971",
is_ground_content = true,
stack_max = 64,
stack_max = 69,
groups = {handy=1,shovely=1,dirt=2,grass_block=1, grass_block_no_snow=1, soil=1, soil_sapling=2, soil_sugarcane=1, cultivatable=2, spreading_dirt_type=1, enderman_takable=1, building_block=1},
drop = "mcl_core:dirt",
sounds = mcl_sounds.node_sound_dirt_defaults({
@ -420,7 +420,7 @@ minetest.register_node("mcl_core:mycelium", {
_doc_items_longdesc = S("Mycelium is a type of dirt and the ideal soil for mushrooms. Unlike other dirt-type blocks, it can not be turned into farmland with a hoe. In light, mycelium slowly spreads over nearby dirt. Under an opaque block or a liquid, it eventually turns back into dirt."),
tiles = {"mcl_core_mycelium_top.png", "default_dirt.png", {name="mcl_core_mycelium_side.png", tileable_vertical=false}},
is_ground_content = true,
stack_max = 64,
stack_max = 69,
groups = {handy=1,shovely=1, dirt=2,spreading_dirt_type=1, enderman_takable=1, building_block=1},
drop = "mcl_core:dirt",
sounds = mcl_sounds.node_sound_dirt_defaults({
@ -440,7 +440,7 @@ minetest.register_node("mcl_core:podzol", {
_doc_items_longdesc = S("Podzol is a type of dirt found in taiga forests. Only a few plants are able to survive on it."),
tiles = {"mcl_core_dirt_podzol_top.png", "default_dirt.png", {name="mcl_core_dirt_podzol_side.png", tileable_vertical=false}},
is_ground_content = true,
stack_max = 64,
stack_max = 69,
groups = {handy=1,shovely=3, dirt=2,soil=1, soil_sapling=2, soil_sugarcane=1, enderman_takable=1, building_block=1},
drop = "mcl_core:dirt",
sounds = mcl_sounds.node_sound_dirt_defaults(),
@ -458,7 +458,7 @@ minetest.register_node("mcl_core:dirt", {
_doc_items_hidden = false,
tiles = {"default_dirt.png"},
is_ground_content = true,
stack_max = 64,
stack_max = 69,
groups = {handy=1,shovely=1, dirt=1,soil=1, soil_sapling=2, soil_sugarcane=1, cultivatable=2, enderman_takable=1, building_block=1},
sounds = mcl_sounds.node_sound_dirt_defaults(),
_mcl_blast_resistance = 0.5,
@ -470,7 +470,7 @@ minetest.register_node("mcl_core:coarse_dirt", {
_doc_items_longdesc = S("Coarse dirt acts as a soil for some plants and is similar to dirt, but it will never grow a cover."),
tiles = {"mcl_core_coarse_dirt.png"},
is_ground_content = true,
stack_max = 64,
stack_max = 69,
groups = {handy=1,shovely=1, dirt=3,soil=1, soil_sugarcane=1, cultivatable=1, enderman_takable=1, building_block=1},
sounds = mcl_sounds.node_sound_dirt_defaults(),
_mcl_blast_resistance = 0.5,
@ -482,7 +482,7 @@ minetest.register_node("mcl_core:gravel", {
_doc_items_longdesc = S("This block consists of a couple of loose stones and can't support itself."),
tiles = {"default_gravel.png"},
is_ground_content = true,
stack_max = 64,
stack_max = 69,
groups = {handy=1,shovely=1, falling_node=1, enderman_takable=1, building_block=1, material_sand=1},
drop = {
max_items = 1,
@ -523,7 +523,7 @@ minetest.register_node("mcl_core:sand", {
_doc_items_hidden = false,
tiles = {"default_sand.png"},
is_ground_content = true,
stack_max = 64,
stack_max = 69,
groups = {handy=1,shovely=1, falling_node=1, sand=1, soil_sugarcane=1, enderman_takable=1, building_block=1, material_sand=1},
sounds = mcl_sounds.node_sound_sand_defaults(),
_mcl_blast_resistance = 0.5,
@ -536,7 +536,7 @@ minetest.register_node("mcl_core:sandstone", {
_doc_items_longdesc = S("Sandstone is compressed sand and is a rather soft kind of stone."),
tiles = {"mcl_core_sandstone_top.png", "mcl_core_sandstone_bottom.png", "mcl_core_sandstone_normal.png"},
is_ground_content = true,
stack_max = 64,
stack_max = 69,
groups = {pickaxey=1, sandstone=1, normal_sandstone=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 0.8,
@ -548,7 +548,7 @@ minetest.register_node("mcl_core:sandstonesmooth", {
_doc_items_longdesc = S("Cut sandstone is a decorative building block."),
tiles = {"mcl_core_sandstone_top.png", "mcl_core_sandstone_bottom.png", "mcl_core_sandstone_smooth.png"},
is_ground_content = false,
stack_max = 64,
stack_max = 69,
groups = {pickaxey=1, sandstone=1, normal_sandstone=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 0.8,
@ -560,7 +560,7 @@ minetest.register_node("mcl_core:sandstonecarved", {
_doc_items_longdesc = S("Chiseled sandstone is a decorative building block."),
tiles = {"mcl_core_sandstone_top.png", "mcl_core_sandstone_bottom.png", "mcl_core_sandstone_carved.png"},
is_ground_content = false,
stack_max = 64,
stack_max = 69,
groups = {pickaxey=1, sandstone=1, normal_sandstone=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 0.8,
@ -573,7 +573,7 @@ minetest.register_node("mcl_core:sandstonesmooth2", {
_doc_items_longdesc = S("Smooth sandstone is compressed sand and is a rather soft kind of stone."),
tiles = {"mcl_core_sandstone_top.png"},
is_ground_content = false,
stack_max = 64,
stack_max = 69,
groups = {pickaxey=1, sandstone=1, normal_sandstone=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 0.8,
@ -587,7 +587,7 @@ minetest.register_node("mcl_core:redsand", {
_doc_items_longdesc = S("Red sand is found in large quantities in mesa biomes."),
tiles = {"mcl_core_red_sand.png"},
is_ground_content = true,
stack_max = 64,
stack_max = 69,
groups = {handy=1,shovely=1, falling_node=1, sand=1, soil_sugarcane=1, enderman_takable=1, building_block=1, material_sand=1},
sounds = mcl_sounds.node_sound_sand_defaults(),
_mcl_blast_resistance = 0.5,
@ -599,7 +599,7 @@ minetest.register_node("mcl_core:redsandstone", {
_doc_items_longdesc = S("Red sandstone is compressed red sand and is a rather soft kind of stone."),
tiles = {"mcl_core_red_sandstone_top.png", "mcl_core_red_sandstone_bottom.png", "mcl_core_red_sandstone_normal.png"},
is_ground_content = true,
stack_max = 64,
stack_max = 69,
groups = {pickaxey=1, sandstone=1, red_sandstone=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 0.8,
@ -611,7 +611,7 @@ minetest.register_node("mcl_core:redsandstonesmooth", {
_doc_items_longdesc = S("Cut red sandstone is a decorative building block."),
tiles = {"mcl_core_red_sandstone_top.png", "mcl_core_red_sandstone_bottom.png", "mcl_core_red_sandstone_smooth.png"},
is_ground_content = false,
stack_max = 64,
stack_max = 69,
groups = {pickaxey=1, sandstone=1, red_sandstone=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 0.8,
@ -623,7 +623,7 @@ minetest.register_node("mcl_core:redsandstonecarved", {
_doc_items_longdesc = S("Chiseled red sandstone is a decorative building block."),
tiles = {"mcl_core_red_sandstone_top.png", "mcl_core_red_sandstone_bottom.png", "mcl_core_red_sandstone_carved.png"},
is_ground_content = false,
stack_max = 64,
stack_max = 69,
groups = {pickaxey=1, sandstone=1, red_sandstone=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 0.8,
@ -635,7 +635,7 @@ minetest.register_node("mcl_core:redsandstonesmooth2", {
_doc_items_longdesc = S("Smooth red sandstone is a decorative building block."),
tiles = {"mcl_core_red_sandstone_top.png"},
is_ground_content = false,
stack_max = 64,
stack_max = 69,
groups = {pickaxey=1, sandstone=1, red_sandstone=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 0.8,
@ -650,7 +650,7 @@ minetest.register_node("mcl_core:clay", {
_doc_items_hidden = false,
tiles = {"default_clay.png"},
is_ground_content = true,
stack_max = 64,
stack_max = 69,
groups = {handy=1,shovely=1, enderman_takable=1, building_block=1},
drop = "mcl_core:clay_lump 4",
sounds = mcl_sounds.node_sound_dirt_defaults(),
@ -665,7 +665,7 @@ minetest.register_node("mcl_core:brick_block", {
_doc_items_longdesc = S("Brick blocks are a good building material for building solid houses and can take quite a punch."),
tiles = {"default_brick.png"},
is_ground_content = false,
stack_max = 64,
stack_max = 69,
groups = {pickaxey=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 6,
@ -678,7 +678,7 @@ minetest.register_node("mcl_core:bedrock", {
_doc_items_longdesc = S("Bedrock is a very hard type of rock. It can not be broken, destroyed, collected or moved by normal means, unless in Creative Mode.").."\n"..
S("In the End dimension, starting a fire on this block will create an eternal fire."),
tiles = {"mcl_core_bedrock.png"},
stack_max = 64,
stack_max = 69,
groups = {creative_breakable=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
is_ground_content = false,
@ -718,7 +718,7 @@ minetest.register_node("mcl_core:cobble", {
_doc_items_hidden = false,
tiles = {"default_cobble.png"},
is_ground_content = false,
stack_max = 64,
stack_max = 69,
groups = {pickaxey=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 6,
@ -730,7 +730,7 @@ minetest.register_node("mcl_core:mossycobble", {
_doc_items_longdesc = doc.sub.items.temp.build,
tiles = {"default_mossycobble.png"},
is_ground_content = false,
stack_max = 64,
stack_max = 69,
groups = {pickaxey=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 6,
@ -742,7 +742,7 @@ minetest.register_node("mcl_core:coalblock", {
_doc_items_longdesc = S("Blocks of coal are useful as a compact storage of coal and very useful as a furnace fuel. A block of coal is as efficient as 10 coal."),
tiles = {"default_coal_block.png"},
is_ground_content = false,
stack_max = 64,
stack_max = 69,
groups = {pickaxey=1, flammable=1, building_block=1, material_stone=1, fire_encouragement=5, fire_flammability=5},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 6,
@ -754,7 +754,7 @@ minetest.register_node("mcl_core:ironblock", {
_doc_items_longdesc = S("A block of iron is mostly a decorative block but also useful as a compact storage of iron ingots."),
tiles = {"default_steel_block.png"},
is_ground_content = false,
stack_max = 64,
stack_max = 69,
groups = {pickaxey=2, building_block=1},
sounds = mcl_sounds.node_sound_metal_defaults(),
_mcl_blast_resistance = 6,
@ -766,7 +766,7 @@ minetest.register_node("mcl_core:goldblock", {
_doc_items_longdesc = S("A block of gold is mostly a shiny decorative block but also useful as a compact storage of gold ingots."),
tiles = {"default_gold_block.png"},
is_ground_content = false,
stack_max = 64,
stack_max = 69,
groups = {pickaxey=4, building_block=1},
sounds = mcl_sounds.node_sound_metal_defaults(),
_mcl_blast_resistance = 6,
@ -778,7 +778,7 @@ minetest.register_node("mcl_core:diamondblock", {
_doc_items_longdesc = S("A block of diamond is mostly a shiny decorative block but also useful as a compact storage of diamonds."),
tiles = {"default_diamond_block.png"},
is_ground_content = false,
stack_max = 64,
stack_max = 69,
groups = {pickaxey=4, building_block=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 6,
@ -790,7 +790,7 @@ minetest.register_node("mcl_core:lapisblock", {
_doc_items_longdesc = S("A lapis lazuli block is mostly a decorative block but also useful as a compact storage of lapis lazuli."),
tiles = {"mcl_core_lapis_block.png"},
is_ground_content = false,
stack_max = 64,
stack_max = 69,
groups = {pickaxey=3, building_block=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 3,
@ -802,7 +802,7 @@ minetest.register_node("mcl_core:emeraldblock", {
_doc_items_longdesc = S("A block of emerald is mostly a shiny decorative block but also useful as a compact storage of emeralds."),
tiles = {"mcl_core_emerald_block.png"},
is_ground_content = false,
stack_max = 64,
stack_max = 69,
groups = {pickaxey=4, building_block=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 6,
@ -815,7 +815,7 @@ minetest.register_node("mcl_core:obsidian", {
tiles = {"default_obsidian.png"},
is_ground_content = false,
sounds = mcl_sounds.node_sound_stone_defaults(),
stack_max = 64,
stack_max = 69,
groups = {pickaxey=5, building_block=1, material_stone=1},
_mcl_blast_resistance = 1200,
_mcl_hardness = 50,
@ -834,7 +834,7 @@ minetest.register_node("mcl_core:ice", {
is_ground_content = true,
paramtype = "light",
use_texture_alpha = ice_texture_alpha,
stack_max = 64,
stack_max = 69,
groups = {handy=1,pickaxey=1, slippery=3, building_block=1, ice=1},
drop = "",
sounds = mcl_sounds.node_sound_glass_defaults(),
@ -852,7 +852,7 @@ minetest.register_node("mcl_core:packed_ice", {
_doc_items_longdesc = S("Packed ice is a compressed form of ice. It is opaque and solid."),
tiles = {"mcl_core_ice_packed.png"},
is_ground_content = true,
stack_max = 64,
stack_max = 69,
groups = {handy=1,pickaxey=1, slippery=3, building_block=1, ice=1},
drop = "",
sounds = mcl_sounds.node_sound_glass_defaults(),
@ -900,7 +900,7 @@ for i=0,3 do
is_ground_content = false,
paramtype = "light",
use_texture_alpha = ice_texture_alpha,
stack_max = 64,
stack_max = 69,
groups = {handy=1, frosted_ice=1, slippery=3, not_in_creative_inventory=1, ice=1},
drop = "",
sounds = mcl_sounds.node_sound_glass_defaults(),
@ -1024,7 +1024,7 @@ for i=1,8 do
buildable_to = true,
node_placement_prediction = "", -- to prevent client flickering when stacking snow
drawtype = drawtype,
stack_max = 64,
stack_max = 69,
walkable = walkable,
floodable = true,
on_flood = function(pos, oldnode, newnode)
@ -1051,7 +1051,7 @@ minetest.register_node("mcl_core:snowblock", {
_doc_items_hidden = false,
tiles = {"default_snow.png"},
is_ground_content = true,
stack_max = 64,
stack_max = 69,
groups = {shovely=1, building_block=1, snow_cover=1},
sounds = mcl_sounds.node_sound_snow_defaults(),
on_construct = mcl_core.on_snow_construct,

View File

@ -11,7 +11,7 @@ minetest.register_node("mcl_core:cactus", {
use_texture_alpha = minetest.features.use_texture_alpha_string_modes and "clip" or true,
tiles = {"mcl_core_cactus_top.png", "mcl_core_cactus_bottom.png", "mcl_core_cactus_side.png"},
is_ground_content = true,
stack_max = 64,
stack_max = 69,
groups = {handy=1, attached_node=1, plant=1, deco_block=1, dig_by_piston=1, enderman_takable=1},
sounds = mcl_sounds.node_sound_wood_defaults(),
paramtype = "light",
@ -78,7 +78,7 @@ minetest.register_node("mcl_core:reeds", {
{-6/16, -8/16, -6/16, 6/16, 8/16, 6/16},
},
},
stack_max = 64,
stack_max = 69,
groups = {dig_immediate=3, craftitem=1, deco_block=1, plant=1, non_mycelium_plant=1, dig_by_piston=1},
sounds = mcl_sounds.node_sound_leaves_defaults(),
node_placement_prediction = "",

View File

@ -32,7 +32,7 @@ minetest.register_node("mcl_core:ladder", {
type = "wallmounted",
wall_side = { -0.5, -0.5, -0.5, -7/16, 0.5, 0.5 },
},
stack_max = 64,
stack_max = 69,
groups = {handy=1,axey=1, attached_node=1, deco_block=1, dig_by_piston=1},
sounds = mcl_sounds.node_sound_wood_defaults(),
node_placement_prediction = "",
@ -103,7 +103,7 @@ minetest.register_node("mcl_core:vine", {
selection_box = {
type = "wallmounted",
},
stack_max = 64,
stack_max = 69,
groups = {handy=1,axey=1,shearsy=1,swordy=1, flammable=2,deco_block=1,destroy_by_lava_flow=1,dig_by_piston=1, fire_encouragement=15, fire_flammability=100},
sounds = mcl_sounds.node_sound_leaves_defaults(),
drop = "",

View File

@ -11,7 +11,7 @@ minetest.register_node("mcl_core:glass", {
paramtype = "light",
paramtype2 = "glasslikeliquidlevel",
sunlight_propagates = true,
stack_max = 64,
stack_max = 69,
groups = {handy=1, glass=1, building_block=1, material_glass=1},
sounds = mcl_sounds.node_sound_glass_defaults(),
drop = "",
@ -47,7 +47,7 @@ function mcl_core.add_stained_glass(desc, recipeitem, colorgroup, color)
paramtype2 = "glasslikeliquidlevel",
sunlight_propagates = true,
use_texture_alpha = minetest.features.use_texture_alpha_string_modes and "blend" or true,
stack_max = 64,
stack_max = 69,
-- TODO: Add color to groups
groups = {handy=1, glass=1, building_block=1, material_glass=1},
sounds = mcl_sounds.node_sound_glass_defaults(),

View File

@ -94,7 +94,7 @@ S("• When water is directly below lava, the water turns into stone."),
liquid_viscosity = WATER_VISC,
liquid_range = 7,
post_effect_color = {a=209, r=0x03, g=0x3C, b=0x5C},
stack_max = 64,
stack_max = 69,
groups = { water=3, liquid=3, puts_out_fire=1, freezes=1, not_in_creative_inventory=1, dig_by_piston=1},
_mcl_blast_resistance = 100,
-- Hardness intentionally set to infinite instead of 100 (Minecraft value) to avoid problems in creative mode
@ -195,7 +195,7 @@ S("• When lava is directly above water, the water turns into stone."),
liquid_range = 3,
damage_per_second = 4*2,
post_effect_color = {a=245, r=208, g=73, b=10},
stack_max = 64,
stack_max = 69,
groups = { lava=3, lava_source=1, liquid=2, destroys_items=1, not_in_creative_inventory=1, dig_by_piston=1, set_on_fire=15, fire_damage=1},
_mcl_blast_resistance = 100,
-- Hardness intentionally set to infinite instead of 100 (Minecraft value) to avoid problems in creative mode

View File

@ -42,7 +42,7 @@ minetest.register_node("mcl_core:slimeblock", {
},
tiles = {"mcl_core_slime.png"},
use_texture_alpha = minetest.features.use_texture_alpha_string_modes and "blend" or true,
stack_max = 64,
stack_max = 69,
-- According to Minecraft Wiki, bouncing off a slime block from a height off 255 blocks should result in a bounce height of 50 blocks
-- bouncy=44 makes the player bounce up to 49.6. This value was chosen by experiment.
-- bouncy=80 was chosen because it is higher than 66 (bounciness of bed)
@ -98,7 +98,7 @@ minetest.register_node("mcl_core:cobweb", {
drawtype = "plantlike",
paramtype2 = "degrotate",
visual_scale = 1.1,
stack_max = 64,
stack_max = 69,
tiles = {"mcl_core_web.png"},
inventory_image = "mcl_core_web.png",
paramtype = "light",
@ -131,7 +131,7 @@ minetest.register_node("mcl_core:deadbush", {
paramtype = "light",
sunlight_propagates = true,
walkable = false,
stack_max = 64,
stack_max = 69,
buildable_to = true,
groups = {handy=1,shearsy=1, flammable=3,attached_node=1,plant=1,non_mycelium_plant=1,dig_by_water=1,destroy_by_lava_flow=1,deco_block=1, fire_encouragement=60, fire_flammability=100},
drop = {
@ -166,7 +166,7 @@ minetest.register_node("mcl_core:barrier", {
inventory_image = "mcl_core_barrier.png",
wield_image = "mcl_core_barrier.png",
tiles = { "blank.png" },
stack_max = 64,
stack_max = 69,
sunlight_propagates = true,
is_ground_content = false,
groups = {creative_breakable=1, not_in_creative_inventory = 1, not_solid = 1 },
@ -223,7 +223,7 @@ minetest.register_node("mcl_core:realm_barrier", {
inventory_image = "mcl_core_barrier.png^[colorize:#FF00FF:127^[transformFX",
wield_image = "mcl_core_barrier.png^[colorize:#FF00FF:127^[transformFX",
tiles = { "blank.png" },
stack_max = 64,
stack_max = 69,
-- To avoid players getting stuck forever between realms
damage_per_second = 8,
sunlight_propagates = true,
@ -259,7 +259,7 @@ minetest.register_node("mcl_core:void", {
buildable_to = false,
inventory_image = "mcl_core_void.png",
wield_image = "mcl_core_void.png",
stack_max = 64,
stack_max = 69,
sunlight_propagates = true,
is_ground_content = false,
groups = { not_in_creative_inventory = 1 },

View File

@ -17,7 +17,7 @@ local function register_tree_trunk(subname, description_trunk, description_bark,
tiles = {tile_inner, tile_inner, tile_bark},
paramtype2 = "facedir",
on_place = mcl_util.rotate_axis,
stack_max = 64,
stack_max = 69,
groups = {handy=1,axey=1, tree=1, flammable=2, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
sounds = mcl_sounds.node_sound_wood_defaults(),
on_rotate = on_rotate,
@ -32,7 +32,7 @@ local function register_tree_trunk(subname, description_trunk, description_bark,
tiles = {tile_bark},
paramtype2 = "facedir",
on_place = mcl_util.rotate_axis,
stack_max = 64,
stack_max = 69,
groups = {handy=1,axey=1, bark=1, flammable=2, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
sounds = mcl_sounds.node_sound_wood_defaults(),
is_ground_content = false,
@ -60,7 +60,7 @@ local function register_stripped_trunk(subname, description_stripped_trunk, desc
tiles = {tile_stripped_inner, tile_stripped_inner, tile_stripped_bark},
paramtype2 = "facedir",
on_place = mcl_util.rotate_axis,
stack_max = 64,
stack_max = 69,
groups = {handy=1, axey=1, tree=1, flammable=2, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
sounds = mcl_sounds.node_sound_wood_defaults(),
on_rotate = on_rotate,
@ -74,7 +74,7 @@ local function register_stripped_trunk(subname, description_stripped_trunk, desc
tiles = {tile_stripped_bark},
paramtype2 = "facedir",
on_place = mcl_util.rotate_axis,
stack_max = 64,
stack_max = 69,
groups = {handy=1, axey=1, bark=1, flammable=2, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
sounds = mcl_sounds.node_sound_wood_defaults(),
is_ground_content = false,
@ -98,7 +98,7 @@ local function register_wooden_planks(subname, description, tiles)
_doc_items_longdesc = doc.sub.items.temp.build,
_doc_items_hidden = false,
tiles = tiles,
stack_max = 64,
stack_max = 69,
is_ground_content = false,
groups = {handy=1,axey=1, flammable=3,wood=1,building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=20},
sounds = mcl_sounds.node_sound_wood_defaults(),
@ -150,7 +150,7 @@ local function register_leaves(subname, description, longdesc, tiles, sapling, d
place_param2 = 1, -- Prevent leafdecay for placed nodes
tiles = tiles,
paramtype = "light",
stack_max = 64,
stack_max = 69,
groups = {
handy=1,
hoey=1,
@ -193,7 +193,7 @@ local function register_sapling(subname, description, longdesc, tt_help, texture
type = "fixed",
fixed = selbox
},
stack_max = 64,
stack_max = 69,
groups = {dig_immediate=3, plant=1,sapling=1,non_mycelium_plant=1,attached_node=1,dig_by_water=1,dig_by_piston=1,destroy_by_lava_flow=1,deco_block=1},
sounds = mcl_sounds.node_sound_leaves_defaults(),
on_construct = function(pos)

View File

@ -106,7 +106,7 @@ function mcl_doors:register_door(name, def)
_doc_items_longdesc = longdesc,
_doc_items_usagehelp = usagehelp,
inventory_image = def.inventory_image,
stack_max = 64,
stack_max = 69,
groups = craftitem_groups,
on_place = function(itemstack, placer, pointed_thing)
if not pointed_thing.type == "node" or not placer or not placer:is_player() then

View File

@ -133,7 +133,7 @@ function mcl_doors:register_trapdoor(name, def)
wield_image = def.wield_image,
is_ground_content = false,
paramtype = "light",
stack_max = 64,
stack_max = 69,
paramtype2 = "facedir",
sunlight_propagates = true,
groups = groups_closed,

View File

@ -122,7 +122,7 @@ for _, row in ipairs(dyelocal.dyes) do
_doc_items_longdesc = S("This item is a dye which is used for dyeing and crafting."),
_doc_items_usagehelp = S("Rightclick on a sheep to dye its wool. Other things are dyed by crafting."),
groups = groups,
stack_max = 64,
stack_max = 69,
})
end
end
@ -378,7 +378,7 @@ minetest.register_craftitem("mcl_dye:white", {
_tt_help = S("Speeds up plant growth"),
_doc_items_longdesc = S("Bone meal is a white dye and also useful as a fertilizer to speed up the growth of many plants."),
_doc_items_usagehelp = S("Rightclick a sheep to turn its wool white. Rightclick a plant to speed up its growth. Note that not all plants can be fertilized like this. When you rightclick a grass block, tall grass and flowers will grow all over the place."),
stack_max = 64,
stack_max = 69,
groups = dyelocal.dyes[1][4],
on_place = function(itemstack, user, pointed_thing)
-- Use pointed node's on_rightclick function first, if present
@ -418,7 +418,7 @@ minetest.register_craftitem("mcl_dye:brown", {
_doc_items_longdesc = S("Cocoa beans are a brown dye and can be used to plant cocoas."),
_doc_items_usagehelp = S("Rightclick a sheep to turn its wool brown. Rightclick on the side of a jungle tree trunk (Jungle Wood) to plant a young cocoa."),
description = S("Cocoa Beans"),
stack_max = 64,
stack_max = 69,
groups = dyelocal.dyes[12][4],
on_place = function(itemstack, placer, pointed_thing)
return mcl_cocoas.place(itemstack, placer, pointed_thing, "mcl_cocoas:cocoa_1")

View File

@ -12,7 +12,7 @@ minetest.register_node("mcl_end:end_stone", {
description = S("End Stone"),
_doc_items_longdesc = doc.sub.items.temp.build,
tiles = {"mcl_end_end_stone.png"},
stack_max = 64,
stack_max = 69,
groups = {pickaxey=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
after_dig_node = mcl_end.check_detach_chorus_plant,
@ -25,7 +25,7 @@ minetest.register_node("mcl_end:end_bricks", {
_doc_items_longdesc = doc.sub.items.temp.build,
tiles = {"mcl_end_end_bricks.png"},
is_ground_content = false,
stack_max = 64,
stack_max = 69,
groups = {pickaxey=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 9,
@ -37,7 +37,7 @@ minetest.register_node("mcl_end:purpur_block", {
_doc_items_longdesc = doc.sub.items.temp.build,
tiles = {"mcl_end_purpur_block.png"},
is_ground_content = false,
stack_max = 64,
stack_max = 69,
groups = {pickaxey=1, building_block=1, material_stone=1, purpur_block=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 6,
@ -47,7 +47,7 @@ minetest.register_node("mcl_end:purpur_block", {
minetest.register_node("mcl_end:purpur_pillar", {
description = S("Purpur Pillar"),
_doc_items_longdesc = doc.sub.items.temp.build,
stack_max = 64,
stack_max = 69,
paramtype2 = "facedir",
is_ground_content = false,
on_place = mcl_util.rotate_axis,

View File

@ -557,7 +557,7 @@ minetest.register_craftitem("mcl_end:chorus_fruit", {
on_secondary_use = eat_chorus_fruit,
groups = { food = 2, transport = 1, eatable = 4, can_eat_when_full = 1 },
_mcl_saturation = 2.4,
stack_max = 64,
stack_max = 69,
})
minetest.register_craftitem("mcl_end:chorus_fruit_popped", {
@ -566,7 +566,7 @@ minetest.register_craftitem("mcl_end:chorus_fruit_popped", {
wield_image = "mcl_end_chorus_fruit_popped.png",
inventory_image = "mcl_end_chorus_fruit_popped.png",
groups = { craftitem = 1 },
stack_max = 64,
stack_max = 69,
})
--- Crafting ---

View File

@ -140,7 +140,7 @@ minetest.register_entity("mcl_end:crystal_beam", {
minetest.register_craftitem("mcl_end:crystal", {
inventory_image = "mcl_end_crystal_item.png",
description = S("End Crystal"),
stack_max = 64,
stack_max = 69,
on_place = function(itemstack, placer, pointed_thing)
if pointed_thing.type == "node" then
local pos = minetest.get_pointed_thing_position(pointed_thing)

View File

@ -79,7 +79,7 @@ minetest.register_craftitem("mcl_end:ender_eye", {
_doc_items_usagehelp = S("Use the attack key to release the eye of ender. It will rise and fly in the horizontal direction of the closest end portal shrine. If you're very close, the eye of ender will take the direct path to the End portal shrine instead. After a few seconds, it stops. It may drop as an item, but there's a 20% chance it shatters.") .. "\n" .. S("To activate an End portal, eyes of ender need to be placed into each block of an intact End portal frame."),
wield_image = "mcl_end_ender_eye.png",
inventory_image = "mcl_end_ender_eye.png",
stack_max = 64,
stack_max = 69,
-- Throw eye of ender to make it fly to the closest stronghold
on_use = function(itemstack, user, pointed_thing)
if user == nil then

View File

@ -6,7 +6,7 @@ minetest.register_craftitem("mcl_farming:melon_seeds", {
_tt_help = S("Grows on farmland"),
_doc_items_longdesc = S("Grows into a melon stem which in turn grows melons. Chickens like melon seeds."),
_doc_items_usagehelp = S("Place the melon seeds on farmland (which can be created with a hoe) to plant a melon stem. Melon stems grow in sunlight and grow faster on hydrated farmland. When mature, the stem will attempt to grow a melon at the side. Rightclick an animal to feed it melon seeds."),
stack_max = 64,
stack_max = 69,
groups = { craftitem=1 },
inventory_image = "mcl_farming_melon_seeds.png",
on_place = function(itemstack, placer, pointed_thing)
@ -19,7 +19,7 @@ minetest.register_craftitem("mcl_farming:melon_seeds", {
local melon_base_def = {
description = S("Melon"),
_doc_items_longdesc = S("A melon is a block which can be grown from melon stems, which in turn are grown from melon seeds. It can be harvested for melon slices."),
stack_max = 64,
stack_max = 69,
tiles = {"farming_melon_top.png", "farming_melon_top.png", "farming_melon_side.png", "farming_melon_side.png", "farming_melon_side.png", "farming_melon_side.png"},
groups = {handy=1,axey=1, plant=1,building_block=1,enderman_takable=1,dig_by_piston=1},
drop = {
@ -130,7 +130,7 @@ minetest.register_craftitem("mcl_farming:melon_item", {
-- Original name: “Melon”
description = S("Melon Slice"),
_doc_items_longdesc = S("This is a food item which can be eaten."),
stack_max = 64,
stack_max = 69,
inventory_image = "farming_melon.png",
on_place = minetest.item_eat(2),
on_secondary_use = minetest.item_eat(2),

View File

@ -93,7 +93,7 @@ minetest.register_craftitem("mcl_farming:potato_item", {
inventory_image = "farming_potato.png",
groups = { food = 2, eatable = 1 },
_mcl_saturation = 0.6,
stack_max = 64,
stack_max = 69,
on_secondary_use = minetest.item_eat(1),
on_place = function(itemstack, placer, pointed_thing)
local new = mcl_farming:place_seed(itemstack, placer, pointed_thing, "mcl_farming:potato_1")
@ -108,7 +108,7 @@ minetest.register_craftitem("mcl_farming:potato_item", {
minetest.register_craftitem("mcl_farming:potato_item_baked", {
description = S("Baked Potato"),
_doc_items_longdesc = S("Baked potatoes are food items which are more filling than the unbaked ones."),
stack_max = 64,
stack_max = 69,
inventory_image = "farming_potato_baked.png",
on_place = minetest.item_eat(5),
on_secondary_use = minetest.item_eat(5),
@ -120,7 +120,7 @@ minetest.register_craftitem("mcl_farming:potato_item_poison", {
description = S("Poisonous Potato"),
_tt_help = minetest.colorize(mcl_colors.YELLOW, S("60% chance of poisoning")),
_doc_items_longdesc = S("This potato doesn't look too healthy. You can eat it to restore hunger points, but there's a 60% chance it will poison you briefly."),
stack_max = 64,
stack_max = 69,
inventory_image = "farming_potato_poison.png",
on_place = minetest.item_eat(2),
on_secondary_use = minetest.item_eat(2),

View File

@ -13,7 +13,7 @@ minetest.register_craftitem("mcl_farming:pumpkin_seeds", {
_tt_help = S("Grows on farmland"),
_doc_items_longdesc = S("Grows into a pumpkin stem which in turn grows pumpkins. Chickens like pumpkin seeds."),
_doc_items_usagehelp = S("Place the pumpkin seeds on farmland (which can be created with a hoe) to plant a pumpkin stem. Pumpkin stems grow in sunlight and grow faster on hydrated farmland. When mature, the stem attempts to grow a pumpkin next to it. Rightclick an animal to feed it pumpkin seeds."),
stack_max = 64,
stack_max = 69,
inventory_image = "mcl_farming_pumpkin_seeds.png",
groups = { craftitem=1 },
on_place = function(itemstack, placer, pointed_thing)
@ -96,7 +96,7 @@ local pumpkin_base_def = {
description = S("Faceless Pumpkin"),
_doc_items_longdesc = S("A faceless pumpkin is a decorative block. It can be carved with shears to obtain pumpkin seeds."),
_doc_items_usagehelp = S("To carve a face into the pumpkin, use the shears on the side you want to carve."),
stack_max = 64,
stack_max = 69,
paramtype2 = "facedir",
tiles = {"farming_pumpkin_top.png", "farming_pumpkin_top.png", "farming_pumpkin_side.png"},
groups = {handy=1,axey=1, plant=1,building_block=1, dig_by_piston=1, enderman_takable=1},
@ -187,7 +187,7 @@ minetest.register_node("mcl_farming:pumpkin_face_light", {
description = S("Jack o'Lantern"),
_doc_items_longdesc = S("A jack o'lantern is a traditional Halloween decoration made from a pumpkin. It glows brightly."),
is_ground_content = false,
stack_max = 64,
stack_max = 69,
paramtype = "light",
paramtype2 = "facedir",
light_source = minetest.LIGHT_MAX,
@ -225,7 +225,7 @@ minetest.register_craft({
minetest.register_craftitem("mcl_farming:pumpkin_pie", {
description = S("Pumpkin Pie"),
_doc_items_longdesc = S("A pumpkin pie is a tasty food item which can be eaten."),
stack_max = 64,
stack_max = 69,
inventory_image = "mcl_farming_pumpkin_pie.png",
wield_image = "mcl_farming_pumpkin_pie.png",
on_place = minetest.item_eat(8),

View File

@ -153,7 +153,7 @@ minetest.register_node("mcl_farming:hay_block", {
_doc_items_longdesc = S("Hay bales are decorative blocks made from wheat."),
tiles = {"mcl_farming_hayblock_top.png", "mcl_farming_hayblock_top.png", "mcl_farming_hayblock_side.png"},
is_ground_content = false,
stack_max = 64,
stack_max = 69,
paramtype2 = "facedir",
on_place = mcl_util.rotate_axis,
groups = {handy=1, hoey=1, flammable=2, fire_encouragement=60,

View File

@ -43,7 +43,7 @@ function mcl_fences.register_fence(id, fence_name, texture, groups, hardness, bl
paramtype = "light",
is_ground_content = false,
groups = cgroups,
stack_max = 64,
stack_max = 69,
sunlight_propagates = true,
drawtype = "nodebox",
connect_sides = { "front", "back", "left", "right" },
@ -180,7 +180,7 @@ function mcl_fences.register_fence_gate(id, fence_gate_name, texture, groups, ha
wield_image = "mcl_fences_fence_gate_mask.png^" .. texture .. "^mcl_fences_fence_gate_mask.png^[makealpha:255,126,126",
paramtype = "light",
is_ground_content = false,
stack_max = 64,
stack_max = 69,
paramtype2 = "facedir",
sunlight_propagates = true,
walkable = true,

View File

@ -11,7 +11,7 @@ minetest.register_craftitem("mcl_fire:fire_charge", {
_doc_items_usagehelp = S("Put the fire charge into a dispenser and supply it with redstone power to launch it. To ignite a fire directly, simply place the fire charge on the ground, which uses it up."),
inventory_image = "mcl_fire_fire_charge.png",
liquids_pointable = false,
stack_max = 64,
stack_max = 69,
on_place = function(itemstack, user, pointed_thing)
-- Use pointed node's on_rightclick function first, if present
local new_stack = mcl_util.call_on_rightclick(itemstack, user, pointed_thing)

View File

@ -8,7 +8,7 @@ local function register_rocket(n, duration, force)
description = description,
_tt_help = tt_help .. " " .. duration,
inventory_image = "mcl_fireworks_rocket.png",
stack_max = 64,
stack_max = 69,
on_use = function(itemstack, user, pointed_thing)
local elytra = mcl_playerplus.elytra[user]
if elytra.active and elytra.rocketing <= 0 then

View File

@ -425,7 +425,7 @@ minetest.register_craftitem("mcl_fishing:fish_raw", {
inventory_image = "mcl_fishing_fish_raw.png",
on_place = minetest.item_eat(2),
on_secondary_use = minetest.item_eat(2),
stack_max = 64,
stack_max = 69,
groups = { food=2, eatable = 2 },
_mcl_saturation = 0.4,
})
@ -436,7 +436,7 @@ minetest.register_craftitem("mcl_fishing:fish_cooked", {
inventory_image = "mcl_fishing_fish_cooked.png",
on_place = minetest.item_eat(5),
on_secondary_use = minetest.item_eat(5),
stack_max = 64,
stack_max = 69,
groups = { food=2, eatable=5 },
_mcl_saturation = 6,
})
@ -455,7 +455,7 @@ minetest.register_craftitem("mcl_fishing:salmon_raw", {
inventory_image = "mcl_fishing_salmon_raw.png",
on_place = minetest.item_eat(2),
on_secondary_use = minetest.item_eat(2),
stack_max = 64,
stack_max = 69,
groups = { food=2, eatable = 2 },
_mcl_saturation = 0.4,
})
@ -466,7 +466,7 @@ minetest.register_craftitem("mcl_fishing:salmon_cooked", {
inventory_image = "mcl_fishing_salmon_cooked.png",
on_place = minetest.item_eat(6),
on_secondary_use = minetest.item_eat(6),
stack_max = 64,
stack_max = 69,
groups = { food=2, eatable=6 },
_mcl_saturation = 9.6,
})
@ -485,7 +485,7 @@ minetest.register_craftitem("mcl_fishing:clownfish_raw", {
inventory_image = "mcl_fishing_clownfish_raw.png",
on_place = minetest.item_eat(1),
on_secondary_use = minetest.item_eat(1),
stack_max = 64,
stack_max = 69,
groups = { food=2, eatable = 1 },
_mcl_saturation = 0.2,
})
@ -498,7 +498,7 @@ minetest.register_craftitem("mcl_fishing:pufferfish_raw", {
inventory_image = "mcl_fishing_pufferfish_raw.png",
on_place = minetest.item_eat(1),
on_secondary_use = minetest.item_eat(1),
stack_max = 64,
stack_max = 69,
groups = { food=2, eatable=1, brewitem = 1 },
-- _mcl_saturation = 0.2,
})

View File

@ -78,7 +78,7 @@ function mcl_flowers.register_simple_flower(name, def)
sunlight_propagates = true,
paramtype = "light",
walkable = false,
stack_max = 64,
stack_max = 69,
drop = def.drop,
groups = {dig_immediate=3,flammable=2,fire_encouragement=60,fire_flammability=100,plant=1,flower=1,place_flowerlike=1,non_mycelium_plant=1,attached_node=1,dig_by_water=1,destroy_by_lava_flow=1,dig_by_piston=1,enderman_takable=1,deco_block=1},
sounds = mcl_sounds.node_sound_leaves_defaults(),

View File

@ -56,7 +56,7 @@ local function addhead(name, texture, desc, longdesc, rangemob, rangefactor)
},
use_texture_alpha = minetest.features.use_texture_alpha_string_modes and "opaque" or false,
paramtype = "light",
stack_max = 64,
stack_max = 69,
paramtype2 = "facedir",
sunlight_propagates = true,
walkable = true,
@ -140,7 +140,7 @@ local function addhead(name, texture, desc, longdesc, rangemob, rangefactor)
},
use_texture_alpha = minetest.features.use_texture_alpha_string_modes and "opaque" or false,
paramtype = "light",
stack_max = 64,
stack_max = 69,
paramtype2 = "wallmounted",
sunlight_propagates = true,
walkable = true,

View File

@ -188,7 +188,7 @@ minetest.register_craftitem("mcl_maps:empty_map", {
inventory_image = "mcl_maps_map_empty.png",
on_place = fill_map,
on_secondary_use = fill_map,
stack_max = 64,
stack_max = 69,
})
local filled_def = {
@ -197,7 +197,7 @@ local filled_def = {
_doc_items_longdesc = S("When created, the map saves the nearby area as an image that can be viewed any time by holding the map."),
_doc_items_usagehelp = S("Hold the map in your hand. This will display a map on your screen."),
inventory_image = "mcl_maps_map_filled.png^(mcl_maps_map_filled_markings.png^[colorize:#000000)",
stack_max = 64,
stack_max = 69,
groups = {not_in_creative_inventory = 1, filled_map = 1, tool = 1},
}

View File

@ -10,7 +10,7 @@ minetest.register_craftitem("mcl_mobitems:rotten_flesh", {
on_secondary_use = minetest.item_eat(4),
groups = { food = 2, eatable = 4 },
_mcl_saturation = 0.8,
stack_max = 64,
stack_max = 69,
})
minetest.register_craftitem("mcl_mobitems:mutton", {
@ -22,7 +22,7 @@ minetest.register_craftitem("mcl_mobitems:mutton", {
on_secondary_use = minetest.item_eat(2),
groups = { food = 2, eatable = 2 },
_mcl_saturation = 1.2,
stack_max = 64,
stack_max = 69,
})
minetest.register_craftitem("mcl_mobitems:cooked_mutton", {
@ -34,7 +34,7 @@ minetest.register_craftitem("mcl_mobitems:cooked_mutton", {
on_secondary_use = minetest.item_eat(6),
groups = { food = 2, eatable = 6 },
_mcl_saturation = 9.6,
stack_max = 64,
stack_max = 69,
})
minetest.register_craftitem("mcl_mobitems:beef", {
@ -46,7 +46,7 @@ minetest.register_craftitem("mcl_mobitems:beef", {
on_secondary_use = minetest.item_eat(3),
groups = { food = 2, eatable = 3 },
_mcl_saturation = 1.8,
stack_max = 64,
stack_max = 69,
})
minetest.register_craftitem("mcl_mobitems:cooked_beef", {
@ -58,7 +58,7 @@ minetest.register_craftitem("mcl_mobitems:cooked_beef", {
on_secondary_use = minetest.item_eat(8),
groups = { food = 2, eatable = 8 },
_mcl_saturation = 12.8,
stack_max = 64,
stack_max = 69,
})
minetest.register_craftitem("mcl_mobitems:chicken", {
@ -71,7 +71,7 @@ minetest.register_craftitem("mcl_mobitems:chicken", {
on_secondary_use = minetest.item_eat(2),
groups = { food = 2, eatable = 2 },
_mcl_saturation = 1.2,
stack_max = 64,
stack_max = 69,
})
minetest.register_craftitem("mcl_mobitems:cooked_chicken", {
@ -83,7 +83,7 @@ minetest.register_craftitem("mcl_mobitems:cooked_chicken", {
on_secondary_use = minetest.item_eat(6),
groups = { food = 2, eatable = 6 },
_mcl_saturation = 7.2,
stack_max = 64,
stack_max = 69,
})
minetest.register_craftitem("mcl_mobitems:porkchop", {
@ -95,7 +95,7 @@ minetest.register_craftitem("mcl_mobitems:porkchop", {
on_secondary_use = minetest.item_eat(3),
groups = { food = 2, eatable = 3 },
_mcl_saturation = 1.8,
stack_max = 64,
stack_max = 69,
})
minetest.register_craftitem("mcl_mobitems:cooked_porkchop", {
@ -107,7 +107,7 @@ minetest.register_craftitem("mcl_mobitems:cooked_porkchop", {
on_secondary_use = minetest.item_eat(8),
groups = { food = 2, eatable = 8 },
_mcl_saturation = 12.8,
stack_max = 64,
stack_max = 69,
})
minetest.register_craftitem("mcl_mobitems:rabbit", {
@ -119,7 +119,7 @@ minetest.register_craftitem("mcl_mobitems:rabbit", {
on_secondary_use = minetest.item_eat(3),
groups = { food = 2, eatable = 3 },
_mcl_saturation = 1.8,
stack_max = 64,
stack_max = 69,
})
minetest.register_craftitem("mcl_mobitems:cooked_rabbit", {
@ -131,7 +131,7 @@ minetest.register_craftitem("mcl_mobitems:cooked_rabbit", {
on_secondary_use = minetest.item_eat(5),
groups = { food = 2, eatable = 5 },
_mcl_saturation = 6.0,
stack_max = 64,
stack_max = 69,
})
-- Reset food poisoning and status effects
@ -212,7 +212,7 @@ minetest.register_craftitem("mcl_mobitems:spider_eye", {
on_secondary_use = minetest.item_eat(2),
groups = { food = 2, eatable = 2, brewitem = 1 },
_mcl_saturation = 3.2,
stack_max = 64,
stack_max = 69,
})
minetest.register_craftitem("mcl_mobitems:bone", {
@ -220,7 +220,7 @@ minetest.register_craftitem("mcl_mobitems:bone", {
_doc_items_longdesc = S("Bones can be used to tame wolves so they will protect you. They are also useful as a crafting ingredient."),
_doc_items_usagehelp = S("Wield the bone near wolves to attract them. Use the “Place” key on the wolf to give it a bone and tame it. You can then give commands to the tamed wolf by using the “Place” key on it."),
inventory_image = "mcl_mobitems_bone.png",
stack_max = 64,
stack_max = 69,
groups = { craftitem=1 },
_mcl_toollike_wield = true,
})
@ -229,7 +229,7 @@ minetest.register_craftitem("mcl_mobitems:string",{
description = S("String"),
_doc_items_longdesc = S("Strings are used in crafting."),
inventory_image = "mcl_mobitems_string.png",
stack_max = 64,
stack_max = 69,
groups = { craftitem = 1 },
})
@ -239,7 +239,7 @@ minetest.register_craftitem("mcl_mobitems:blaze_rod", {
wield_image = "mcl_mobitems_blaze_rod.png",
inventory_image = "mcl_mobitems_blaze_rod.png",
groups = { craftitem = 1 },
stack_max = 64,
stack_max = 69,
})
minetest.register_craftitem("mcl_mobitems:blaze_powder", {
@ -248,7 +248,7 @@ minetest.register_craftitem("mcl_mobitems:blaze_powder", {
wield_image = "mcl_mobitems_blaze_powder.png",
inventory_image = "mcl_mobitems_blaze_powder.png",
groups = { craftitem = 1, brewitem = 1 },
stack_max = 64,
stack_max = 69,
})
minetest.register_craftitem("mcl_mobitems:magma_cream", {
@ -257,7 +257,7 @@ minetest.register_craftitem("mcl_mobitems:magma_cream", {
wield_image = "mcl_mobitems_magma_cream.png",
inventory_image = "mcl_mobitems_magma_cream.png",
groups = { craftitem = 1, brewitem = 1 },
stack_max = 64,
stack_max = 69,
})
minetest.register_craftitem("mcl_mobitems:ghast_tear", {
@ -266,7 +266,7 @@ minetest.register_craftitem("mcl_mobitems:ghast_tear", {
wield_image = "mcl_mobitems_ghast_tear.png",
inventory_image = "mcl_mobitems_ghast_tear.png",
groups = { brewitem = 1 },
stack_max = 64,
stack_max = 69,
})
minetest.register_craftitem("mcl_mobitems:nether_star", {
@ -276,7 +276,7 @@ minetest.register_craftitem("mcl_mobitems:nether_star", {
inventory_image = "mcl_mobitems_nether_star.png",
-- TODO: Reveal item when it's useful
groups = { craftitem = 1, not_in_creative_inventory = 1 },
stack_max = 64,
stack_max = 69,
})
minetest.register_craftitem("mcl_mobitems:leather", {
@ -285,7 +285,7 @@ minetest.register_craftitem("mcl_mobitems:leather", {
wield_image = "mcl_mobitems_leather.png",
inventory_image = "mcl_mobitems_leather.png",
groups = { craftitem = 1 },
stack_max = 64,
stack_max = 69,
})
minetest.register_craftitem("mcl_mobitems:feather", {
@ -294,7 +294,7 @@ minetest.register_craftitem("mcl_mobitems:feather", {
wield_image = "mcl_mobitems_feather.png",
inventory_image = "mcl_mobitems_feather.png",
groups = { craftitem = 1 },
stack_max = 64,
stack_max = 69,
})
minetest.register_craftitem("mcl_mobitems:rabbit_hide", {
@ -303,7 +303,7 @@ minetest.register_craftitem("mcl_mobitems:rabbit_hide", {
wield_image = "mcl_mobitems_rabbit_hide.png",
inventory_image = "mcl_mobitems_rabbit_hide.png",
groups = { craftitem = 1 },
stack_max = 64,
stack_max = 69,
})
minetest.register_craftitem("mcl_mobitems:rabbit_foot", {
@ -312,7 +312,7 @@ minetest.register_craftitem("mcl_mobitems:rabbit_foot", {
wield_image = "mcl_mobitems_rabbit_foot.png",
inventory_image = "mcl_mobitems_rabbit_foot.png",
groups = { brewitem = 1 },
stack_max = 64,
stack_max = 69,
})
minetest.register_craftitem("mcl_mobitems:saddle", {
@ -356,7 +356,7 @@ minetest.register_craftitem("mcl_mobitems:gunpowder", {
description = S("Gunpowder"),
_doc_items_longdesc = doc.sub.items.temp.craftitem,
inventory_image = "default_gunpowder.png",
stack_max = 64,
stack_max = 69,
groups = { craftitem=1, brewitem = 1 },
})

View File

@ -11,7 +11,7 @@ minetest.register_node("mcl_nether:glowstone", {
_doc_items_longdesc = S("Glowstone is a naturally-glowing block which is home to the Nether."),
tiles = {"mcl_nether_glowstone.png"},
is_ground_content = true,
stack_max = 64,
stack_max = 69,
groups = {handy=1,building_block=1, material_glass=1},
drop = {
max_items = 1,
@ -39,7 +39,7 @@ minetest.register_node("mcl_nether:glowstone", {
minetest.register_node("mcl_nether:quartz_ore", {
description = S("Nether Quartz Ore"),
_doc_items_longdesc = S("Nether quartz ore is an ore containing nether quartz. It is commonly found around netherrack in the Nether."),
stack_max = 64,
stack_max = 69,
tiles = {"mcl_nether_quartz_ore.png"},
is_ground_content = true,
groups = {pickaxey=1, building_block=1, material_stone=1, xp=3},
@ -80,7 +80,7 @@ end
minetest.register_node("mcl_nether:netherrack", {
description = S("Netherrack"),
_doc_items_longdesc = S("Netherrack is a stone-like block home to the Nether. Starting a fire on this block will create an eternal fire."),
stack_max = 64,
stack_max = 69,
tiles = {"mcl_nether_netherrack.png"},
is_ground_content = true,
groups = {pickaxey=1, building_block=1, material_stone=1, enderman_takable=1},
@ -97,7 +97,7 @@ minetest.register_node("mcl_nether:magma", {
description = S("Magma Block"),
_tt_help = minetest.colorize(mcl_colors.YELLOW, S("Burns your feet")),
_doc_items_longdesc = S("Magma blocks are hot solid blocks which hurt anyone standing on it, unless they have fire resistance. Starting a fire on this block will create an eternal fire."),
stack_max = 64,
stack_max = 69,
tiles = {{name="mcl_nether_magma.png", animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=1.5}}},
is_ground_content = true,
light_source = 3,
@ -126,7 +126,7 @@ minetest.register_node("mcl_nether:soul_sand", {
description = S("Soul Sand"),
_tt_help = S("Reduces walking speed"),
_doc_items_longdesc = S("Soul sand is a block from the Nether. One can only slowly walk on soul sand. The slowing effect is amplified when the soul sand is on top of ice, packed ice or a slime block."),
stack_max = 64,
stack_max = 69,
tiles = {"mcl_nether_soul_sand.png"},
is_ground_content = true,
groups = {handy=1,shovely=1, building_block=1,soil_nether_wart=1, material_sand=1},
@ -144,7 +144,7 @@ minetest.register_node("mcl_nether:nether_brick", {
-- Original name: Nether Brick
description = S("Nether Brick Block"),
_doc_items_longdesc = doc.sub.items.temp.build,
stack_max = 64,
stack_max = 69,
tiles = {"mcl_nether_nether_brick.png"},
is_ground_content = false,
groups = {pickaxey=1, building_block=1, material_stone=1},
@ -157,7 +157,7 @@ minetest.register_node("mcl_nether:red_nether_brick", {
-- Original name: Red Nether Brick
description = S("Red Nether Brick Block"),
_doc_items_longdesc = doc.sub.items.temp.build,
stack_max = 64,
stack_max = 69,
tiles = {"mcl_nether_red_nether_brick.png"},
is_ground_content = false,
groups = {pickaxey=1, building_block=1, material_stone=1},
@ -170,7 +170,7 @@ minetest.register_node("mcl_nether:red_nether_brick", {
minetest.register_node("mcl_nether:nether_wart_block", {
description = S("Nether Wart Block"),
_doc_items_longdesc = S("A nether wart block is a purely decorative block made from nether wart."),
stack_max = 64,
stack_max = 69,
tiles = {"mcl_nether_nether_wart_block.png"},
is_ground_content = false,
groups = {handy=1, hoey=1, building_block=1},
@ -187,7 +187,7 @@ minetest.register_node("mcl_nether:nether_wart_block", {
minetest.register_node("mcl_nether:quartz_block", {
description = S("Block of Quartz"),
_doc_items_longdesc = doc.sub.items.temp.build,
stack_max = 64,
stack_max = 69,
is_ground_content = false,
tiles = {"mcl_nether_quartz_block_top.png", "mcl_nether_quartz_block_bottom.png", "mcl_nether_quartz_block_side.png"},
groups = {pickaxey=1, quartz_block=1,building_block=1, material_stone=1},
@ -199,7 +199,7 @@ minetest.register_node("mcl_nether:quartz_block", {
minetest.register_node("mcl_nether:quartz_chiseled", {
description = S("Chiseled Quartz Block"),
_doc_items_longdesc = doc.sub.items.temp.build,
stack_max = 64,
stack_max = 69,
is_ground_content = false,
tiles = {"mcl_nether_quartz_chiseled_top.png", "mcl_nether_quartz_chiseled_top.png", "mcl_nether_quartz_chiseled_side.png"},
groups = {pickaxey=1, quartz_block=1,building_block=1, material_stone=1},
@ -211,7 +211,7 @@ minetest.register_node("mcl_nether:quartz_chiseled", {
minetest.register_node("mcl_nether:quartz_pillar", {
description = S("Pillar Quartz Block"),
_doc_items_longdesc = doc.sub.items.temp.build,
stack_max = 64,
stack_max = 69,
paramtype2 = "facedir",
is_ground_content = false,
on_place = mcl_util.rotate_axis,
@ -225,7 +225,7 @@ minetest.register_node("mcl_nether:quartz_pillar", {
minetest.register_node("mcl_nether:quartz_smooth", {
description = S("Smooth Quartz"),
_doc_items_longdesc = doc.sub.items.temp.build,
stack_max = 64,
stack_max = 69,
is_ground_content = false,
tiles = {"mcl_nether_quartz_block_bottom.png"},
groups = {pickaxey=1, quartz_block=1,building_block=1, material_stone=1},
@ -238,7 +238,7 @@ minetest.register_craftitem("mcl_nether:glowstone_dust", {
description = S("Glowstone Dust"),
_doc_items_longdesc = S("Glowstone dust is the dust which comes out of broken glowstones. It is mainly used in crafting."),
inventory_image = "mcl_nether_glowstone_dust.png",
stack_max = 64,
stack_max = 69,
groups = { craftitem=1, brewitem=1 },
})
@ -246,7 +246,7 @@ minetest.register_craftitem("mcl_nether:quartz", {
description = S("Nether Quartz"),
_doc_items_longdesc = S("Nether quartz is a versatile crafting ingredient."),
inventory_image = "mcl_nether_quartz.png",
stack_max = 64,
stack_max = 69,
groups = { craftitem = 1 },
})
@ -254,7 +254,7 @@ minetest.register_craftitem("mcl_nether:netherbrick", {
description = S("Nether Brick"),
_doc_items_longdesc = S("Nether bricks are the main crafting ingredient for crafting nether brick blocks and nether fences."),
inventory_image = "mcl_nether_netherbrick.png",
stack_max = 64,
stack_max = 69,
groups = { craftitem = 1 },
})

View File

@ -7,7 +7,7 @@ minetest.register_node("mcl_ocean:sea_lantern", {
_doc_items_longdesc = S("Sea lanterns are decorative light sources which look great underwater but can be placed anywhere."),
paramtype2 = "facedir",
is_ground_content = false,
stack_max = 64,
stack_max = 69,
light_source = minetest.LIGHT_MAX,
drop = {
max_items = 1,
@ -34,7 +34,7 @@ minetest.register_node("mcl_ocean:sea_lantern", {
minetest.register_node("mcl_ocean:prismarine", {
description = S("Prismarine"),
_doc_items_longdesc = S("Prismarine is used as a building block. It slowly changes its color."),
stack_max = 64,
stack_max = 69,
is_ground_content = false,
-- Texture should have 22 frames for smooth transitions.
tiles = {{name="mcl_ocean_prismarine_anim.png", animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=45.0}}},
@ -47,7 +47,7 @@ minetest.register_node("mcl_ocean:prismarine", {
minetest.register_node("mcl_ocean:prismarine_brick", {
description = S("Prismarine Bricks"),
_doc_items_longdesc = doc.sub.items.temp.build,
stack_max = 64,
stack_max = 69,
is_ground_content = false,
tiles = {"mcl_ocean_prismarine_bricks.png"},
groups = {pickaxey=1, building_block=1, material_stone=1},
@ -59,7 +59,7 @@ minetest.register_node("mcl_ocean:prismarine_brick", {
minetest.register_node("mcl_ocean:prismarine_dark", {
description = S("Dark Prismarine"),
_doc_items_longdesc = doc.sub.items.temp.build,
stack_max = 64,
stack_max = 69,
is_ground_content = false,
tiles = {"mcl_ocean_prismarine_dark.png"},
groups = {pickaxey=1, building_block=1, material_stone=1},
@ -74,7 +74,7 @@ minetest.register_craftitem("mcl_ocean:prismarine_crystals", {
description = S("Prismarine Crystals"),
_doc_items_longdesc = doc.sub.items.temp.craftitem,
inventory_image = "mcl_ocean_prismarine_crystals.png",
stack_max = 64,
stack_max = 69,
groups = { craftitem = 1 },
})
@ -82,7 +82,7 @@ minetest.register_craftitem("mcl_ocean:prismarine_shard", {
description = S("Prismarine Shard"),
_doc_items_longdesc = doc.sub.items.temp.craftitem,
inventory_image = "mcl_ocean_prismarine_shard.png",
stack_max = 64,
stack_max = 69,
groups = { craftitem = 1 },
})

View File

@ -32,7 +32,7 @@ minetest.register_craftitem("mcl_potions:fermented_spider_eye", {
wield_image = "mcl_potions_spider_eye_fermented.png",
inventory_image = "mcl_potions_spider_eye_fermented.png",
groups = { brewitem = 1, },
stack_max = 64,
stack_max = 69,
})
minetest.register_craft({
@ -307,7 +307,7 @@ mcl_potions.register_lingering("water", S("Lingering Water Bottle"), "#0022FF",
minetest.register_craftitem("mcl_potions:speckled_melon", {
description = S("Glistering Melon"),
_doc_items_longdesc = S("This shiny melon is full of tiny gold nuggets and would be nice in an item frame. It isn't edible and not useful for anything else."),
stack_max = 64,
stack_max = 69,
groups = { brewitem = 1, },
inventory_image = "mcl_potions_melon_speckled.png",
})

View File

@ -450,7 +450,7 @@ local dragon_breath_def = {
image = "mcl_potions_dragon_breath.png",
groups = { brewitem = 1 },
on_use = nil,
stack_max = 64,
stack_max = 69,
}
local healing_def = {

View File

@ -46,7 +46,7 @@ minetest.register_node("mcl_sponges:sponge", {
pointable = true,
diggable = true,
buildable_to = false,
stack_max = 64,
stack_max = 69,
sounds = mcl_sounds.node_sound_dirt_defaults(),
groups = {handy=1, hoey=1, building_block=1},
on_place = function(itemstack, placer, pointed_thing)
@ -153,7 +153,7 @@ minetest.register_node("mcl_sponges:sponge_wet", {
pointable = true,
diggable = true,
buildable_to = false,
stack_max = 64,
stack_max = 69,
sounds = mcl_sounds.node_sound_dirt_defaults(),
groups = {handy=1, hoey=1, building_block=1},
on_place = place_wet_sponge,
@ -173,7 +173,7 @@ if minetest.get_modpath("mclx_core") then
pointable = true,
diggable = true,
buildable_to = false,
stack_max = 64,
stack_max = 69,
sounds = mcl_sounds.node_sound_dirt_defaults(),
groups = {handy=1, building_block=1},
on_place = place_wet_sponge,

View File

@ -60,7 +60,7 @@ minetest.register_node("mcl_tnt:tnt", {
"default_tnt_side.png", "default_tnt_side.png",
"default_tnt_side.png", "default_tnt_side.png"},
is_ground_content = false,
stack_max = 64,
stack_max = 69,
description = S("TNT"),
paramtype = "light",
sunlight_propagates = true,

View File

@ -242,7 +242,7 @@ function mcl_walls.register_wall(nodename, description, source, tiles, inventory
tiles = tiles,
use_texture_alpha = minetest.features.use_texture_alpha_string_modes and "opaque" or false,
inventory_image = inventory_image,
stack_max = 64,
stack_max = 69,
drawtype = "nodebox",
node_box = {
type = "fixed",

View File

@ -57,7 +57,7 @@ for _, row in ipairs(wool.dyes) do
_doc_items_create_entry = create_entry,
_doc_items_entry_name = name_wool,
_doc_items_longdesc = longdesc_wool,
stack_max = 64,
stack_max = 69,
is_ground_content = false,
tiles = {texture..".png"},
groups = {handy=1,shearsy_wool=1, flammable=1,fire_encouragement=30, fire_flammability=60, wool=1,building_block=1,[color_group]=1},
@ -80,7 +80,7 @@ for _, row in ipairs(wool.dyes) do
sounds = mcl_sounds.node_sound_wool_defaults(),
paramtype = "light",
sunlight_propagates = true,
stack_max = 64,
stack_max = 69,
drawtype = "nodebox",
node_box = {
type = "fixed",

View File

@ -21,7 +21,7 @@ minetest.register_node("mcl_villages:stonebrickcarved", {
description = ("Chiseled Stone Village Bricks"),
_doc_items_longdesc = doc.sub.items.temp.build,
tiles = {"mcl_core_stonebrick_carved.png"},
stack_max = 64,
stack_max = 69,
drop = "mcl_core:stonebrickcarved",
groups = {pickaxey=1, stone=1, stonebrick=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),