Add charcoal blocks as an item (#4589)

Co-authored-by: blitzdoughnuts <NOEMAIL@localhost>
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4589
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: blitzdoughnuts <doughnutsblitz@disroot.org>
Co-committed-by: blitzdoughnuts <doughnutsblitz@disroot.org>
This commit is contained in:
blitzdoughnuts 2024-08-16 22:28:08 +02:00 committed by the-real-herowl
parent 86e3446407
commit 95aadd40b9
13 changed files with 56 additions and 1 deletions

@ -46,6 +46,9 @@ Armor trim models were created by Aeonix_Aeon
Source: <https://www.curseforge.com/minecraft/texture-packs/ozocraft-remix> Source: <https://www.curseforge.com/minecraft/texture-packs/ozocraft-remix>
License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
Charcoal block texture was created by [blitzdoughnuts](https://gitlab.com/ApplemunchFromDaDead), based on the Pixel Perfection coal block.
License: [CC BY-SA 4.0](http://creativecommons.org/licenses/by-sa/4.0/)
The main menu images are released under: [CC0](https://creativecommons.org/publicdomain/zero/1.0/) The main menu images are released under: [CC0](https://creativecommons.org/publicdomain/zero/1.0/)
All other files, unless mentioned otherwise, fall under: All other files, unless mentioned otherwise, fall under:

@ -165,6 +165,22 @@ minetest.register_craft({
} }
}) })
minetest.register_craft({
output = "mcl_core:charcoalblock",
recipe = {
{"mcl_core:charcoal_lump", "mcl_core:charcoal_lump", "mcl_core:charcoal_lump"},
{"mcl_core:charcoal_lump", "mcl_core:charcoal_lump", "mcl_core:charcoal_lump"},
{"mcl_core:charcoal_lump", "mcl_core:charcoal_lump", "mcl_core:charcoal_lump"},
}
})
minetest.register_craft({
output = "mcl_core:charcoal_lump 9",
recipe = {
{"mcl_core:charcoalblock"},
}
})
minetest.register_craft({ minetest.register_craft({
output = "mcl_core:ironblock", output = "mcl_core:ironblock",
recipe = { recipe = {
@ -497,6 +513,12 @@ minetest.register_craft({
burntime = 800, burntime = 800,
}) })
minetest.register_craft({
type = "fuel",
recipe = "mcl_core:charcoalblock",
burntime = 800,
})
minetest.register_craft({ minetest.register_craft({
type = "fuel", type = "fuel",
recipe = "mcl_core:coal_lump", recipe = "mcl_core:coal_lump",

@ -35,11 +35,13 @@ Birch Wood Planks=Birkenholzplanken
Birch leaves are grown from birch trees.=Birkenblätter wachsen an Birken. Birch leaves are grown from birch trees.=Birkenblätter wachsen an Birken.
Black Stained Glass=Schwarzes Buntglas Black Stained Glass=Schwarzes Buntglas
Block of Coal=Kohleblock Block of Coal=Kohleblock
Block of Charcoal=
Block of Diamond=Diamantblock Block of Diamond=Diamantblock
Block of Emerald=Smaragdblock Block of Emerald=Smaragdblock
Block of Gold=Goldblock Block of Gold=Goldblock
Block of Iron=Eisenblock Block of Iron=Eisenblock
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.=Kohleblöcke sind für eine kompakte Aufbewahrung von Kohle nützlich und sehr nützlich als Ofenbrennstoff. Ein Kohleblock ist so effizient wie 10 mal Kohle. 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.=Kohleblöcke sind für eine kompakte Aufbewahrung von Kohle nützlich und sehr nützlich als Ofenbrennstoff. Ein Kohleblock ist so effizient wie 10 mal Kohle.
Blocks of charcoal are useful as a compact storage of charcoal and very useful as a furnace fuel. A block of charcoal is as efficient as 10 charcoal.=
Blue Stained Glass=Blaues Buntglas Blue Stained Glass=Blaues Buntglas
Bone Block=Knochenblock Bone Block=Knochenblock
Bone blocks are decorative blocks and a compact storage of bone meal.=Knochenblöcke sind Deko-Blöcke und geeignet zur kompakten Aufbewahrung von Knochenmehl. Bone blocks are decorative blocks and a compact storage of bone meal.=Knochenblöcke sind Deko-Blöcke und geeignet zur kompakten Aufbewahrung von Knochenmehl.

@ -35,11 +35,13 @@ Birch Wood Planks=Madera de abedul
Birch leaves are grown from birch trees.=Las hojas de abedul se cultivan a partir de abedules. Birch leaves are grown from birch trees.=Las hojas de abedul se cultivan a partir de abedules.
Black Stained Glass=Cristal negro Black Stained Glass=Cristal negro
Block of Coal=Bloque de carbón Block of Coal=Bloque de carbón
Block of Charcoal=
Block of Diamond=Bloque de diamante Block of Diamond=Bloque de diamante
Block of Emerald=Bloque de esmeralda Block of Emerald=Bloque de esmeralda
Block of Gold=Bloque de oro Block of Gold=Bloque de oro
Block of Iron=Bloque de hierro Block of Iron=Bloque de hierro
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.=Los bloques de carbón son útiles como almacenamiento compacto de carbón y son muy útiles como combustible de horno. Un bloque de carbón es tan eficiente como 10 de carbón. 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.=Los bloques de carbón son útiles como almacenamiento compacto de carbón y son muy útiles como combustible de horno. Un bloque de carbón es tan eficiente como 10 de carbón.
Blocks of charcoal are useful as a compact storage of charcoal and very useful as a furnace fuel. A block of charcoal is as efficient as 10 charcoal.=
Blue Stained Glass=Cristal azul Blue Stained Glass=Cristal azul
Bone Block=Bloque de hueso Bone Block=Bloque de hueso
Bone blocks are decorative blocks and a compact storage of bone meal.=Los bloques óseos son bloques decorativos y un almacenamiento compacto de harina de huesos. Bone blocks are decorative blocks and a compact storage of bone meal.=Los bloques óseos son bloques decorativos y un almacenamiento compacto de harina de huesos.

@ -35,11 +35,13 @@ Birch Wood Planks=Planches de bouleau
Birch leaves are grown from birch trees.=Les feuilles de bouleau poussent sur les bouleaux. Birch leaves are grown from birch trees.=Les feuilles de bouleau poussent sur les bouleaux.
Black Stained Glass=Verre noir Black Stained Glass=Verre noir
Block of Coal=Bloc de charbon Block of Coal=Bloc de charbon
Block of Charcoal=
Block of Diamond=Bloc de diamant Block of Diamond=Bloc de diamant
Block of Emerald=Bloc d'émeraude Block of Emerald=Bloc d'émeraude
Block of Gold=Bloc d'or Block of Gold=Bloc d'or
Block of Iron=Bloc de fer Block of Iron=Bloc de fer
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.=Les blocs de charbon sont utiles pour stocker du charbon et très utiles comme combustible de four. Un bloc de charbon est aussi efficace que 10 charbon. 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.=Les blocs de charbon sont utiles pour stocker du charbon et très utiles comme combustible de four. Un bloc de charbon est aussi efficace que 10 charbon.
Blocks of charcoal are useful as a compact storage of charcoal and very useful as a furnace fuel. A block of charcoal is as efficient as 10 charcoal.=
Blue Stained Glass=Verre bleu Blue Stained Glass=Verre bleu
Bone Block=Bloc d'os Bone Block=Bloc d'os
Bone blocks are decorative blocks and a compact storage of bone meal.=Les blocs d'os sont des blocs décoratifs et servent à stocker la poudre d'os. Bone blocks are decorative blocks and a compact storage of bone meal.=Les blocs d'os sont des blocs décoratifs et servent à stocker la poudre d'os.

@ -35,11 +35,13 @@ Birch Wood Planks=シラカバの板材
Birch leaves are grown from birch trees.=シラカバの葉は、シラカバの木から育ちます。 Birch leaves are grown from birch trees.=シラカバの葉は、シラカバの木から育ちます。
Black Stained Glass=黒色ガラス Black Stained Glass=黒色ガラス
Block of Coal=石炭ブロック Block of Coal=石炭ブロック
Block of Charcoal=
Block of Diamond=ダイヤモンドブロック Block of Diamond=ダイヤモンドブロック
Block of Emerald=エメラルドブロック Block of Emerald=エメラルドブロック
Block of Gold=金ブロック Block of Gold=金ブロック
Block of Iron=鉄ブロック Block of Iron=鉄ブロック
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.=石炭ブロックは、石炭をコンパクトに保管でき、炉の燃料として非常に便利です。1個の石炭ブロックは、10個の石炭と同じ効率です。 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.=石炭ブロックは、石炭をコンパクトに保管でき、炉の燃料として非常に便利です。1個の石炭ブロックは、10個の石炭と同じ効率です。
Blocks of charcoal are useful as a compact storage of charcoal and very useful as a furnace fuel. A block of charcoal is as efficient as 10 charcoal.=
Blue Stained Glass=青色ガラス Blue Stained Glass=青色ガラス
Bone Block=骨ブロック Bone Block=骨ブロック
Bone blocks are decorative blocks and a compact storage of bone meal.=骨ブロックは装飾用ブロックで、骨粉をコンパクトに保管できます。 Bone blocks are decorative blocks and a compact storage of bone meal.=骨ブロックは装飾用ブロックで、骨粉をコンパクトに保管できます。

@ -35,11 +35,13 @@ Birch Wood Planks=Brzozowe deski
Birch leaves are grown from birch trees.=Brzozowe liście rosną na brzozach. Birch leaves are grown from birch trees.=Brzozowe liście rosną na brzozach.
Black Stained Glass=Czarne szkło Black Stained Glass=Czarne szkło
Block of Coal=Blok węgla Block of Coal=Blok węgla
Block of Charcoal=
Block of Diamond=Blok diamentu Block of Diamond=Blok diamentu
Block of Emerald=Blok szmaragdu Block of Emerald=Blok szmaragdu
Block of Gold=Blok złota Block of Gold=Blok złota
Block of Iron=Blok żelaza Block of Iron=Blok żelaza
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.=Bloki węgla są użyteczne do kompaktowego przechowywania diamentów i bardzo użyteczne jako paliwo do pieca. 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.=Bloki węgla są użyteczne do kompaktowego przechowywania diamentów i bardzo użyteczne jako paliwo do pieca.
Blocks of charcoal are useful as a compact storage of charcoal and very useful as a furnace fuel. A block of charcoal is as efficient as 10 charcoal.=
Blue Stained Glass=Niebieskie szkło Blue Stained Glass=Niebieskie szkło
Bone Block=Blok kości Bone Block=Blok kości
Bone blocks are decorative blocks and a compact storage of bone meal.=Bloki kości są blokami dekoracyjnymi i są użyteczne do kompaktowego przechowywania mączki kostnej. Bone blocks are decorative blocks and a compact storage of bone meal.=Bloki kości są blokami dekoracyjnymi i są użyteczne do kompaktowego przechowywania mączki kostnej.

@ -35,11 +35,13 @@ Birch Wood Planks=Tábuas de Bétula
Birch leaves are grown from birch trees.=Folhas de bétula crescem a partir de árvores de bétula. Birch leaves are grown from birch trees.=Folhas de bétula crescem a partir de árvores de bétula.
Black Stained Glass=Vidro Tingido de Preto Black Stained Glass=Vidro Tingido de Preto
Block of Coal=Bloco de Carvão Block of Coal=Bloco de Carvão
Block of Charcoal=
Block of Diamond=Bloco de Diamante Block of Diamond=Bloco de Diamante
Block of Emerald=Bloco de Esmeralda Block of Emerald=Bloco de Esmeralda
Block of Gold=Bloco de Ouro Block of Gold=Bloco de Ouro
Block of Iron=Bloco de Ferro Block of Iron=Bloco de Ferro
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.=Blocos de carvão são úteis para armzenad carvão de forma compacta e muito úteis como combustível de fornalas. Um bloco de carvão é tão eficiente quanto 10 carvões. 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.=Blocos de carvão são úteis para armzenad carvão de forma compacta e muito úteis como combustível de fornalas. Um bloco de carvão é tão eficiente quanto 10 carvões.
Blocks of charcoal are useful as a compact storage of charcoal and very useful as a furnace fuel. A block of charcoal is as efficient as 10 charcoal.=
Blue Stained Glass=Vidro Tingido de Azul Blue Stained Glass=Vidro Tingido de Azul
Bone Block=Bloco de Osso Bone Block=Bloco de Osso
Bone blocks are decorative blocks and a compact storage of bone meal.=Blocos de osso são blocos decorativos e uma forma compacta de armazenar farinha de osso. Bone blocks are decorative blocks and a compact storage of bone meal.=Blocos de osso são blocos decorativos e uma forma compacta de armazenar farinha de osso.

@ -35,11 +35,13 @@ Birch Wood Planks=Берёзовые доски
Birch leaves are grown from birch trees.=Листва берёзы произрастает на берёзах. Birch leaves are grown from birch trees.=Листва берёзы произрастает на берёзах.
Black Stained Glass=Чёрное стекло Black Stained Glass=Чёрное стекло
Block of Coal=Угольный блок Block of Coal=Угольный блок
Block of Charcoal=Блок древесного угля
Block of Diamond=Алмазный блок Block of Diamond=Алмазный блок
Block of Emerald=Изумрудный блок Block of Emerald=Изумрудный блок
Block of Gold=Золотой блок Block of Gold=Золотой блок
Block of Iron=Железный блок Block of Iron=Железный блок
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.=Угольный блок удобен для компактного хранения угля, а также полезен как топливо для печи. 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.=Угольный блок удобен для компактного хранения угля, а также полезен как топливо для печи.
Blocks of charcoal are useful as a compact storage of charcoal and very useful as a furnace fuel. A block of charcoal is as efficient as 10 charcoal.=Блок древесного угля удобен для компактного хранения древесного угля, а также полезен как топливо для печи.
Blue Stained Glass=Синее стекло Blue Stained Glass=Синее стекло
Bone Block=Костный блок Bone Block=Костный блок
Bone blocks are decorative blocks and a compact storage of bone meal.=Костные блоки это декоративные блоки, а также способ компактного хранения костной муки. Bone blocks are decorative blocks and a compact storage of bone meal.=Костные блоки это декоративные блоки, а также способ компактного хранения костной муки.

@ -34,11 +34,13 @@ Birch Wood Planks=白樺樹木材
Birch leaves are grown from birch trees.=白樺樹葉是由白樺樹樹生長出來的。 Birch leaves are grown from birch trees.=白樺樹葉是由白樺樹樹生長出來的。
Black Stained Glass=黑色玻璃 Black Stained Glass=黑色玻璃
Block of Coal=煤炭磚 Block of Coal=煤炭磚
Block of Charcoal=
Block of Diamond=鑽石磚 Block of Diamond=鑽石磚
Block of Emerald=綠寶石磚 Block of Emerald=綠寶石磚
Block of Gold=金磚 Block of Gold=金磚
Block of Iron=鐵磚 Block of Iron=鐵磚
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.=煤炭磚作為煤炭的省位存儲方式作為熔爐燃料非常有用。一個煤炭磚的燃燒時間相當於10塊煤炭。 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.=煤炭磚作為煤炭的省位存儲方式作為熔爐燃料非常有用。一個煤炭磚的燃燒時間相當於10塊煤炭。
Blocks of charcoal are useful as a compact storage of charcoal and very useful as a furnace fuel. A block of charcoal is as efficient as 10 charcoal.=
Blue Stained Glass=藍色玻璃 Blue Stained Glass=藍色玻璃
Bone Block=骨塊 Bone Block=骨塊
Bone blocks are decorative blocks and a compact storage of bone meal.=骨粉塊是一個裝飾方塊,也是骨粉的省位存儲方式。 Bone blocks are decorative blocks and a compact storage of bone meal.=骨粉塊是一個裝飾方塊,也是骨粉的省位存儲方式。

@ -35,11 +35,13 @@ Birch Wood Planks=
Birch leaves are grown from birch trees.= Birch leaves are grown from birch trees.=
Black Stained Glass= Black Stained Glass=
Block of Coal= Block of Coal=
Block of Charcoal=
Block of Diamond= Block of Diamond=
Block of Emerald= Block of Emerald=
Block of Gold= Block of Gold=
Block of Iron= Block of Iron=
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.= 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.=
Blocks of charcoal are useful as a compact storage of charcoal and very useful as a furnace fuel. A block of charcoal is as efficient as 10 charcoal.=
Blue Stained Glass= Blue Stained Glass=
Bone Block= Bone Block=
Bone blocks are decorative blocks and a compact storage of bone meal.= Bone blocks are decorative blocks and a compact storage of bone meal.=

@ -798,6 +798,18 @@ minetest.register_node("mcl_core:coalblock", {
_mcl_hardness = 5, _mcl_hardness = 5,
}) })
minetest.register_node("mcl_core:charcoalblock", {
description = S("Block of Charcoal"),
_doc_items_longdesc = S("Blocks of charcoal are useful as a compact storage of charcoal and very useful as a furnace fuel. A block of charcoal is as efficient as 10 charcoal."),
tiles = {"mcl_core_charcoal_block.png"},
is_ground_content = false,
stack_max = 64,
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,
_mcl_hardness = 5,
})
minetest.register_node("mcl_core:ironblock", { minetest.register_node("mcl_core:ironblock", {
description = S("Block of Iron"), description = S("Block of Iron"),
_doc_items_longdesc = S("A block of iron is mostly a decorative block but also useful as a compact storage of iron ingots."), _doc_items_longdesc = S("A block of iron is mostly a decorative block but also useful as a compact storage of iron ingots."),

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 B