Make it easier to see full stacks by allowing stacking up to 10000.

This commit is contained in:
Calinou 2014-05-04 10:02:57 +02:00
parent 82789117d4
commit f405ae1595

View File

@ -40,7 +40,7 @@ minetest.register_craft({
minetest.register_node("maptools:stone", { minetest.register_node("maptools:stone", {
description = S("Unbreakable Stone"), description = S("Unbreakable Stone"),
range = 12, range = 12,
stack_max = 9999, stack_max = 10000,
tiles = {"default_stone.png"}, tiles = {"default_stone.png"},
drop = "", drop = "",
groups = {unbreakable=1, not_in_creative_inventory = maptools_creative}, groups = {unbreakable=1, not_in_creative_inventory = maptools_creative},
@ -50,7 +50,7 @@ minetest.register_node("maptools:stone", {
minetest.register_node("maptools:tree", { minetest.register_node("maptools:tree", {
description = S("Unbreakable Tree"), description = S("Unbreakable Tree"),
range = 12, range = 12,
stack_max = 9999, stack_max = 10000,
tiles = {"default_tree.png"}, tiles = {"default_tree.png"},
drop = "", drop = "",
groups = {unbreakable=1, not_in_creative_inventory = maptools_creative}, groups = {unbreakable=1, not_in_creative_inventory = maptools_creative},
@ -60,7 +60,7 @@ minetest.register_node("maptools:tree", {
minetest.register_node("maptools:dirt", { minetest.register_node("maptools:dirt", {
description = S("Unbreakable Dirt"), description = S("Unbreakable Dirt"),
range = 12, range = 12,
stack_max = 9999, stack_max = 10000,
tiles = {"default_dirt.png"}, tiles = {"default_dirt.png"},
drop = "", drop = "",
groups = {unbreakable=1, not_in_creative_inventory = maptools_creative}, groups = {unbreakable=1, not_in_creative_inventory = maptools_creative},
@ -70,7 +70,7 @@ minetest.register_node("maptools:dirt", {
minetest.register_node("maptools:wood", { minetest.register_node("maptools:wood", {
description = S("Unbreakable Wooden Planks"), description = S("Unbreakable Wooden Planks"),
range = 12, range = 12,
stack_max = 9999, stack_max = 10000,
tiles = {"default_wood.png"}, tiles = {"default_wood.png"},
drop = "", drop = "",
groups = {unbreakable=1, not_in_creative_inventory = maptools_creative}, groups = {unbreakable=1, not_in_creative_inventory = maptools_creative},
@ -80,7 +80,7 @@ minetest.register_node("maptools:wood", {
minetest.register_node("maptools:glass", { minetest.register_node("maptools:glass", {
description = S("Unbreakable Glass"), description = S("Unbreakable Glass"),
range = 12, range = 12,
stack_max = 9999, stack_max = 10000,
drawtype = "glasslike", drawtype = "glasslike",
tiles = {"default_glass.png"}, tiles = {"default_glass.png"},
paramtype = "light", paramtype = "light",
@ -93,7 +93,7 @@ minetest.register_node("maptools:glass", {
minetest.register_node("maptools:leaves", { minetest.register_node("maptools:leaves", {
description = S("Unbreakable Leaves"), description = S("Unbreakable Leaves"),
range = 12, range = 12,
stack_max = 9999, stack_max = 10000,
drawtype = "allfaces_optional", drawtype = "allfaces_optional",
tiles = {"default_leaves.png"}, tiles = {"default_leaves.png"},
paramtype = "light", paramtype = "light",
@ -105,7 +105,7 @@ minetest.register_node("maptools:leaves", {
minetest.register_node("maptools:sand", { minetest.register_node("maptools:sand", {
description = S("Unbreakable Sand"), description = S("Unbreakable Sand"),
range = 12, range = 12,
stack_max = 9999, stack_max = 10000,
tiles = {"default_sand.png"}, tiles = {"default_sand.png"},
drop = "", drop = "",
groups = {unbreakable=1, not_in_creative_inventory = maptools_creative}, groups = {unbreakable=1, not_in_creative_inventory = maptools_creative},
@ -115,7 +115,7 @@ minetest.register_node("maptools:sand", {
minetest.register_node("maptools:gravel", { minetest.register_node("maptools:gravel", {
description = S("Unbreakable Gravel"), description = S("Unbreakable Gravel"),
range = 12, range = 12,
stack_max = 9999, stack_max = 10000,
tiles = {"default_gravel.png"}, tiles = {"default_gravel.png"},
drop = "", drop = "",
groups = {unbreakable=1, not_in_creative_inventory = maptools_creative}, groups = {unbreakable=1, not_in_creative_inventory = maptools_creative},
@ -128,7 +128,7 @@ minetest.register_node("maptools:gravel", {
minetest.register_node("maptools:desert_sand", { minetest.register_node("maptools:desert_sand", {
description = S("Unbreakable Desert Sand"), description = S("Unbreakable Desert Sand"),
range = 12, range = 12,
stack_max = 9999, stack_max = 10000,
tiles = {"default_desert_sand.png"}, tiles = {"default_desert_sand.png"},
drop = "", drop = "",
groups = {unbreakable=1, not_in_creative_inventory = maptools_creative}, groups = {unbreakable=1, not_in_creative_inventory = maptools_creative},
@ -138,7 +138,7 @@ minetest.register_node("maptools:desert_sand", {
minetest.register_node("maptools:sandstone", { minetest.register_node("maptools:sandstone", {
description = S("Unbreakable Sandstone"), description = S("Unbreakable Sandstone"),
range = 12, range = 12,
stack_max = 9999, stack_max = 10000,
tiles = {"default_sandstone.png"}, tiles = {"default_sandstone.png"},
drop = "", drop = "",
groups = {unbreakable=1, not_in_creative_inventory = maptools_creative}, groups = {unbreakable=1, not_in_creative_inventory = maptools_creative},
@ -148,7 +148,7 @@ minetest.register_node("maptools:sandstone", {
minetest.register_node("maptools:desert_stone", { minetest.register_node("maptools:desert_stone", {
description = S("Unbreakable Desert Stone"), description = S("Unbreakable Desert Stone"),
range = 12, range = 12,
stack_max = 9999, stack_max = 10000,
tiles = {"default_desert_stone.png"}, tiles = {"default_desert_stone.png"},
drop = "", drop = "",
groups = {unbreakable=1, not_in_creative_inventory = maptools_creative}, groups = {unbreakable=1, not_in_creative_inventory = maptools_creative},
@ -158,7 +158,7 @@ minetest.register_node("maptools:desert_stone", {
minetest.register_node("maptools:grass", { minetest.register_node("maptools:grass", {
description = S("Unbreakable Dirt with Grass"), description = S("Unbreakable Dirt with Grass"),
range = 12, range = 12,
stack_max = 9999, stack_max = 10000,
tiles = {"default_grass.png", "default_dirt.png", "default_dirt.png^default_grass_side.png"}, tiles = {"default_grass.png", "default_dirt.png", "default_dirt.png^default_grass_side.png"},
drop = "", drop = "",
groups = {unbreakable=1, not_in_creative_inventory = maptools_creative}, groups = {unbreakable=1, not_in_creative_inventory = maptools_creative},
@ -170,7 +170,7 @@ minetest.register_node("maptools:grass", {
minetest.register_node("maptools:fullgrass", { minetest.register_node("maptools:fullgrass", {
description = S("Unbreakable Full Grass"), description = S("Unbreakable Full Grass"),
range = 12, range = 12,
stack_max = 9999, stack_max = 10000,
tiles = {"default_grass.png"}, tiles = {"default_grass.png"},
drop = "", drop = "",
groups = {unbreakable=1, not_in_creative_inventory = maptools_creative}, groups = {unbreakable=1, not_in_creative_inventory = maptools_creative},
@ -182,7 +182,7 @@ minetest.register_node("maptools:fullgrass", {
minetest.register_node("maptools:cobble", { minetest.register_node("maptools:cobble", {
description = S("Unbreakable Cobblestone"), description = S("Unbreakable Cobblestone"),
range = 12, range = 12,
stack_max = 9999, stack_max = 10000,
tiles = {"default_cobble.png"}, tiles = {"default_cobble.png"},
drop = "", drop = "",
groups = {unbreakable=1, not_in_creative_inventory = maptools_creative}, groups = {unbreakable=1, not_in_creative_inventory = maptools_creative},
@ -192,7 +192,7 @@ minetest.register_node("maptools:cobble", {
minetest.register_node("maptools:mossycobble", { minetest.register_node("maptools:mossycobble", {
description = S("Unbreakable Mossy Cobblestone"), description = S("Unbreakable Mossy Cobblestone"),
range = 12, range = 12,
stack_max = 9999, stack_max = 10000,
tiles = {"default_mossycobble.png"}, tiles = {"default_mossycobble.png"},
drop = "", drop = "",
groups = {unbreakable=1, not_in_creative_inventory = maptools_creative}, groups = {unbreakable=1, not_in_creative_inventory = maptools_creative},
@ -202,7 +202,7 @@ minetest.register_node("maptools:mossycobble", {
minetest.register_node("maptools:brick", { minetest.register_node("maptools:brick", {
description = S("Unbreakable Brick"), description = S("Unbreakable Brick"),
range = 12, range = 12,
stack_max = 9999, stack_max = 10000,
tiles = {"default_brick.png"}, tiles = {"default_brick.png"},
drop = "", drop = "",
groups = {unbreakable=1, not_in_creative_inventory = maptools_creative}, groups = {unbreakable=1, not_in_creative_inventory = maptools_creative},
@ -212,7 +212,7 @@ minetest.register_node("maptools:brick", {
minetest.register_node("maptools:playerclip", { minetest.register_node("maptools:playerclip", {
description = S("Player Clip"), description = S("Player Clip"),
range = 12, range = 12,
stack_max = 9999, stack_max = 10000,
inventory_image = "default_steel_block.png^dye_green.png", inventory_image = "default_steel_block.png^dye_green.png",
drawtype = "airlike", drawtype = "airlike",
paramtype = "light", paramtype = "light",
@ -225,7 +225,7 @@ minetest.register_node("maptools:playerclip", {
minetest.register_node("maptools:fullclip", { minetest.register_node("maptools:fullclip", {
description = S("Full Clip"), description = S("Full Clip"),
range = 12, range = 12,
stack_max = 9999, stack_max = 10000,
inventory_image = "default_steel_block.png^dye_blue.png", inventory_image = "default_steel_block.png^dye_blue.png",
drawtype = "airlike", drawtype = "airlike",
paramtype = "light", paramtype = "light",
@ -237,7 +237,7 @@ minetest.register_node("maptools:fullclip", {
minetest.register_node("maptools:fullclip_face", { minetest.register_node("maptools:fullclip_face", {
description = S("Full Clip Face"), description = S("Full Clip Face"),
range = 12, range = 12,
stack_max = 9999, stack_max = 10000,
inventory_image = "default_steel_block.png^dye_white.png", inventory_image = "default_steel_block.png^dye_white.png",
drawtype = "nodebox", drawtype = "nodebox",
tiles = {"invisible.png"}, tiles = {"invisible.png"},
@ -255,7 +255,7 @@ minetest.register_node("maptools:fullclip_face", {
minetest.register_node("maptools:playerclip_bottom", { minetest.register_node("maptools:playerclip_bottom", {
description = S("Player Clip Bottom Face"), description = S("Player Clip Bottom Face"),
range = 12, range = 12,
stack_max = 9999, stack_max = 10000,
inventory_image = "default_steel_block.png^dye_orange.png", inventory_image = "default_steel_block.png^dye_orange.png",
drawtype = "nodebox", drawtype = "nodebox",
tiles = {"invisible.png"}, tiles = {"invisible.png"},
@ -273,7 +273,7 @@ minetest.register_node("maptools:playerclip_bottom", {
minetest.register_node("maptools:playerclip_top", { minetest.register_node("maptools:playerclip_top", {
description = S("Player Clip Top Face"), description = S("Player Clip Top Face"),
range = 12, range = 12,
stack_max = 9999, stack_max = 10000,
inventory_image = "default_steel_block.png^dye_yellow.png", inventory_image = "default_steel_block.png^dye_yellow.png",
drawtype = "nodebox", drawtype = "nodebox",
tiles = {"invisible.png"}, tiles = {"invisible.png"},
@ -292,7 +292,7 @@ for pusher_num=1,10,1 do
minetest.register_node("maptools:pusher_" .. pusher_num, { minetest.register_node("maptools:pusher_" .. pusher_num, {
description = S("Pusher (%s)"):format(pusher_num), description = S("Pusher (%s)"):format(pusher_num),
range = 12, range = 12,
stack_max = 9999, stack_max = 10000,
inventory_image = "default_steel_block.png^default_apple.png", inventory_image = "default_steel_block.png^default_apple.png",
drawtype = "nodebox", drawtype = "nodebox",
tiles = {"invisible.png"}, tiles = {"invisible.png"},
@ -311,7 +311,7 @@ end
minetest.register_node("maptools:lightbulb", { minetest.register_node("maptools:lightbulb", {
description = S("Light Bulb"), description = S("Light Bulb"),
range = 12, range = 12,
stack_max = 9999, stack_max = 10000,
inventory_image = "default_steel_block.png^default_mese_crystal_fragment.png", inventory_image = "default_steel_block.png^default_mese_crystal_fragment.png",
drawtype = "airlike", drawtype = "airlike",
walkable = false, walkable = false,
@ -327,7 +327,7 @@ minetest.register_node("maptools:lightbulb", {
minetest.register_node("maptools:nobuild", { minetest.register_node("maptools:nobuild", {
description = S("Build Prevention"), description = S("Build Prevention"),
range = 12, range = 12,
stack_max = 9999, stack_max = 10000,
inventory_image = "default_steel_block.png^bones_bones.png", inventory_image = "default_steel_block.png^bones_bones.png",
drawtype = "airlike", drawtype = "airlike",
walkable = false, walkable = false,
@ -341,7 +341,7 @@ minetest.register_node("maptools:nobuild", {
minetest.register_node("maptools:nointeract", { minetest.register_node("maptools:nointeract", {
description = S("Interact Prevention"), description = S("Interact Prevention"),
range = 12, range = 12,
stack_max = 9999, stack_max = 10000,
inventory_image = "default_steel_block.png^default_scorched_stuff.png", inventory_image = "default_steel_block.png^default_scorched_stuff.png",
drawtype = "airlike", drawtype = "airlike",
walkable = false, walkable = false,
@ -354,7 +354,7 @@ minetest.register_node("maptools:nointeract", {
minetest.register_node("maptools:climb", { minetest.register_node("maptools:climb", {
description = S("Climb Block"), description = S("Climb Block"),
range = 12, range = 12,
stack_max = 9999, stack_max = 10000,
inventory_image = "default_steel_block.png^default_ladder.png", inventory_image = "default_steel_block.png^default_ladder.png",
drawtype = "airlike", drawtype = "airlike",
walkable = false, walkable = false,
@ -371,7 +371,7 @@ for damage_num=1,5,1 do
minetest.register_node("maptools:damage_" .. damage_num, { minetest.register_node("maptools:damage_" .. damage_num, {
description = S("Damaging Block (%s)"):format(damage_num), description = S("Damaging Block (%s)"):format(damage_num),
range = 12, range = 12,
stack_max = 9999, stack_max = 10000,
inventory_image = "default_steel_block.png^farming_cotton_" .. damage_num .. ".png", inventory_image = "default_steel_block.png^farming_cotton_" .. damage_num .. ".png",
drawtype = "airlike", drawtype = "airlike",
walkable = false, walkable = false,
@ -387,7 +387,7 @@ end
minetest.register_node("maptools:kill", { minetest.register_node("maptools:kill", {
description = S("Kill Block"), description = S("Kill Block"),
range = 12, range = 12,
stack_max = 9999, stack_max = 10000,
inventory_image = "default_steel_block.png^dye_black.png", inventory_image = "default_steel_block.png^dye_black.png",
drawtype = "airlike", drawtype = "airlike",
walkable = false, walkable = false,
@ -402,7 +402,7 @@ minetest.register_node("maptools:kill", {
minetest.register_node("maptools:smoke", { minetest.register_node("maptools:smoke", {
description = S("Smoke Block"), description = S("Smoke Block"),
range = 12, range = 12,
stack_max = 9999, stack_max = 10000,
tiles = {"maptools_smoke.png"}, tiles = {"maptools_smoke.png"},
drawtype = "allfaces_optional", drawtype = "allfaces_optional",
walkable = false, walkable = false,
@ -415,7 +415,7 @@ minetest.register_node("maptools:smoke", {
minetest.register_node("maptools:ladder", { minetest.register_node("maptools:ladder", {
description = S("Fake Ladder"), description = S("Fake Ladder"),
range = 12, range = 12,
stack_max = 9999, stack_max = 10000,
drawtype = "signlike", drawtype = "signlike",
tiles = {"default_ladder.png"}, tiles = {"default_ladder.png"},
inventory_image = "default_ladder.png", inventory_image = "default_ladder.png",
@ -435,7 +435,7 @@ minetest.register_node("maptools:ladder", {
minetest.register_node("maptools:permanent_fire", { minetest.register_node("maptools:permanent_fire", {
description = S("Permanent Fire"), description = S("Permanent Fire"),
range = 12, range = 12,
stack_max = 9999, stack_max = 10000,
drawtype = "plantlike", drawtype = "plantlike",
paramtype = "light", paramtype = "light",
tiles = {{ tiles = {{
@ -454,7 +454,7 @@ minetest.register_node("maptools:permanent_fire", {
minetest.register_node("maptools:fake_fire", { minetest.register_node("maptools:fake_fire", {
description = S("Fake Fire"), description = S("Fake Fire"),
range = 12, range = 12,
stack_max = 9999, stack_max = 10000,
drawtype = "plantlike", drawtype = "plantlike",
paramtype = "light", paramtype = "light",
tiles = {{ tiles = {{
@ -472,7 +472,7 @@ minetest.register_node("maptools:fake_fire", {
minetest.register_node("maptools:igniter", { minetest.register_node("maptools:igniter", {
drawtype = "airlike", drawtype = "airlike",
range = 12, range = 12,
stack_max = 9999, stack_max = 10000,
inventory_image = "default_steel_block.png^crosshair.png", inventory_image = "default_steel_block.png^crosshair.png",
description = S("Igniter"), description = S("Igniter"),
paramtype = "light", paramtype = "light",
@ -487,7 +487,7 @@ minetest.register_node("maptools:igniter", {
minetest.register_node("maptools:superapple", { minetest.register_node("maptools:superapple", {
description = S("Super Apple"), description = S("Super Apple"),
range = 12, range = 12,
stack_max = 9999, stack_max = 10000,
drawtype = "plantlike", drawtype = "plantlike",
visual_scale = 1.0, visual_scale = 1.0,
tiles = {"maptools_superapple.png"}, tiles = {"maptools_superapple.png"},
@ -505,28 +505,28 @@ minetest.register_node("maptools:superapple", {
minetest.register_craftitem("maptools:copper_coin", { minetest.register_craftitem("maptools:copper_coin", {
description = S("Copper Coin"), description = S("Copper Coin"),
inventory_image = "maptools_copper_coin.png", inventory_image = "maptools_copper_coin.png",
stack_max = 9999, stack_max = 10000,
groups = {not_in_creative_inventory = maptools_creative}, groups = {not_in_creative_inventory = maptools_creative},
}) })
minetest.register_craftitem("maptools:silver_coin", { minetest.register_craftitem("maptools:silver_coin", {
description = S("Silver Coin"), description = S("Silver Coin"),
inventory_image = "maptools_silver_coin.png", inventory_image = "maptools_silver_coin.png",
stack_max = 9999, stack_max = 10000,
groups = {not_in_creative_inventory = maptools_creative}, groups = {not_in_creative_inventory = maptools_creative},
}) })
minetest.register_craftitem("maptools:gold_coin", { minetest.register_craftitem("maptools:gold_coin", {
description = S("Gold Coin"), description = S("Gold Coin"),
inventory_image = "maptools_gold_coin.png", inventory_image = "maptools_gold_coin.png",
stack_max = 9999, stack_max = 10000,
groups = {not_in_creative_inventory = maptools_creative}, groups = {not_in_creative_inventory = maptools_creative},
}) })
minetest.register_craftitem("maptools:infinitefuel", { minetest.register_craftitem("maptools:infinitefuel", {
description = S("Infinite Fuel"), description = S("Infinite Fuel"),
inventory_image = "maptools_infinitefuel.png", inventory_image = "maptools_infinitefuel.png",
stack_max = 9999, stack_max = 10000,
groups = {not_in_creative_inventory = maptools_creative}, groups = {not_in_creative_inventory = maptools_creative},
}) })