Updated GROUPS.md and fixed blast furnace group name.
This commit is contained in:
parent
fd18c0d213
commit
4af0a4daae
|
@ -204,6 +204,9 @@ These groups are used mostly for informational purposes
|
|||
* `building_block=1`: Block is a building block
|
||||
* `deco_block=1`: Block is a decorational block
|
||||
|
||||
* `blast_furnace_smeltable=1` : Item or node is smeltable by a blast furnace
|
||||
* `smoker_cookable=1` : Food is cookable by a smoker.
|
||||
|
||||
|
||||
## Fake item groups
|
||||
These groups put similar items together which should all be treated by the gameplay or the GUI as a single item.
|
||||
|
|
|
@ -293,7 +293,7 @@ local function blast_furnace_node_timer(pos, elapsed)
|
|||
-- Check if we have cookable content: cookable
|
||||
local aftercooked
|
||||
cooked, aftercooked = minetest.get_craft_result({method = "cooking", width = 1, items = srclist})
|
||||
cookable = minetest.get_item_group(inv:get_stack("src", 1):get_name(), "blast_furnace_cookable") == 1
|
||||
cookable = minetest.get_item_group(inv:get_stack("src", 1):get_name(), "blast_furnace_smeltable") == 1
|
||||
if cookable then
|
||||
-- Successful cooking requires space in dst slot and time
|
||||
if not inv:room_for_item("dst", cooked.item) then
|
||||
|
|
|
@ -5,7 +5,7 @@ minetest.register_node("mcl_copper:stone_with_copper", {
|
|||
_doc_items_longdesc = S("Some copper contained in stone, it is pretty common and can be found below sea level."),
|
||||
tiles = {"default_stone.png^mcl_copper_ore.png"},
|
||||
is_ground_content = true,
|
||||
groups = {pickaxey = 3, building_block = 1, material_stone = 1, blastFurnace_cookable = 1},
|
||||
groups = {pickaxey = 3, building_block = 1, material_stone = 1, blast_furnace_smeltable=1},
|
||||
drop = "mcl_copper:raw_copper",
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
_mcl_blast_resistance = 3,
|
||||
|
|
|
@ -47,7 +47,7 @@ minetest.register_node("mcl_core:stone_with_coal", {
|
|||
tiles = {"mcl_core_coal_ore.png"},
|
||||
is_ground_content = true,
|
||||
stack_max = 64,
|
||||
groups = {pickaxey=1, building_block=1, material_stone=1, xp=1, blastFurnace_cookable=1},
|
||||
groups = {pickaxey=1, building_block=1, material_stone=1, xp=1, blast_furnace_smeltable=1},
|
||||
drop = "mcl_core:coal_lump",
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
_mcl_blast_resistance = 3,
|
||||
|
@ -62,7 +62,7 @@ minetest.register_node("mcl_core:stone_with_iron", {
|
|||
tiles = {"mcl_core_iron_ore.png"},
|
||||
is_ground_content = true,
|
||||
stack_max = 64,
|
||||
groups = {pickaxey=3, building_block=1, material_stone=1, blastFurnace_cookable=1},
|
||||
groups = {pickaxey=3, building_block=1, material_stone=1, blast_furnace_smeltable=1},
|
||||
drop = "mcl_core:stone_with_iron",
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
_mcl_blast_resistance = 3,
|
||||
|
@ -77,7 +77,7 @@ minetest.register_node("mcl_core:stone_with_gold", {
|
|||
tiles = {"mcl_core_gold_ore.png"},
|
||||
is_ground_content = true,
|
||||
stack_max = 64,
|
||||
groups = {pickaxey=4, building_block=1, material_stone=1, blastFurnace_cookable=1},
|
||||
groups = {pickaxey=4, building_block=1, material_stone=1, blast_furnace_smeltable=1},
|
||||
drop = "mcl_core:stone_with_gold",
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
_mcl_blast_resistance = 3,
|
||||
|
@ -97,7 +97,7 @@ minetest.register_node("mcl_core:stone_with_redstone", {
|
|||
tiles = {"mcl_core_redstone_ore.png"},
|
||||
is_ground_content = true,
|
||||
stack_max = 64,
|
||||
groups = {pickaxey=4, building_block=1, material_stone=1, xp=7, blastFurnace_cookable=1},
|
||||
groups = {pickaxey=4, building_block=1, material_stone=1, xp=7, blast_furnace_smeltable=1},
|
||||
drop = {
|
||||
items = {
|
||||
max_items = 1,
|
||||
|
@ -137,7 +137,7 @@ minetest.register_node("mcl_core:stone_with_redstone_lit", {
|
|||
light_source = 9,
|
||||
is_ground_content = true,
|
||||
stack_max = 64,
|
||||
groups = {pickaxey=4, not_in_creative_inventory=1, material_stone=1, xp=7, blastFurnace_cookable=1},
|
||||
groups = {pickaxey=4, not_in_creative_inventory=1, material_stone=1, xp=7, blast_furnace_smeltable=1},
|
||||
drop = {
|
||||
items = {
|
||||
max_items = 1,
|
||||
|
@ -175,7 +175,7 @@ minetest.register_node("mcl_core:stone_with_lapis", {
|
|||
tiles = {"mcl_core_lapis_ore.png"},
|
||||
is_ground_content = true,
|
||||
stack_max = 64,
|
||||
groups = {pickaxey=3, building_block=1, material_stone=1, xp=6, blastFurnace_cookable=1},
|
||||
groups = {pickaxey=3, building_block=1, material_stone=1, xp=6, blast_furnace_smeltable=1},
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
|
@ -199,7 +199,7 @@ minetest.register_node("mcl_core:stone_with_emerald", {
|
|||
tiles = {"mcl_core_emerald_ore.png"},
|
||||
is_ground_content = true,
|
||||
stack_max = 64,
|
||||
groups = {pickaxey=4, building_block=1, material_stone=1, xp=6, blastFurnace_cookable=1},
|
||||
groups = {pickaxey=4, building_block=1, material_stone=1, xp=6, blast_furnace_smeltable=1},
|
||||
drop = "mcl_core:emerald",
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
_mcl_blast_resistance = 3,
|
||||
|
@ -214,7 +214,7 @@ minetest.register_node("mcl_core:stone_with_diamond", {
|
|||
tiles = {"mcl_core_diamond_ore.png"},
|
||||
is_ground_content = true,
|
||||
stack_max = 64,
|
||||
groups = {pickaxey=4, building_block=1, material_stone=1, xp=4, blastFurnace_cookable=1},
|
||||
groups = {pickaxey=4, building_block=1, material_stone=1, xp=4, blast_furnace_smeltable=1},
|
||||
drop = "mcl_core:diamond",
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
_mcl_blast_resistance = 3,
|
||||
|
|
Loading…
Reference in New Issue