Rename lump_of_* to *_lump

This commit is contained in:
Perttu Ahola 2011-12-03 22:31:12 +02:00
parent 2620e8eada
commit 03074cd23e
6 changed files with 18 additions and 18 deletions

@ -553,7 +553,7 @@ minetest.register_craft({
minetest.register_craft({ minetest.register_craft({
output = 'node "default:torch" 4', output = 'node "default:torch" 4',
recipe = { recipe = {
{'craft "default:lump_of_coal"'}, {'craft "default:coal_lump"'},
{'craft "default:stick"'}, {'craft "default:stick"'},
} }
}) })
@ -731,8 +731,8 @@ minetest.register_craft({
minetest.register_craft({ minetest.register_craft({
output = 'node "default:clay" 1', output = 'node "default:clay" 1',
recipe = { recipe = {
{'craft "default:lump_of_clay"', 'craft "default:lump_of_clay"'}, {'craft "default:clay_lump"', 'craft "default:clay_lump"'},
{'craft "default:lump_of_clay"', 'craft "default:lump_of_clay"'}, {'craft "default:clay_lump"', 'craft "default:clay_lump"'},
} }
}) })
@ -843,7 +843,7 @@ minetest.register_node("default:clay", {
inventory_image = minetest.inventorycube("default_clay.png"), inventory_image = minetest.inventorycube("default_clay.png"),
is_ground_content = true, is_ground_content = true,
material = minetest.digprop_dirtlike(1.0), material = minetest.digprop_dirtlike(1.0),
dug_item = 'craft "default:lump_of_clay" 4', dug_item = 'craft "default:clay_lump" 4',
}) })
minetest.register_node("default:brick", { minetest.register_node("default:brick", {
@ -859,7 +859,7 @@ minetest.register_node("default:tree", {
inventory_image = minetest.inventorycube("default_tree_top.png", "default_tree.png", "default_tree.png"), inventory_image = minetest.inventorycube("default_tree_top.png", "default_tree.png", "default_tree.png"),
is_ground_content = true, is_ground_content = true,
material = minetest.digprop_woodlike(1.0), material = minetest.digprop_woodlike(1.0),
cookresult_itemstring = 'craft "default:lump_of_coal" 1', cookresult_itemstring = 'craft "default:coal_lump" 1',
furnace_burntime = 30, furnace_burntime = 30,
}) })
@ -868,7 +868,7 @@ minetest.register_node("default:jungletree", {
inventory_image = minetest.inventorycube("default_jungletree_top.png", "default_jungletree.png", "default_jungletree.png"), inventory_image = minetest.inventorycube("default_jungletree_top.png", "default_jungletree.png", "default_jungletree.png"),
is_ground_content = true, is_ground_content = true,
material = minetest.digprop_woodlike(1.0), material = minetest.digprop_woodlike(1.0),
cookresult_itemstring = 'craft "default:lump_of_coal" 1', cookresult_itemstring = 'craft "default:coal_lump" 1',
furnace_burntime = 30, furnace_burntime = 30,
}) })
@ -1252,20 +1252,20 @@ minetest.register_craftitem("default:book", {
on_place_on_ground = minetest.craftitem_place_item, on_place_on_ground = minetest.craftitem_place_item,
}) })
minetest.register_craftitem("default:lump_of_coal", { minetest.register_craftitem("default:coal_lump", {
image = "default_lump_of_coal.png", image = "default_coal_lump.png",
furnace_burntime = 40; furnace_burntime = 40;
on_place_on_ground = minetest.craftitem_place_item, on_place_on_ground = minetest.craftitem_place_item,
}) })
minetest.register_craftitem("default:lump_of_iron", { minetest.register_craftitem("default:iron_lump", {
image = "default_lump_of_iron.png", image = "default_iron_lump.png",
cookresult_itemstring = 'craft "default:steel_ingot" 1', cookresult_itemstring = 'craft "default:steel_ingot" 1',
on_place_on_ground = minetest.craftitem_place_item, on_place_on_ground = minetest.craftitem_place_item,
}) })
minetest.register_craftitem("default:lump_of_clay", { minetest.register_craftitem("default:clay_lump", {
image = "default_lump_of_clay.png", image = "default_clay_lump.png",
cookresult_itemstring = 'craft "default:clay_brick" 1', cookresult_itemstring = 'craft "default:clay_brick" 1',
on_place_on_ground = minetest.craftitem_place_item, on_place_on_ground = minetest.craftitem_place_item,
}) })

Before

Width:  |  Height:  |  Size: 210 B

After

Width:  |  Height:  |  Size: 210 B

Before

Width:  |  Height:  |  Size: 933 B

After

Width:  |  Height:  |  Size: 933 B

Before

Width:  |  Height:  |  Size: 936 B

After

Width:  |  Height:  |  Size: 936 B

@ -149,7 +149,7 @@ minetest.register_craft({
output = 'node "experimental:tnt" 4', output = 'node "experimental:tnt" 4',
recipe = { recipe = {
{'node "default:wood" 1'}, {'node "default:wood" 1'},
{'craft "default:lump_of_coal" 1'}, {'craft "default:coal_lump" 1'},
{'node "default:wood" 1'} {'node "default:wood" 1'}
} }
}) })

@ -526,7 +526,7 @@ minetest.register_node(":tree", {
inventory_image = minetest.inventorycube("default_tree_top.png", "default_tree.png", "default_tree.png"), inventory_image = minetest.inventorycube("default_tree_top.png", "default_tree.png", "default_tree.png"),
is_ground_content = true, is_ground_content = true,
material = minetest.digprop_woodlike(1.0), material = minetest.digprop_woodlike(1.0),
cookresult_itemstring = 'craft "default:lump_of_coal" 1', cookresult_itemstring = 'craft "default:coal_lump" 1',
furnace_burntime = 30, furnace_burntime = 30,
}) })
@ -535,7 +535,7 @@ minetest.register_node(":jungletree", {
inventory_image = minetest.inventorycube("default_jungletree_top.png", "default_jungletree.png", "default_jungletree.png"), inventory_image = minetest.inventorycube("default_jungletree_top.png", "default_jungletree.png", "default_jungletree.png"),
is_ground_content = true, is_ground_content = true,
material = minetest.digprop_woodlike(1.0), material = minetest.digprop_woodlike(1.0),
cookresult_itemstring = 'craft "default:lump_of_coal" 1', cookresult_itemstring = 'craft "default:coal_lump" 1',
furnace_burntime = 30, furnace_burntime = 30,
}) })
@ -928,19 +928,19 @@ minetest.register_craftitem(":book", {
}) })
minetest.register_craftitem(":lump_of_coal", { minetest.register_craftitem(":lump_of_coal", {
image = "default_lump_of_coal.png", image = "default_coal_lump.png",
furnace_burntime = 40; furnace_burntime = 40;
on_place_on_ground = minetest.craftitem_place_item, on_place_on_ground = minetest.craftitem_place_item,
}) })
minetest.register_craftitem(":lump_of_iron", { minetest.register_craftitem(":lump_of_iron", {
image = "default_lump_of_iron.png", image = "default_iron_lump.png",
cookresult_itemstring = 'craft "default:steel_ingot" 1', cookresult_itemstring = 'craft "default:steel_ingot" 1',
on_place_on_ground = minetest.craftitem_place_item, on_place_on_ground = minetest.craftitem_place_item,
}) })
minetest.register_craftitem(":lump_of_clay", { minetest.register_craftitem(":lump_of_clay", {
image = "default_lump_of_clay.png", image = "default_clay_lump.png",
cookresult_itemstring = 'craft "default:clay_brick" 1', cookresult_itemstring = 'craft "default:clay_brick" 1',
on_place_on_ground = minetest.craftitem_place_item, on_place_on_ground = minetest.craftitem_place_item,
}) })