mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-20 14:23:16 -04:00
Changed Mese object to be more consistent with other ores (see below).
Added textures for mese mineral, lump, ingot, block. Block uses a variant of the old black-on-yellow mese texture. Changed name of primary mese object in game to be mese mineral rather than a mese block; changed name of this object to "default:stone_with_mese" and aliased "default:mese" back to that to avoid breaking old maps. Made this mese mineral drop a single mese lump when mined. Smelt one of these into a mese ingot (same cook time as iron lump -> steel ingot). Changed the mese pick recipe in default to use "default:mese_ingot" instead. Changed the mese-as-a-fuel recipe to use "default:mese_lump". Added recipe to craft mese block ("default:meseblock") from 9 mese ingots, and to craft it back to same. Added recipe to craft mese mineral out of one mese lump and one block of stone for backward compatibility with old mods that depended on the original mese object.
This commit is contained in:
parent
3928eccf74
commit
7175794418
5 changed files with 63 additions and 10 deletions
|
@ -259,7 +259,7 @@ minetest.register_craft({
|
|||
minetest.register_craft({
|
||||
output = 'default:pick_mese',
|
||||
recipe = {
|
||||
{'default:mese', 'default:mese', 'default:mese'},
|
||||
{'default:mese_ingot', 'default:mese_ingot', 'default:mese_ingot'},
|
||||
{'', 'default:stick', ''},
|
||||
{'', 'default:stick', ''},
|
||||
}
|
||||
|
@ -470,6 +470,32 @@ minetest.register_craft({
|
|||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'default:meseblock',
|
||||
recipe = {
|
||||
{'default:mese_ingot', 'default:mese_ingot', 'default:mese_ingot'},
|
||||
{'default:mese_ingot', 'default:mese_ingot', 'default:mese_ingot'},
|
||||
{'default:mese_ingot', 'default:mese_ingot', 'default:mese_ingot'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'default:mese_ingot 9',
|
||||
recipe = {
|
||||
{'default:meseblock'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = 'default:stone_with_mese',
|
||||
recipe = {
|
||||
'default:mese_lump',
|
||||
'default:stone',
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
--
|
||||
-- Crafting (tool repair)
|
||||
--
|
||||
|
@ -500,6 +526,12 @@ minetest.register_craft({
|
|||
recipe = "default:iron_lump",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "default:mese_ingot",
|
||||
recipe = "default:mese_lump"
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "default:clay_brick",
|
||||
|
@ -566,7 +598,7 @@ minetest.register_craft({
|
|||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "default:mese",
|
||||
recipe = "default:mese_lump",
|
||||
burntime = 30,
|
||||
})
|
||||
|
||||
|
@ -745,6 +777,17 @@ minetest.register_node("default:stone_with_iron", {
|
|||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("default:stone_with_mese", {
|
||||
description = "Mese Ore",
|
||||
tiles = {"default_stone.png^default_mineral_mese.png"},
|
||||
is_ground_content = true,
|
||||
groups = {cracky=1},
|
||||
drop = "default:mese_lump",
|
||||
sounds = default.node_sound_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_alias("default:mese", "default:stone_with_mese")
|
||||
|
||||
minetest.register_node("default:dirt_with_grass", {
|
||||
description = "Dirt with Grass",
|
||||
tiles = {"default_grass.png", "default_dirt.png", "default_dirt.png^default_grass_side.png"},
|
||||
|
@ -990,14 +1033,6 @@ minetest.register_node("default:wood", {
|
|||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("default:mese", {
|
||||
description = "Mese",
|
||||
tiles = {"default_mese.png"},
|
||||
is_ground_content = true,
|
||||
groups = {cracky=1},
|
||||
sounds = default.node_sound_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("default:cloud", {
|
||||
description = "Cloud",
|
||||
tiles = {"default_cloud.png"},
|
||||
|
@ -1515,6 +1550,14 @@ minetest.register_node("default:steelblock", {
|
|||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("default:meseblock", {
|
||||
description = "Mese Block",
|
||||
tiles = {"default_mese_block.png"},
|
||||
is_ground_content = true,
|
||||
groups = {cracky=1},
|
||||
sounds = default.node_sound_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("default:nyancat", {
|
||||
description = "Nyan Cat",
|
||||
tiles = {"default_nc_side.png", "default_nc_side.png", "default_nc_side.png",
|
||||
|
@ -1613,6 +1656,11 @@ minetest.register_craftitem("default:iron_lump", {
|
|||
inventory_image = "default_iron_lump.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("default:mese_lump", {
|
||||
description = "Mese Lump",
|
||||
inventory_image = "default_mese_lump.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("default:clay_lump", {
|
||||
description = "Clay Lump",
|
||||
inventory_image = "default_clay_lump.png",
|
||||
|
@ -1623,6 +1671,11 @@ minetest.register_craftitem("default:steel_ingot", {
|
|||
inventory_image = "default_steel_ingot.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("default:mese_ingot", {
|
||||
description = "Mese Ingot",
|
||||
inventory_image = "default_mese_ingot.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("default:clay_brick", {
|
||||
description = "Clay Brick",
|
||||
inventory_image = "default_steel_ingot.png",
|
||||
|
|
BIN
mods/default/textures/default_mese_block.png
Normal file
BIN
mods/default/textures/default_mese_block.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 482 B |
BIN
mods/default/textures/default_mese_ingot.png
Normal file
BIN
mods/default/textures/default_mese_ingot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 214 B |
BIN
mods/default/textures/default_mese_lump.png
Normal file
BIN
mods/default/textures/default_mese_lump.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 197 B |
BIN
mods/default/textures/default_mineral_mese.png
Normal file
BIN
mods/default/textures/default_mineral_mese.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 246 B |
Loading…
Add table
Reference in a new issue