1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-12-23 07:10:19 +01:00

Default: Use " " instead of ' ' for item names

This commit is contained in:
TumeniNodes 2019-07-30 19:16:44 -04:00 committed by Paramat
parent 6716fc74ec
commit a5bde8e9ba
2 changed files with 263 additions and 263 deletions

View File

@ -1,51 +1,51 @@
-- mods/default/crafting.lua -- mods/default/crafting.lua
minetest.register_craft({ minetest.register_craft({
output = 'default:wood 4', output = "default:wood 4",
recipe = { recipe = {
{'default:tree'}, {"default:tree"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:junglewood 4', output = "default:junglewood 4",
recipe = { recipe = {
{'default:jungletree'}, {"default:jungletree"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:pine_wood 4', output = "default:pine_wood 4",
recipe = { recipe = {
{'default:pine_tree'}, {"default:pine_tree"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:acacia_wood 4', output = "default:acacia_wood 4",
recipe = { recipe = {
{'default:acacia_tree'}, {"default:acacia_tree"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:aspen_wood 4', output = "default:aspen_wood 4",
recipe = { recipe = {
{'default:aspen_tree'}, {"default:aspen_tree"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:wood', output = "default:wood",
recipe = { recipe = {
{'default:bush_stem'}, {"default:bush_stem"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:acacia_wood', output = "default:acacia_wood",
recipe = { recipe = {
{'default:acacia_bush_stem'}, {"default:acacia_bush_stem"},
} }
}) })
@ -57,143 +57,143 @@ minetest.register_craft({
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:stick 4', output = "default:stick 4",
recipe = { recipe = {
{'group:wood'}, {"group:wood"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:sign_wall_steel 3', output = "default:sign_wall_steel 3",
recipe = { recipe = {
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'}, {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'}, {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
{'', 'group:stick', ''}, {"", "group:stick", ""},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:sign_wall_wood 3', output = "default:sign_wall_wood 3",
recipe = { recipe = {
{'group:wood', 'group:wood', 'group:wood'}, {"group:wood", "group:wood", "group:wood"},
{'group:wood', 'group:wood', 'group:wood'}, {"group:wood", "group:wood", "group:wood"},
{'', 'group:stick', ''}, {"", "group:stick", ""},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:torch 4', output = "default:torch 4",
recipe = { recipe = {
{'default:coal_lump'}, {"default:coal_lump"},
{'group:stick'}, {"group:stick"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:pick_wood', output = "default:pick_wood",
recipe = { recipe = {
{'group:wood', 'group:wood', 'group:wood'}, {"group:wood", "group:wood", "group:wood"},
{'', 'group:stick', ''}, {"", "group:stick", ""},
{'', 'group:stick', ''}, {"", "group:stick", ""},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:pick_stone', output = "default:pick_stone",
recipe = { recipe = {
{'group:stone', 'group:stone', 'group:stone'}, {"group:stone", "group:stone", "group:stone"},
{'', 'group:stick', ''}, {"", "group:stick", ""},
{'', 'group:stick', ''}, {"", "group:stick", ""},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:pick_steel', output = "default:pick_steel",
recipe = { recipe = {
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'}, {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
{'', 'group:stick', ''}, {"", "group:stick", ""},
{'', 'group:stick', ''}, {"", "group:stick", ""},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:pick_bronze', output = "default:pick_bronze",
recipe = { recipe = {
{'default:bronze_ingot', 'default:bronze_ingot', 'default:bronze_ingot'}, {"default:bronze_ingot", "default:bronze_ingot", "default:bronze_ingot"},
{'', 'group:stick', ''}, {"", "group:stick", ""},
{'', 'group:stick', ''}, {"", "group:stick", ""},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:pick_mese', output = "default:pick_mese",
recipe = { recipe = {
{'default:mese_crystal', 'default:mese_crystal', 'default:mese_crystal'}, {"default:mese_crystal", "default:mese_crystal", "default:mese_crystal"},
{'', 'group:stick', ''}, {"", "group:stick", ""},
{'', 'group:stick', ''}, {"", "group:stick", ""},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:pick_diamond', output = "default:pick_diamond",
recipe = { recipe = {
{'default:diamond', 'default:diamond', 'default:diamond'}, {"default:diamond", "default:diamond", "default:diamond"},
{'', 'group:stick', ''}, {"", "group:stick", ""},
{'', 'group:stick', ''}, {"", "group:stick", ""},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:shovel_wood', output = "default:shovel_wood",
recipe = { recipe = {
{'group:wood'}, {"group:wood"},
{'group:stick'}, {"group:stick"},
{'group:stick'}, {"group:stick"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:shovel_stone', output = "default:shovel_stone",
recipe = { recipe = {
{'group:stone'}, {"group:stone"},
{'group:stick'}, {"group:stick"},
{'group:stick'}, {"group:stick"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:shovel_steel', output = "default:shovel_steel",
recipe = { recipe = {
{'default:steel_ingot'}, {"default:steel_ingot"},
{'group:stick'}, {"group:stick"},
{'group:stick'}, {"group:stick"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:shovel_bronze', output = "default:shovel_bronze",
recipe = { recipe = {
{'default:bronze_ingot'}, {"default:bronze_ingot"},
{'group:stick'}, {"group:stick"},
{'group:stick'}, {"group:stick"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:shovel_mese', output = "default:shovel_mese",
recipe = { recipe = {
{'default:mese_crystal'}, {"default:mese_crystal"},
{'group:stick'}, {"group:stick"},
{'group:stick'}, {"group:stick"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:shovel_diamond', output = "default:shovel_diamond",
recipe = { recipe = {
{'default:diamond'}, {"default:diamond"},
{'group:stick'}, {"group:stick"},
{'group:stick'}, {"group:stick"},
} }
}) })
@ -201,135 +201,135 @@ minetest.register_craft({
-- Recipes face left to match appearence in textures and inventory -- Recipes face left to match appearence in textures and inventory
minetest.register_craft({ minetest.register_craft({
output = 'default:axe_wood', output = "default:axe_wood",
recipe = { recipe = {
{'group:wood', 'group:wood'}, {"group:wood", "group:wood"},
{'group:wood', 'group:stick'}, {"group:wood", "group:stick"},
{'', 'group:stick'}, {"", "group:stick"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:axe_stone', output = "default:axe_stone",
recipe = { recipe = {
{'group:stone', 'group:stone'}, {"group:stone", "group:stone"},
{'group:stone', 'group:stick'}, {"group:stone", "group:stick"},
{'', 'group:stick'}, {"", "group:stick"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:axe_steel', output = "default:axe_steel",
recipe = { recipe = {
{'default:steel_ingot', 'default:steel_ingot'}, {"default:steel_ingot", "default:steel_ingot"},
{'default:steel_ingot', 'group:stick'}, {"default:steel_ingot", "group:stick"},
{'', 'group:stick'}, {"", "group:stick"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:axe_bronze', output = "default:axe_bronze",
recipe = { recipe = {
{'default:bronze_ingot', 'default:bronze_ingot'}, {"default:bronze_ingot", "default:bronze_ingot"},
{'default:bronze_ingot', 'group:stick'}, {"default:bronze_ingot", "group:stick"},
{'', 'group:stick'}, {"", "group:stick"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:axe_mese', output = "default:axe_mese",
recipe = { recipe = {
{'default:mese_crystal', 'default:mese_crystal'}, {"default:mese_crystal", "default:mese_crystal"},
{'default:mese_crystal', 'group:stick'}, {"default:mese_crystal", "group:stick"},
{'', 'group:stick'}, {"", "group:stick"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:axe_diamond', output = "default:axe_diamond",
recipe = { recipe = {
{'default:diamond', 'default:diamond'}, {"default:diamond", "default:diamond"},
{'default:diamond', 'group:stick'}, {"default:diamond", "group:stick"},
{'', 'group:stick'}, {"", "group:stick"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:sword_wood', output = "default:sword_wood",
recipe = { recipe = {
{'group:wood'}, {"group:wood"},
{'group:wood'}, {"group:wood"},
{'group:stick'}, {"group:stick"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:sword_stone', output = "default:sword_stone",
recipe = { recipe = {
{'group:stone'}, {"group:stone"},
{'group:stone'}, {"group:stone"},
{'group:stick'}, {"group:stick"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:sword_steel', output = "default:sword_steel",
recipe = { recipe = {
{'default:steel_ingot'}, {"default:steel_ingot"},
{'default:steel_ingot'}, {"default:steel_ingot"},
{'group:stick'}, {"group:stick"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:sword_bronze', output = "default:sword_bronze",
recipe = { recipe = {
{'default:bronze_ingot'}, {"default:bronze_ingot"},
{'default:bronze_ingot'}, {"default:bronze_ingot"},
{'group:stick'}, {"group:stick"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:sword_mese', output = "default:sword_mese",
recipe = { recipe = {
{'default:mese_crystal'}, {"default:mese_crystal"},
{'default:mese_crystal'}, {"default:mese_crystal"},
{'group:stick'}, {"group:stick"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:sword_diamond', output = "default:sword_diamond",
recipe = { recipe = {
{'default:diamond'}, {"default:diamond"},
{'default:diamond'}, {"default:diamond"},
{'group:stick'}, {"group:stick"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:skeleton_key', output = "default:skeleton_key",
recipe = { recipe = {
{'default:gold_ingot'}, {"default:gold_ingot"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:chest', output = "default:chest",
recipe = { recipe = {
{'group:wood', 'group:wood', 'group:wood'}, {"group:wood", "group:wood", "group:wood"},
{'group:wood', '', 'group:wood'}, {"group:wood", "", "group:wood"},
{'group:wood', 'group:wood', 'group:wood'}, {"group:wood", "group:wood", "group:wood"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:chest_locked', output = "default:chest_locked",
recipe = { recipe = {
{'group:wood', 'group:wood', 'group:wood'}, {"group:wood", "group:wood", "group:wood"},
{'group:wood', 'default:steel_ingot', 'group:wood'}, {"group:wood", "default:steel_ingot", "group:wood"},
{'group:wood', 'group:wood', 'group:wood'}, {"group:wood", "group:wood", "group:wood"},
} }
}) })
@ -340,59 +340,59 @@ minetest.register_craft( {
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:furnace', output = "default:furnace",
recipe = { recipe = {
{'group:stone', 'group:stone', 'group:stone'}, {"group:stone", "group:stone", "group:stone"},
{'group:stone', '', 'group:stone'}, {"group:stone", "", "group:stone"},
{'group:stone', 'group:stone', 'group:stone'}, {"group:stone", "group:stone", "group:stone"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:coalblock', output = "default:coalblock",
recipe = { recipe = {
{'default:coal_lump', 'default:coal_lump', 'default:coal_lump'}, {"default:coal_lump", "default:coal_lump", "default:coal_lump"},
{'default:coal_lump', 'default:coal_lump', 'default:coal_lump'}, {"default:coal_lump", "default:coal_lump", "default:coal_lump"},
{'default:coal_lump', 'default:coal_lump', 'default:coal_lump'}, {"default:coal_lump", "default:coal_lump", "default:coal_lump"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:coal_lump 9', output = "default:coal_lump 9",
recipe = { recipe = {
{'default:coalblock'}, {"default:coalblock"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:steelblock', output = "default:steelblock",
recipe = { recipe = {
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'}, {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'}, {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'}, {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:steel_ingot 9', output = "default:steel_ingot 9",
recipe = { recipe = {
{'default:steelblock'}, {"default:steelblock"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:copperblock', output = "default:copperblock",
recipe = { recipe = {
{'default:copper_ingot', 'default:copper_ingot', 'default:copper_ingot'}, {"default:copper_ingot", "default:copper_ingot", "default:copper_ingot"},
{'default:copper_ingot', 'default:copper_ingot', 'default:copper_ingot'}, {"default:copper_ingot", "default:copper_ingot", "default:copper_ingot"},
{'default:copper_ingot', 'default:copper_ingot', 'default:copper_ingot'}, {"default:copper_ingot", "default:copper_ingot", "default:copper_ingot"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:copper_ingot 9', output = "default:copper_ingot 9",
recipe = { recipe = {
{'default:copperblock'}, {"default:copperblock"},
} }
}) })
@ -422,50 +422,50 @@ minetest.register_craft({
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:bronzeblock', output = "default:bronzeblock",
recipe = { recipe = {
{'default:bronze_ingot', 'default:bronze_ingot', 'default:bronze_ingot'}, {"default:bronze_ingot", "default:bronze_ingot", "default:bronze_ingot"},
{'default:bronze_ingot', 'default:bronze_ingot', 'default:bronze_ingot'}, {"default:bronze_ingot", "default:bronze_ingot", "default:bronze_ingot"},
{'default:bronze_ingot', 'default:bronze_ingot', 'default:bronze_ingot'}, {"default:bronze_ingot", "default:bronze_ingot", "default:bronze_ingot"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:bronze_ingot 9', output = "default:bronze_ingot 9",
recipe = { recipe = {
{'default:bronzeblock'}, {"default:bronzeblock"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:goldblock', output = "default:goldblock",
recipe = { recipe = {
{'default:gold_ingot', 'default:gold_ingot', 'default:gold_ingot'}, {"default:gold_ingot", "default:gold_ingot", "default:gold_ingot"},
{'default:gold_ingot', 'default:gold_ingot', 'default:gold_ingot'}, {"default:gold_ingot", "default:gold_ingot", "default:gold_ingot"},
{'default:gold_ingot', 'default:gold_ingot', 'default:gold_ingot'}, {"default:gold_ingot", "default:gold_ingot", "default:gold_ingot"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:gold_ingot 9', output = "default:gold_ingot 9",
recipe = { recipe = {
{'default:goldblock'}, {"default:goldblock"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:diamondblock', output = "default:diamondblock",
recipe = { recipe = {
{'default:diamond', 'default:diamond', 'default:diamond'}, {"default:diamond", "default:diamond", "default:diamond"},
{'default:diamond', 'default:diamond', 'default:diamond'}, {"default:diamond", "default:diamond", "default:diamond"},
{'default:diamond', 'default:diamond', 'default:diamond'}, {"default:diamond", "default:diamond", "default:diamond"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:diamond 9', output = "default:diamond 9",
recipe = { recipe = {
{'default:diamondblock'}, {"default:diamondblock"},
} }
}) })
@ -566,57 +566,57 @@ minetest.register_craft({
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:clay', output = "default:clay",
recipe = { recipe = {
{'default:clay_lump', 'default:clay_lump'}, {"default:clay_lump", "default:clay_lump"},
{'default:clay_lump', 'default:clay_lump'}, {"default:clay_lump", "default:clay_lump"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:clay_lump 4', output = "default:clay_lump 4",
recipe = { recipe = {
{'default:clay'}, {"default:clay"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:brick', output = "default:brick",
recipe = { recipe = {
{'default:clay_brick', 'default:clay_brick'}, {"default:clay_brick", "default:clay_brick"},
{'default:clay_brick', 'default:clay_brick'}, {"default:clay_brick", "default:clay_brick"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:clay_brick 4', output = "default:clay_brick 4",
recipe = { recipe = {
{'default:brick'}, {"default:brick"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:paper', output = "default:paper",
recipe = { recipe = {
{'default:papyrus', 'default:papyrus', 'default:papyrus'}, {"default:papyrus", "default:papyrus", "default:papyrus"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:book', output = "default:book",
recipe = { recipe = {
{'default:paper'}, {"default:paper"},
{'default:paper'}, {"default:paper"},
{'default:paper'}, {"default:paper"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:bookshelf', output = "default:bookshelf",
recipe = { recipe = {
{'group:wood', 'group:wood', 'group:wood'}, {"group:wood", "group:wood", "group:wood"},
{'default:book', 'default:book', 'default:book'}, {"default:book", "default:book", "default:book"},
{'group:wood', 'group:wood', 'group:wood'}, {"group:wood", "group:wood", "group:wood"},
} }
}) })
@ -630,34 +630,34 @@ minetest.register_craft({
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:ladder_steel 15', output = "default:ladder_steel 15",
recipe = { recipe = {
{'default:steel_ingot', '', 'default:steel_ingot'}, {"default:steel_ingot", "", "default:steel_ingot"},
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'}, {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
{'default:steel_ingot', '', 'default:steel_ingot'}, {"default:steel_ingot", "", "default:steel_ingot"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:mese', output = "default:mese",
recipe = { recipe = {
{'default:mese_crystal', 'default:mese_crystal', 'default:mese_crystal'}, {"default:mese_crystal", "default:mese_crystal", "default:mese_crystal"},
{'default:mese_crystal', 'default:mese_crystal', 'default:mese_crystal'}, {"default:mese_crystal", "default:mese_crystal", "default:mese_crystal"},
{'default:mese_crystal', 'default:mese_crystal', 'default:mese_crystal'}, {"default:mese_crystal", "default:mese_crystal", "default:mese_crystal"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:mese_crystal 9', output = "default:mese_crystal 9",
recipe = { recipe = {
{'default:mese'}, {"default:mese"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:mese_crystal_fragment 9', output = "default:mese_crystal_fragment 9",
recipe = { recipe = {
{'default:mese_crystal'}, {"default:mese_crystal"},
} }
}) })
@ -671,10 +671,10 @@ minetest.register_craft({
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:meselamp', output = "default:meselamp",
recipe = { recipe = {
{'default:glass'}, {"default:glass"},
{'default:mese_crystal'}, {"default:mese_crystal"},
} }
}) })
@ -688,85 +688,85 @@ minetest.register_craft({
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:obsidian_shard 9', output = "default:obsidian_shard 9",
recipe = { recipe = {
{'default:obsidian'} {"default:obsidian"}
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:obsidian', output = "default:obsidian",
recipe = { recipe = {
{'default:obsidian_shard', 'default:obsidian_shard', 'default:obsidian_shard'}, {"default:obsidian_shard", "default:obsidian_shard", "default:obsidian_shard"},
{'default:obsidian_shard', 'default:obsidian_shard', 'default:obsidian_shard'}, {"default:obsidian_shard", "default:obsidian_shard", "default:obsidian_shard"},
{'default:obsidian_shard', 'default:obsidian_shard', 'default:obsidian_shard'}, {"default:obsidian_shard", "default:obsidian_shard", "default:obsidian_shard"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:obsidianbrick 4', output = "default:obsidianbrick 4",
recipe = { recipe = {
{'default:obsidian', 'default:obsidian'}, {"default:obsidian", "default:obsidian"},
{'default:obsidian', 'default:obsidian'} {"default:obsidian", "default:obsidian"}
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:obsidian_block 9', output = "default:obsidian_block 9",
recipe = { recipe = {
{'default:obsidian', 'default:obsidian', 'default:obsidian'}, {"default:obsidian", "default:obsidian", "default:obsidian"},
{'default:obsidian', 'default:obsidian', 'default:obsidian'}, {"default:obsidian", "default:obsidian", "default:obsidian"},
{'default:obsidian', 'default:obsidian', 'default:obsidian'}, {"default:obsidian", "default:obsidian", "default:obsidian"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:stonebrick 4', output = "default:stonebrick 4",
recipe = { recipe = {
{'default:stone', 'default:stone'}, {"default:stone", "default:stone"},
{'default:stone', 'default:stone'}, {"default:stone", "default:stone"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:stone_block 9', output = "default:stone_block 9",
recipe = { recipe = {
{'default:stone', 'default:stone', 'default:stone'}, {"default:stone", "default:stone", "default:stone"},
{'default:stone', 'default:stone', 'default:stone'}, {"default:stone", "default:stone", "default:stone"},
{'default:stone', 'default:stone', 'default:stone'}, {"default:stone", "default:stone", "default:stone"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:desert_stonebrick 4', output = "default:desert_stonebrick 4",
recipe = { recipe = {
{'default:desert_stone', 'default:desert_stone'}, {"default:desert_stone", "default:desert_stone"},
{'default:desert_stone', 'default:desert_stone'}, {"default:desert_stone", "default:desert_stone"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:desert_stone_block 9', output = "default:desert_stone_block 9",
recipe = { recipe = {
{'default:desert_stone', 'default:desert_stone', 'default:desert_stone'}, {"default:desert_stone", "default:desert_stone", "default:desert_stone"},
{'default:desert_stone', 'default:desert_stone', 'default:desert_stone'}, {"default:desert_stone", "default:desert_stone", "default:desert_stone"},
{'default:desert_stone', 'default:desert_stone', 'default:desert_stone'}, {"default:desert_stone", "default:desert_stone", "default:desert_stone"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:snowblock', output = "default:snowblock",
recipe = { recipe = {
{'default:snow', 'default:snow', 'default:snow'}, {"default:snow", "default:snow", "default:snow"},
{'default:snow', 'default:snow', 'default:snow'}, {"default:snow", "default:snow", "default:snow"},
{'default:snow', 'default:snow', 'default:snow'}, {"default:snow", "default:snow", "default:snow"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'default:snow 9', output = "default:snow 9",
recipe = { recipe = {
{'default:snowblock'}, {"default:snowblock"},
} }
}) })
@ -864,16 +864,16 @@ minetest.register_craft({
}) })
minetest.register_craft({ minetest.register_craft({
type = 'cooking', type = "cooking",
output = 'default:gold_ingot', output = "default:gold_ingot",
recipe = 'default:skeleton_key', recipe = "default:skeleton_key",
cooktime = 5, cooktime = 5,
}) })
minetest.register_craft({ minetest.register_craft({
type = 'cooking', type = "cooking",
output = 'default:gold_ingot', output = "default:gold_ingot",
recipe = 'default:key', recipe = "default:key",
cooktime = 5, cooktime = 5,
}) })

View File

@ -245,7 +245,7 @@ minetest.register_node("default:stone", {
description = "Stone", description = "Stone",
tiles = {"default_stone.png"}, tiles = {"default_stone.png"},
groups = {cracky = 3, stone = 1}, groups = {cracky = 3, stone = 1},
drop = 'default:cobble', drop = "default:cobble",
legacy_mineral = true, legacy_mineral = true,
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
}) })
@ -289,7 +289,7 @@ minetest.register_node("default:desert_stone", {
description = "Desert Stone", description = "Desert Stone",
tiles = {"default_desert_stone.png"}, tiles = {"default_desert_stone.png"},
groups = {cracky = 3, stone = 1}, groups = {cracky = 3, stone = 1},
drop = 'default:desert_cobble', drop = "default:desert_cobble",
legacy_mineral = true, legacy_mineral = true,
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
}) })
@ -437,7 +437,7 @@ minetest.register_node("default:dirt_with_grass", {
{name = "default_dirt.png^default_grass_side.png", {name = "default_dirt.png^default_grass_side.png",
tileable_vertical = false}}, tileable_vertical = false}},
groups = {crumbly = 3, soil = 1, spreading_dirt_type = 1}, groups = {crumbly = 3, soil = 1, spreading_dirt_type = 1},
drop = 'default:dirt', drop = "default:dirt",
sounds = default.node_sound_dirt_defaults({ sounds = default.node_sound_dirt_defaults({
footstep = {name = "default_grass_footstep", gain = 0.25}, footstep = {name = "default_grass_footstep", gain = 0.25},
}), }),
@ -449,7 +449,7 @@ minetest.register_node("default:dirt_with_grass_footsteps", {
{name = "default_dirt.png^default_grass_side.png", {name = "default_dirt.png^default_grass_side.png",
tileable_vertical = false}}, tileable_vertical = false}},
groups = {crumbly = 3, soil = 1, not_in_creative_inventory = 1}, groups = {crumbly = 3, soil = 1, not_in_creative_inventory = 1},
drop = 'default:dirt', drop = "default:dirt",
sounds = default.node_sound_dirt_defaults({ sounds = default.node_sound_dirt_defaults({
footstep = {name = "default_grass_footstep", gain = 0.25}, footstep = {name = "default_grass_footstep", gain = 0.25},
}), }),
@ -462,7 +462,7 @@ minetest.register_node("default:dirt_with_dry_grass", {
{name = "default_dirt.png^default_dry_grass_side.png", {name = "default_dirt.png^default_dry_grass_side.png",
tileable_vertical = false}}, tileable_vertical = false}},
groups = {crumbly = 3, soil = 1}, groups = {crumbly = 3, soil = 1},
drop = 'default:dirt', drop = "default:dirt",
sounds = default.node_sound_dirt_defaults({ sounds = default.node_sound_dirt_defaults({
footstep = {name = "default_grass_footstep", gain = 0.4}, footstep = {name = "default_grass_footstep", gain = 0.4},
}), }),
@ -474,7 +474,7 @@ minetest.register_node("default:dirt_with_snow", {
{name = "default_dirt.png^default_snow_side.png", {name = "default_dirt.png^default_snow_side.png",
tileable_vertical = false}}, tileable_vertical = false}},
groups = {crumbly = 3, soil = 1, spreading_dirt_type = 1, snowy = 1}, groups = {crumbly = 3, soil = 1, spreading_dirt_type = 1, snowy = 1},
drop = 'default:dirt', drop = "default:dirt",
sounds = default.node_sound_dirt_defaults({ sounds = default.node_sound_dirt_defaults({
footstep = {name = "default_snow_footstep", gain = 0.2}, footstep = {name = "default_snow_footstep", gain = 0.2},
}), }),
@ -586,8 +586,8 @@ minetest.register_node("default:gravel", {
drop = { drop = {
max_items = 1, max_items = 1,
items = { items = {
{items = {'default:flint'}, rarity = 16}, {items = {"default:flint"}, rarity = 16},
{items = {'default:gravel'}} {items = {"default:gravel"}}
} }
} }
}) })
@ -596,7 +596,7 @@ minetest.register_node("default:clay", {
description = "Clay", description = "Clay",
tiles = {"default_clay.png"}, tiles = {"default_clay.png"},
groups = {crumbly = 3}, groups = {crumbly = 3},
drop = 'default:clay_lump 4', drop = "default:clay_lump 4",
sounds = default.node_sound_dirt_defaults(), sounds = default.node_sound_dirt_defaults(),
}) })
@ -743,13 +743,13 @@ minetest.register_node("default:leaves", {
items = { items = {
{ {
-- player will get sapling with 1/20 chance -- player will get sapling with 1/20 chance
items = {'default:sapling'}, items = {"default:sapling"},
rarity = 20, rarity = 20,
}, },
{ {
-- player will get leaves only if he get no saplings, -- player will get leaves only if he get no saplings,
-- this is because max_items is 1 -- this is because max_items is 1
items = {'default:leaves'}, items = {"default:leaves"},
} }
} }
}, },
@ -845,8 +845,8 @@ minetest.register_node("default:jungleleaves", {
drop = { drop = {
max_items = 1, max_items = 1,
items = { items = {
{items = {'default:junglesapling'}, rarity = 20}, {items = {"default:junglesapling"}, rarity = 20},
{items = {'default:jungleleaves'}} {items = {"default:jungleleaves"}}
} }
}, },
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
@ -1170,7 +1170,7 @@ minetest.register_node("default:stone_with_coal", {
description = "Coal Ore", description = "Coal Ore",
tiles = {"default_stone.png^default_mineral_coal.png"}, tiles = {"default_stone.png^default_mineral_coal.png"},
groups = {cracky = 3}, groups = {cracky = 3},
drop = 'default:coal_lump', drop = "default:coal_lump",
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
}) })
@ -1187,7 +1187,7 @@ minetest.register_node("default:stone_with_iron", {
description = "Iron Ore", description = "Iron Ore",
tiles = {"default_stone.png^default_mineral_iron.png"}, tiles = {"default_stone.png^default_mineral_iron.png"},
groups = {cracky = 2}, groups = {cracky = 2},
drop = 'default:iron_lump', drop = "default:iron_lump",
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
}) })
@ -1204,7 +1204,7 @@ minetest.register_node("default:stone_with_copper", {
description = "Copper Ore", description = "Copper Ore",
tiles = {"default_stone.png^default_mineral_copper.png"}, tiles = {"default_stone.png^default_mineral_copper.png"},
groups = {cracky = 2}, groups = {cracky = 2},
drop = 'default:copper_lump', drop = "default:copper_lump",
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
}) })