Noch mehr mods
45
mods/mtg_plus/README.md
Normal file
|
@ -0,0 +1,45 @@
|
|||
# Minetest Game Plus [`mtg_plus`]
|
||||
This mods adds various simple decorative blocks, doors, panes and more to extend Minetest Game.
|
||||
The focus lies on:
|
||||
|
||||
* Snow and ice
|
||||
* Panes
|
||||
* Doors
|
||||
* Metals
|
||||
|
||||
Current version: 1.1.2
|
||||
For Minetest/Minetest Game 5.1.0 or later
|
||||
|
||||
## Special stuff
|
||||
Most new items are purely decorational and self-explanationary, but a few items are somewhat unique:
|
||||
|
||||
* Dirty Glass: Like glass, but sunlight will not go through unlimited
|
||||
* Aggregated Diamond Block: Not even a diamond pickaxe can break it. But TNT will do
|
||||
* Ice-themed doors and trapdoors: Solid doors for which (like for ice) light goes through
|
||||
* Goldwood: Fireproof wood
|
||||
|
||||
## Compability
|
||||
This mod is optionally compatible with:
|
||||
|
||||
* `xdecor`: For adding more recipes for compability
|
||||
* `moreblocks`: For adding recipes involving the sweeper
|
||||
* `furniture`: For adding furniture for goldwood and the cobblestone variants
|
||||
* `doc_items`: For providing item descriptions (incomplete)
|
||||
* `awards`: More achievements
|
||||
|
||||
## Credits and licenses
|
||||
This mod is free software.
|
||||
|
||||
### Code
|
||||
* Author: Wuzzy
|
||||
* Licensed under: MIT License
|
||||
|
||||
### Graphics
|
||||
All graphics are derivate works of Minetest Game textures.
|
||||
They are licensed under [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/).
|
||||
|
||||
### Sounds
|
||||
* `mtg_plus_door_icesteel_close.ogg`: Derivate work of `door_steel_door_close.ogg` by HazMatt from Minetest Game, licensed under [CC-BY 3.0](https://creativecommons.org/licenses/by/3.0/)
|
||||
* `mtg_plus_door_icesteel_open.ogg`: Derivate work of `door_steel_door_open.ogg` by HazMatt from Minetest Game, licensed under CC-BY 3.0
|
||||
* Everything else is licensed under the MIT License.
|
||||
|
12
mods/mtg_plus/aliases.lua
Normal file
|
@ -0,0 +1,12 @@
|
|||
-- Legacy aliases
|
||||
-- Earlier versions had beds, but those were removed because they were considered ugly
|
||||
minetest.register_alias("mtg_plus:gold_bed_bottom", "beds:fancy_bed_bottom")
|
||||
minetest.register_alias("mtg_plus:gold_bed_top", "beds:fancy_bed_top")
|
||||
minetest.register_alias("mtg_plus:bed_simple_white_bottom", "beds:bed_bottom")
|
||||
minetest.register_alias("mtg_plus:bed_simple_white_top", "beds:bed_top")
|
||||
minetest.register_alias("mtg_plus:goldapple", "default:apple")
|
||||
minetest.register_alias("xpanes:obsidian_glass_flat", "xpanes:obsidian_pane_flat")
|
||||
minetest.register_alias("xpanes:obsidian_glass", "xpanes:obsidian_pane")
|
||||
minetest.register_alias("doors:door_iron_bar", "xpanes:door_steel_bar")
|
||||
minetest.register_alias("doors:door_iron_bar_a", "xpanes:door_steel_bar_a")
|
||||
minetest.register_alias("doors:door_iron_bar_b", "xpanes:door_steel_bar_b")
|
94
mods/mtg_plus/awards.lua
Normal file
|
@ -0,0 +1,94 @@
|
|||
local S = minetest.get_translator("mtg_plus")
|
||||
|
||||
if minetest.get_modpath("awards") then
|
||||
awards.register_achievement("mtg_plus_goldwood", {
|
||||
title = S("Rich Carpenter"),
|
||||
description = S("Craft 100 goldwood."),
|
||||
icon = "mtg_plus_goldwood.png",
|
||||
trigger = {
|
||||
type = "craft",
|
||||
item = "mtg_plus:goldwood",
|
||||
target = 100
|
||||
}
|
||||
})
|
||||
awards.register_achievement("mtg_plus_gravel_cobble", {
|
||||
title = S("Historic City"),
|
||||
description = S("Craft 400 cobbled gravel."),
|
||||
icon = "mtg_plus_gravel_cobble.png",
|
||||
trigger = {
|
||||
type = "craft",
|
||||
item = "mtg_plus:gravel_cobble",
|
||||
target = 400
|
||||
}
|
||||
})
|
||||
awards.register_achievement("mtg_plus_papyrus_block", {
|
||||
title = S("Papyrus Panic"),
|
||||
description = S("Build 100 papyrus blocks."),
|
||||
icon = "mtg_plus_papyrus_block_side.png",
|
||||
trigger = {
|
||||
type = "place",
|
||||
node = "mtg_plus:papyrus_block",
|
||||
target = 100
|
||||
}
|
||||
})
|
||||
awards.register_achievement("mtg_plus_harddiamondblock", {
|
||||
title = S("Can't dig me!"),
|
||||
description = S("Place a aggregated diamond block."),
|
||||
icon = "mtg_plus_hard_diamond_block.png",
|
||||
trigger = {
|
||||
type = "place",
|
||||
node = "mtg_plus:harddiamondblock",
|
||||
target = 1
|
||||
}
|
||||
})
|
||||
awards.register_achievement("mtg_plus_ice_tile16", {
|
||||
title = S("Ice Crazy"),
|
||||
description = S("Craft 128 dense ice tiles."),
|
||||
icon = "mtg_plus_ice_tile16.png",
|
||||
trigger = {
|
||||
type = "craft",
|
||||
item = "mtg_plus:ice_tile16",
|
||||
target = 128
|
||||
}
|
||||
})
|
||||
awards.register_achievement("mtg_plus_hard_snow_brick", {
|
||||
title = S("Let's build an igloo!"),
|
||||
description = S("Place 225 hard snow bricks."),
|
||||
icon = "mtg_plus_hard_snow_brick.png",
|
||||
trigger = {
|
||||
type = "place",
|
||||
node = "mtg_plus:hard_snow_brick",
|
||||
target = 225
|
||||
}
|
||||
})
|
||||
awards.register_achievement("mtg_plus_gold_bed", {
|
||||
title = S("Luxurious Adornment"),
|
||||
description = S("Craft 4 small gold-framed diamond blocks."),
|
||||
icon = "mtg_plus_gold_diamond_block.png",
|
||||
trigger = {
|
||||
type = "craft",
|
||||
item = "mtg_plus:gold_diamond_block",
|
||||
target = 4
|
||||
}
|
||||
})
|
||||
awards.register_achievement("mtg_plus_jungle_cobble", {
|
||||
title = S("Green Jungle"),
|
||||
description = S("Craft 512 jungle cobblestone."),
|
||||
icon = "mtg_plus_jungle_cobble.png",
|
||||
trigger = {
|
||||
type = "craft",
|
||||
item = "mtg_plus:jungle_cobble",
|
||||
target = 512
|
||||
}
|
||||
})
|
||||
awards.register_achievement("mtg_plus_sandstone_cobble", {
|
||||
title = S("Yellow Desert"),
|
||||
description = S("Craft 512 cobbled sandstone."),
|
||||
icon = "mtg_plus_sandstone_cobble.png",
|
||||
trigger = {
|
||||
type = "craft",
|
||||
item = "mtg_plus:sandstone_cobble",
|
||||
target = 512
|
||||
}
|
||||
})
|
||||
end
|
419
mods/mtg_plus/brickblocks.lua
Normal file
|
@ -0,0 +1,419 @@
|
|||
local S = minetest.get_translator("mtg_plus")
|
||||
|
||||
local deco, build
|
||||
if minetest.get_modpath("doc_items") then
|
||||
deco = doc.sub.items.temp.deco
|
||||
build = doc.sub.items.temp.build
|
||||
end
|
||||
|
||||
local metal_sounds
|
||||
if default.node_sound_metal_defaults then
|
||||
metal_sounds = default.node_sound_metal_defaults()
|
||||
else
|
||||
metal_sounds = default.node_sound_stone_defaults()
|
||||
end
|
||||
|
||||
|
||||
-- Dirt bricks
|
||||
|
||||
minetest.register_node("mtg_plus:dirtbrick", {
|
||||
description = S("Soft Dirt Brick"),
|
||||
_doc_items_longdesc = build,
|
||||
tiles = {"mtg_plus_dirt_brick.png"},
|
||||
is_ground_content = false,
|
||||
groups = { crumbly = 2, soil = 1 },
|
||||
sounds = default.node_sound_dirt_defaults(),
|
||||
drop = "default:dirt",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:dirtbrick 4",
|
||||
recipe = { { "default:dirt", "default:dirt", },
|
||||
{ "default:dirt", "default:dirt", }, },
|
||||
})
|
||||
|
||||
minetest.register_node("mtg_plus:harddirtbrick", {
|
||||
description = S("Hardened Dirt Brick"),
|
||||
_doc_items_longdesc = build,
|
||||
tiles = {"mtg_plus_dirt_brick_hard.png"},
|
||||
is_ground_content = false,
|
||||
groups = { crumbly = 1, level = 1, soil = 1 },
|
||||
sounds = default.node_sound_dirt_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "mtg_plus:harddirtbrick",
|
||||
recipe = "mtg_plus:dirtbrick",
|
||||
cooktime = 5,
|
||||
})
|
||||
|
||||
-- Metal bricks
|
||||
|
||||
minetest.register_node("mtg_plus:goldbrick", {
|
||||
description = S("Gold Brick"),
|
||||
_doc_items_longdesc = build,
|
||||
tiles = {"mtg_plus_gold_brick.png"},
|
||||
is_ground_content = false,
|
||||
groups = { cracky = 1, },
|
||||
sounds = metal_sounds,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:goldbrick 4",
|
||||
recipe = { { "default:goldblock", "default:goldblock", },
|
||||
{ "default:goldblock", "default:goldblock", }, },
|
||||
})
|
||||
|
||||
minetest.register_node("mtg_plus:bronzebrick", {
|
||||
description = S("Bronze Brick"),
|
||||
_doc_items_longdesc = build,
|
||||
tiles = {"mtg_plus_bronze_brick.png"},
|
||||
is_ground_content = false,
|
||||
groups = { cracky = 1, level = 2 },
|
||||
sounds = metal_sounds,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:bronzebrick 4",
|
||||
recipe = { { "default:bronzeblock", "default:bronzeblock", },
|
||||
{ "default:bronzeblock", "default:bronzeblock", }, },
|
||||
})
|
||||
|
||||
minetest.register_node("mtg_plus:tinbrick", {
|
||||
description = S("Tin Brick"),
|
||||
_doc_items_longdesc = build,
|
||||
tiles = {"mtg_plus_tin_brick.png"},
|
||||
is_ground_content = false,
|
||||
groups = { cracky = 1, level = 2 },
|
||||
sounds = metal_sounds,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:tinbrick 4",
|
||||
recipe = { { "default:tinblock", "default:tinblock", },
|
||||
{ "default:tinblock", "default:tinblock", }, },
|
||||
})
|
||||
|
||||
minetest.register_node("mtg_plus:copperbrick", {
|
||||
description = S("Copper Brick"),
|
||||
_doc_items_longdesc = build,
|
||||
tiles = {"mtg_plus_copper_brick.png"},
|
||||
is_ground_content = false,
|
||||
groups = { cracky = 1, level = 2 },
|
||||
sounds = metal_sounds,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:copperbrick 4",
|
||||
recipe = { { "default:copperblock", "default:copperblock", },
|
||||
{ "default:copperblock", "default:copperblock", }, },
|
||||
})
|
||||
|
||||
minetest.register_node("mtg_plus:steelbrick", {
|
||||
description = S("Steel Brick"),
|
||||
_doc_items_longdesc = build,
|
||||
tiles = {"mtg_plus_steel_brick.png"},
|
||||
is_ground_content = false,
|
||||
groups = { cracky = 1, level = 2 },
|
||||
sounds = metal_sounds,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:steelbrick 4",
|
||||
recipe = { { "default:steelblock", "default:steelblock", },
|
||||
{ "default:steelblock", "default:steelblock", }, },
|
||||
})
|
||||
|
||||
|
||||
-- Golden edges
|
||||
|
||||
minetest.register_node("mtg_plus:stonebrick_gold", {
|
||||
description = S("Stone Brick with Golden Edges"),
|
||||
_doc_items_longdesc = build,
|
||||
tiles = {"mtg_plus_stone_brick_gold.png"},
|
||||
is_ground_content = false,
|
||||
groups = { cracky = 2, stone = 1 },
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:stonebrick_gold 4",
|
||||
recipe = { { "", "default:stonebrick", "", },
|
||||
{ "default:stonebrick", "default:gold_ingot", "default:stonebrick", },
|
||||
{ "", "default:stonebrick", "", } }
|
||||
})
|
||||
|
||||
minetest.register_node("mtg_plus:desert_stonebrick_gold", {
|
||||
description = S("Desert Stone Brick with Golden Edges"),
|
||||
_doc_items_longdesc = build,
|
||||
tiles = {"mtg_plus_desert_stone_brick_gold.png"},
|
||||
is_ground_content = false,
|
||||
groups = { cracky = 2, stone = 1 },
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:desert_stonebrick_gold 4",
|
||||
recipe = { { "", "default:desert_stonebrick", "" },
|
||||
{ "default:desert_stonebrick", "default:gold_ingot", "default:desert_stonebrick", },
|
||||
{ "", "default:desert_stonebrick", "", } }
|
||||
})
|
||||
|
||||
minetest.register_node("mtg_plus:sandstonebrick_gold", {
|
||||
description = S("Sandstone Brick with Golden Edges"),
|
||||
_doc_items_longdesc = build,
|
||||
tiles = {"mtg_plus_sandstone_brick_gold.png"},
|
||||
is_ground_content = false,
|
||||
groups = { cracky = 2, },
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:sandstonebrick_gold 4",
|
||||
recipe = { { "", "default:sandstonebrick", "", },
|
||||
{ "default:sandstonebrick", "default:gold_ingot", "default:sandstonebrick", },
|
||||
{ "", "default:sandstonebrick", "", } }
|
||||
})
|
||||
|
||||
minetest.register_node("mtg_plus:desert_sandstone_brick_gold", {
|
||||
description = S("Desert Sandstone Brick with Golden Edges"),
|
||||
_doc_items_longdesc = build,
|
||||
tiles = {"mtg_plus_desert_sandstone_brick_gold.png"},
|
||||
is_ground_content = false,
|
||||
groups = { cracky = 2, },
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:desert_sandstone_brick_gold 4",
|
||||
recipe = { { "", "default:desert_sandstone_brick", "", },
|
||||
{ "default:desert_sandstone_brick", "default:gold_ingot", "default:desert_sandstone_brick", },
|
||||
{ "", "default:desert_sandstone_brick", "", } }
|
||||
})
|
||||
|
||||
minetest.register_node("mtg_plus:silver_sandstone_brick_gold", {
|
||||
description = S("Silver Sandstone Brick with Golden Edges"),
|
||||
_doc_items_longdesc = build,
|
||||
tiles = {"mtg_plus_silver_sandstone_brick_gold.png"},
|
||||
is_ground_content = false,
|
||||
groups = { cracky = 2, },
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:silver_sandstone_brick_gold 4",
|
||||
recipe = { { "", "default:silver_sandstone_brick", "", },
|
||||
{ "default:silver_sandstone_brick", "default:gold_ingot", "default:silver_sandstone_brick", },
|
||||
{ "", "default:silver_sandstone_brick", "", } }
|
||||
})
|
||||
|
||||
minetest.register_node("mtg_plus:obsidianbrick_gold", {
|
||||
description = S("Obsidian Brick with Golden Edges"),
|
||||
_doc_items_longdesc = build,
|
||||
tiles = {"mtg_plus_obsidian_brick_gold.png"},
|
||||
is_ground_content = false,
|
||||
groups = { cracky = 1, level = 2 },
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:obsidianbrick_gold 4",
|
||||
recipe = { { "", "default:obsidianbrick", "", },
|
||||
{ "default:obsidianbrick", "default:gold_ingot", "default:obsidianbrick", },
|
||||
{ "", "default:obsidianbrick", "", } }
|
||||
})
|
||||
|
||||
|
||||
-- Snow and ice
|
||||
|
||||
minetest.register_node("mtg_plus:ice_block", {
|
||||
description = S("Ice Block"),
|
||||
_doc_items_longdesc = build,
|
||||
tiles = {"mtg_plus_ice_block.png"},
|
||||
groups = {cracky = 3, cools_lava = 1, slippery = 3 },
|
||||
is_ground_content = false,
|
||||
paramtype = "light",
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:ice_block 9",
|
||||
recipe = { { "default:ice", "default:ice", "default:ice" },
|
||||
{ "default:ice", "default:ice", "default:ice" },
|
||||
{ "default:ice", "default:ice", "default:ice" } }
|
||||
})
|
||||
|
||||
|
||||
|
||||
minetest.register_node("mtg_plus:ice_tile4", {
|
||||
description = S("Ice Tile"),
|
||||
_doc_items_longdesc = build,
|
||||
tiles = {"mtg_plus_ice_tile4.png"},
|
||||
groups = {cracky = 3, level = 1, cools_lava = 1, slippery = 3 },
|
||||
is_ground_content = false,
|
||||
paramtype = "light",
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:ice_tile4",
|
||||
recipe = { { "mtg_plus:ice_block", "mtg_plus:ice_block" },
|
||||
{ "mtg_plus:ice_block", "mtg_plus:ice_block" },}
|
||||
})
|
||||
|
||||
minetest.register_node("mtg_plus:ice_tile16", {
|
||||
description = S("Dense Ice Tile"),
|
||||
_doc_items_longdesc = build,
|
||||
tiles = {"mtg_plus_ice_tile16.png"},
|
||||
groups = {cracky = 3, level = 2, cools_lava = 1, slippery = 2 },
|
||||
is_ground_content = false,
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:ice_tile16",
|
||||
recipe = { { "mtg_plus:ice_tile4", "mtg_plus:ice_tile4" },
|
||||
{ "mtg_plus:ice_tile4", "mtg_plus:ice_tile4" } }
|
||||
})
|
||||
|
||||
minetest.register_node("mtg_plus:snow_brick", {
|
||||
description = S("Soft Snow Brick"),
|
||||
_doc_items_longdesc = build,
|
||||
tiles = {"mtg_plus_snow_brick.png"},
|
||||
groups = {crumbly = 2, cools_lava = 1, snowy = 1},
|
||||
is_ground_content = false,
|
||||
sounds = default.node_sound_dirt_defaults({
|
||||
footstep={name="default_snow_footstep", gain = 0.15},
|
||||
dig={name="default_snow_footstep", gain = 0.2},
|
||||
dug={name="default_snow_footstep", gain = 0.2}
|
||||
}),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:snow_brick 4",
|
||||
recipe = { { "default:snowblock", "default:snowblock" },
|
||||
{ "default:snowblock", "default:snowblock", } },
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "default:snowblock",
|
||||
recipe = { { "mtg_plus:snow_brick" } },
|
||||
})
|
||||
|
||||
minetest.register_node("mtg_plus:hard_snow_brick", {
|
||||
description = S("Hard Snow Brick"),
|
||||
_doc_items_longdesc = build,
|
||||
tiles = {"mtg_plus_hard_snow_brick.png"},
|
||||
groups = {crumbly = 1, cracky = 2, cools_lava = 1, snowy = 1},
|
||||
is_ground_content = false,
|
||||
sounds = default.node_sound_dirt_defaults({
|
||||
dig={name="default_snow_footstep", gain = 0.2},
|
||||
dug={name="default_snow_footstep", gain = 0.2}
|
||||
}),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:hard_snow_brick",
|
||||
recipe = { { "mtg_plus:snow_brick", "mtg_plus:snow_brick" },
|
||||
{ "mtg_plus:snow_brick", "mtg_plus:snow_brick" } },
|
||||
})
|
||||
|
||||
minetest.register_node("mtg_plus:ice_snow_brick", {
|
||||
description = S("Icy Snow Brick"),
|
||||
_doc_items_longdesc = build,
|
||||
tiles = {"mtg_plus_ice_snow_brick.png"},
|
||||
groups = {cracky = 2, cools_lava = 1, slippery=1},
|
||||
is_ground_content = false,
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:ice_snow_brick 2",
|
||||
type = "shapeless",
|
||||
recipe = { "mtg_plus:hard_snow_brick", "mtg_plus:ice_brick" },
|
||||
})
|
||||
|
||||
minetest.register_node("mtg_plus:ice_brick", {
|
||||
description = S("Ice Brick"),
|
||||
_doc_items_longdesc = build,
|
||||
tiles = {"mtg_plus_ice_brick.png"},
|
||||
paramtype = "light",
|
||||
groups = {cracky = 3, cools_lava = 1, slippery = 3},
|
||||
is_ground_content = false,
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
-- Papyrus Block
|
||||
|
||||
minetest.register_node("mtg_plus:papyrus_block", {
|
||||
description = S("Papyrus Block"),
|
||||
_doc_items_longdesc = build,
|
||||
tiles = {"mtg_plus_papyrus_block_y.png","mtg_plus_papyrus_block_y.png","mtg_plus_papyrus_block_side2.png","mtg_plus_papyrus_block_side2.png","mtg_plus_papyrus_block_side.png","mtg_plus_papyrus_block_side.png"},
|
||||
groups = {snappy = 2, choppy = 2, flammable = 3},
|
||||
is_ground_content = false,
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:papyrus_block",
|
||||
recipe = { { "default:papyrus", "default:papyrus", "default:papyrus", },
|
||||
{ "default:papyrus", "default:papyrus", "default:papyrus", },
|
||||
{ "default:papyrus", "default:papyrus", "default:papyrus", } }
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "default:papyrus 9",
|
||||
recipe = { { "mtg_plus:papyrus_block" } }
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "mtg_plus:papyrus_block",
|
||||
burntime = 9,
|
||||
})
|
||||
|
||||
|
||||
-- Flint block
|
||||
|
||||
minetest.register_node("mtg_plus:flint_block", {
|
||||
description = S("Flint Block"),
|
||||
_doc_items_longdesc = deco,
|
||||
tiles = {"mtg_plus_flint_block.png"},
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 2},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:flint_block",
|
||||
recipe = {
|
||||
{ "default:flint", "default:flint", "default:flint" },
|
||||
{ "default:flint", "default:flint", "default:flint" },
|
||||
{ "default:flint", "default:flint", "default:flint" },
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "default:flint 9 ",
|
||||
recipe = {
|
||||
{ "mtg_plus:flint_block" },
|
||||
}
|
||||
})
|
||||
|
||||
-- Gold-framed diamond block, just an absurd luxurious decoration. :D
|
||||
minetest.register_node("mtg_plus:gold_diamond_block", {
|
||||
description = S("Small Gold-framed Diamond Block"),
|
||||
_doc_items_longdesc = deco,
|
||||
tiles = {"mtg_plus_gold_diamond_block.png"},
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 1, level = 3},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:gold_diamond_block",
|
||||
recipe = { { "default:gold_ingot", "default:diamond", "default:gold_ingot", },
|
||||
{ "default:diamond", "default:diamond", "default:diamond" },
|
||||
{ "default:gold_ingot", "default:diamond", "default:gold_ingot", } },
|
||||
})
|
117
mods/mtg_plus/cobble.lua
Normal file
|
@ -0,0 +1,117 @@
|
|||
local S = minetest.get_translator("mtg_plus")
|
||||
|
||||
local build
|
||||
if minetest.get_modpath("doc_items") then
|
||||
build = doc.sub.items.temp.build
|
||||
end
|
||||
|
||||
-- Cobblestone
|
||||
|
||||
minetest.register_node("mtg_plus:gravel_cobble", {
|
||||
description = S("Cobbled Gravel"),
|
||||
_doc_items_longdesc = S("Cobbled gravel is solidified gravel, carefully arranged in a mosaic-like pattern. It makes a nice building material."),
|
||||
tiles = {"mtg_plus_gravel_cobble.png"},
|
||||
is_ground_content = false,
|
||||
groups = { cracky = 3, stone = 1 },
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:gravel_cobble 2",
|
||||
recipe = { { "default:gravel", "default:gravel" },
|
||||
{ "default:gravel", "default:gravel" } },
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "default:gravel",
|
||||
recipe = "mtg_plus:gravel_cobble",
|
||||
})
|
||||
|
||||
|
||||
minetest.register_node("mtg_plus:sandstone_cobble", {
|
||||
description = S("Cobbled Sandstone"),
|
||||
_doc_items_longdesc = build,
|
||||
tiles = {"mtg_plus_sandstone_cobble.png"},
|
||||
groups = {cracky = 3, },
|
||||
is_ground_content = false,
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:sandstone_cobble 2",
|
||||
recipe = { { "default:sandstone", "default:sandstone" } },
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "default:sandstone",
|
||||
recipe = "mtg_plus:sandstone_cobble",
|
||||
})
|
||||
|
||||
minetest.register_node("mtg_plus:desert_sandstone_cobble", {
|
||||
description = S("Cobbled Desert Sandstone"),
|
||||
_doc_items_longdesc = build,
|
||||
tiles = {"mtg_plus_desert_sandstone_cobble.png"},
|
||||
groups = {cracky = 3, },
|
||||
is_ground_content = false,
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:desert_sandstone_cobble 2",
|
||||
recipe = { { "default:desert_sandstone", "default:desert_sandstone" } },
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "default:desert_sandstone",
|
||||
recipe = "mtg_plus:desert_sandstone_cobble",
|
||||
})
|
||||
|
||||
minetest.register_node("mtg_plus:silver_sandstone_cobble", {
|
||||
description = S("Cobbled Silver Sandstone"),
|
||||
_doc_items_longdesc = build,
|
||||
tiles = {"mtg_plus_silver_sandstone_cobble.png"},
|
||||
groups = {cracky = 3, },
|
||||
is_ground_content = false,
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:silver_sandstone_cobble 2",
|
||||
recipe = { { "default:silver_sandstone", "default:silver_sandstone" } },
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "default:silver_sandstone",
|
||||
recipe = "mtg_plus:silver_sandstone_cobble",
|
||||
})
|
||||
|
||||
minetest.register_node("mtg_plus:jungle_cobble", {
|
||||
description = S("Jungle Cobblestone"),
|
||||
_doc_items_longdesc = build,
|
||||
tiles = {"mtg_plus_jungle_cobble.png"},
|
||||
groups = {cracky=3, stone=1},
|
||||
is_ground_content = false,
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:jungle_cobble",
|
||||
type = "shapeless",
|
||||
recipe = { "default:jungleleaves", "default:jungleleaves", "default:cobble" },
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:jungle_cobble",
|
||||
type = "shapeless",
|
||||
recipe = { "default:jungleleaves", "default:mossycobble" },
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "default:stone",
|
||||
type = "cooking",
|
||||
recipe = "mtg_plus:jungle_cobble",
|
||||
})
|
47
mods/mtg_plus/compat_xdecor.lua
Normal file
|
@ -0,0 +1,47 @@
|
|||
if minetest.get_modpath("xdecor") then
|
||||
minetest.register_craft({
|
||||
output = "xpanes:papyrus 2",
|
||||
recipe = {
|
||||
{ "", "farming:string", "" },
|
||||
{ "farming:string", "xpanes:bamboo_frame", "farming:string" },
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "xpanes:bamboo_frame",
|
||||
recipe = { { "xpanes:papyrus", "xpanes:papyrus", }, }
|
||||
})
|
||||
|
||||
-- xdecor compability
|
||||
minetest.register_craft({
|
||||
output = "xdecor:packed_ice 2",
|
||||
recipe = { { "mtg_plus:ice_block", "mtg_plus:ice_block", "mtg_plus:ice_block" },
|
||||
{ "mtg_plus:ice_block", "", "mtg_plus:ice_block" },
|
||||
{ "mtg_plus:ice_block", "mtg_plus:ice_block", "mtg_plus:ice_block" }, },
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:ice_tile16",
|
||||
recipe = { { "xdecor:packed_ice", "xdecor:packed_ice" },
|
||||
{ "xdecor:packed_ice", "xdecor:packed_ice" }, },
|
||||
})
|
||||
|
||||
-- Alternate ice brick crafting recipe for xdecor compability
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:ice_brick 4",
|
||||
recipe = { { "", "default:ice", "default:ice" },
|
||||
{ "default:ice", "default:ice", "" } },
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:ice_brick 4",
|
||||
recipe = { { "default:ice", "default:ice", "" },
|
||||
{ "", "default:ice", "default:ice" } },
|
||||
})
|
||||
else
|
||||
-- Normal ice brick crafting recipe
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:ice_brick 4",
|
||||
recipe = { { "default:ice", "default:ice" },
|
||||
{ "default:ice", "default:ice" } },
|
||||
})
|
||||
end
|
156
mods/mtg_plus/doors.lua
Normal file
|
@ -0,0 +1,156 @@
|
|||
local S = minetest.get_translator("mtg_plus")
|
||||
|
||||
local door_simple = S("A door covers a vertical area of two blocks to block the way. It can be opened and closed by any player.")
|
||||
local door_simple_use = S("Use the use key on it to open or close it.")
|
||||
|
||||
local metal_sounds
|
||||
if default.node_sound_metal_defaults then
|
||||
metal_sounds = default.node_sound_metal_defaults()
|
||||
else
|
||||
metal_sounds = default.node_sound_stone_defaults()
|
||||
end
|
||||
|
||||
-- Doors
|
||||
doors.register("door_wood_bar", {
|
||||
tiles = {{ name = "mtg_plus_door_wood_bar.png", backface_culling = true }},
|
||||
description = S("Wooden Bar Door"),
|
||||
_doc_items_longdesc = door_simple,
|
||||
_doc_items_usagehelp = door_simple_use,
|
||||
_doc_items_image = "mtg_plus_door_wood_bar_item.png",
|
||||
inventory_image = "mtg_plus_door_wood_bar_item.png",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
sound_open = "doors_fencegate_open",
|
||||
sound_close = "doors_fencegate_close",
|
||||
groups = { snappy = 2, choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 },
|
||||
recipe = {
|
||||
{"xpanes:wood_flat",},
|
||||
{"xpanes:wood_flat",},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "doors:door_wood_bar",
|
||||
burntime = 4,
|
||||
})
|
||||
|
||||
doors.register("door_papyrus", {
|
||||
tiles = {{ name = "mtg_plus_door_papyrus.png", backface_culling = true }},
|
||||
description = S("Papyrus Door"),
|
||||
_doc_items_longdesc = door_simple,
|
||||
_doc_items_usagehelp = door_simple_use,
|
||||
_doc_items_image = "mtg_plus_door_papyrus_item.png",
|
||||
inventory_image = "mtg_plus_door_papyrus_item.png",
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
sound_open = "doors_fencegate_open",
|
||||
sound_close = "doors_fencegate_close",
|
||||
groups = { snappy = 2, choppy = 1, flammable = 2 },
|
||||
recipe = {
|
||||
{"default:papyrus", "default:papyrus"},
|
||||
{"farming:string", "farming:string"},
|
||||
{"default:papyrus", "default:papyrus"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "doors:door_papyrus",
|
||||
burntime = 4,
|
||||
})
|
||||
|
||||
doors.register("door_ice", {
|
||||
tiles = {{ name = "mtg_plus_door_ice.png", backface_culling = true }},
|
||||
description = S("Ice Door"),
|
||||
_doc_items_longdesc = S("Ice doors can be opened and closed. They are solid, but some of the light hitting ice doors can still go through, making them an interesting decoration in icy areas."),
|
||||
_doc_items_usagehelp = door_simple_use,
|
||||
_doc_items_image = "mtg_plus_door_ice_item.png",
|
||||
inventory_image = "mtg_plus_door_ice_item.png",
|
||||
groups = { cracky = 3, slippery = 3, },
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
sound_open = "mtg_plus_door_ice_open",
|
||||
sound_close = "mtg_plus_door_ice_close",
|
||||
recipe = {
|
||||
{"default:ice", "default:ice"},
|
||||
{"default:ice", "default:ice"},
|
||||
{"default:ice", "default:ice"},
|
||||
}
|
||||
})
|
||||
|
||||
doors.register("door_icesteel", {
|
||||
tiles = {{ name = "mtg_plus_door_icesteel.png", backface_culling = true }},
|
||||
description = S("Icy Steel Door"),
|
||||
_doc_items_longdesc = S("Icy steel doors are a combination of ice doors and steel doors which can only be opened and closed by their owners. They are solid, but some of the light hitting icy steel doors can still go through."),
|
||||
_doc_items_usagehelp = S("Point the door to see who owns it. Use the use key on the door to open or close it (if you own it)."),
|
||||
_doc_items_image = "mtg_plus_door_icesteel_item.png",
|
||||
protected = true,
|
||||
sound_open = "mtg_plus_door_icesteel_open",
|
||||
sound_close = "mtg_plus_door_icesteel_close",
|
||||
inventory_image = "mtg_plus_door_icesteel_item.png",
|
||||
sounds = metal_sounds,
|
||||
groups = { snappy = 1, bendy = 2, cracky = 3, melty = 3, level = 2, slippery = 1, },
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "doors:door_icesteel 2",
|
||||
type = "shapeless",
|
||||
recipe = {"doors:door_ice", "doors:door_steel"},
|
||||
})
|
||||
|
||||
doors.register_fencegate("mtg_plus:gate_goldwood", {
|
||||
description = S("Goldwood Fence Gate"),
|
||||
material = "mtg_plus:goldwood",
|
||||
texture = "mtg_plus_goldwood.png",
|
||||
groups = {choppy=2, },
|
||||
})
|
||||
|
||||
minetest.override_item("mtg_plus:gate_goldwood_closed", {
|
||||
_doc_items_longdesc = S("A fence gate made from precious goldwood. It blocks the path, but it can be opened and easily jumped over. Other fence posts will neatly connect to this fence gate."),
|
||||
_doc_items_usagehelp = S("Right-click the gate to open or close it."),
|
||||
})
|
||||
minetest.override_item("mtg_plus:gate_goldwood_open", {
|
||||
_doc_items_create_entry = false,
|
||||
})
|
||||
if minetest.get_modpath("doc") then
|
||||
doc.add_entry_alias("nodes", "mtg_plus:gate_goldwood_closed", "nodes", "mtg_plus:gate_goldwood_open")
|
||||
end
|
||||
|
||||
doors.register_trapdoor("mtg_plus:trapdoor_ice", {
|
||||
description = S("Ice Trapdoor"),
|
||||
_doc_items_longdesc = S("An ice trapdoor covers the floor and can be opened and closed by anyone. Ice trapdoors are solid, but some light can pass through nonetheless."),
|
||||
_doc_items_usagehelp = door_simple_use,
|
||||
tile_front = "mtg_plus_trapdoor_ice.png",
|
||||
tile_side = "mtg_plus_trapdoor_ice_side.png",
|
||||
inventory_image = "mtg_plus_trapdoor_ice.png",
|
||||
wield_image = "mtg_plus_trapdoor_ice.png",
|
||||
sound_open = "mtg_plus_door_ice_open",
|
||||
sound_close = "mtg_plus_door_ice_close",
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
groups = { cracky = 3, slippery = 3, door = 1 },
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:trapdoor_ice 2",
|
||||
recipe = { { "default:ice", "default:ice", "default:ice" },
|
||||
{ "default:ice", "default:ice", "default:ice" }, }
|
||||
})
|
||||
|
||||
doors.register_trapdoor("mtg_plus:trapdoor_icesteel", {
|
||||
description = S("Icy Steel Trapdoor"),
|
||||
_doc_items_longdesc = S("An icy steel trapdoor is a combination of an ice trapdoor and a steel trapdoor. It covers the floor and can only be opened and closed by its placer. Icy steel trapdoors are solid, but some light can pass through nonetheless."),
|
||||
_doc_items_usagehelp = S("Point the icy steel trapdoor to see who owns it. Use the use key on it to open or close it (if you own it)."),
|
||||
protected = true,
|
||||
tile_front = "mtg_plus_trapdoor_icesteel.png",
|
||||
tile_side = "mtg_plus_trapdoor_icesteel_side.png",
|
||||
inventory_image = "mtg_plus_trapdoor_icesteel.png",
|
||||
wield_image = "mtg_plus_trapdoor_icesteel.png",
|
||||
sound_open = "mtg_plus_door_icesteel_open",
|
||||
sound_close = "mtg_plus_door_icesteel_close",
|
||||
sounds = metal_sounds,
|
||||
groups = { snappy = 1, bendy = 2, cracky = 3, melty = 3, level = 2, slippery = 1, door = 1 },
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "mtg_plus:trapdoor_icesteel 2",
|
||||
recipe = { "mtg_plus:trapdoor_ice", "doors:trapdoor_steel" },
|
||||
})
|
64
mods/mtg_plus/extras.lua
Normal file
|
@ -0,0 +1,64 @@
|
|||
local S = minetest.get_translator("mtg_plus")
|
||||
|
||||
-- Add additional crafting recipes and nodes if particular mods were detected
|
||||
|
||||
-- moreblocks extras
|
||||
if minetest.get_modpath("moreblocks") then
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "default:glass",
|
||||
recipe = {"mtg_plus:dirty_glass", "moreblocks:sweeper"}
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "moreblocks:clean_glass",
|
||||
recipe = {"mtg_plus:dirty_glass", "moreblocks:sweeper", "moreblocks:sweeper"}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:dirty_glass",
|
||||
recipe = {
|
||||
{"default:dirt"},
|
||||
{"moreblocks:clean_glass"}
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "mtg_plus:ice_window",
|
||||
recipe = { "mtg_plus:ice_tile4", "moreblocks:sweeper" },
|
||||
})
|
||||
end
|
||||
|
||||
-- furniture extras
|
||||
if minetest.get_modpath("furniture") then
|
||||
furniture.register_wooden("mtg_plus:goldwood", {
|
||||
description = S("Goldwood"),
|
||||
description_chair = S("Goldwood Chair"),
|
||||
description_stool = S("Goldwood Stool"),
|
||||
description_table = S("Goldwood Table"),
|
||||
})
|
||||
furniture.register_stone("mtg_plus:jungle_cobble", {
|
||||
description = S("Jungle Cobblestone"),
|
||||
description_stool = S("Jungle Cobblestone Stool"),
|
||||
description_table = S("Jungle Cobblestone Table"),
|
||||
})
|
||||
furniture.register_stone("mtg_plus:sandstone_cobble", {
|
||||
description = S("Cobbled Sandstone"),
|
||||
description_stool = S("Cobbled Sandstone Stool"),
|
||||
description_table = S("Cobbled Sandstone Table"),
|
||||
})
|
||||
furniture.register_stone("mtg_plus:desert_sandstone_cobble", {
|
||||
description = S("Cobbled Desert Sandstone"),
|
||||
description_stool = S("Cobbled Desert Sandstone Stool"),
|
||||
description_table = S("Cobbled Desert Sandstone Table"),
|
||||
})
|
||||
furniture.register_stone("mtg_plus:silver_sandstone_cobble", {
|
||||
description = S("Cobbled Silver Sandstone"),
|
||||
description_stool = S("Cobbled Silver Sandstone Stool"),
|
||||
description_table = S("Cobbled Silver Sandstone Table"),
|
||||
})
|
||||
furniture.register_stone("mtg_plus:gravel_cobble", {
|
||||
description = S("Cobbled Gravel"),
|
||||
description_stool = S("Cobbled Gravel Stool"),
|
||||
description_table = S("Cobbled Gravel Table"),
|
||||
})
|
||||
end
|
24
mods/mtg_plus/init.lua
Normal file
|
@ -0,0 +1,24 @@
|
|||
mtg_plus = {}
|
||||
|
||||
local path = minetest.get_modpath(minetest.get_current_modname())
|
||||
|
||||
-- Trivial blocks (full definition included; almost all nodes are full cubes)
|
||||
dofile(path.."/brickblocks.lua") -- Bricks and blocks
|
||||
dofile(path.."/cobble.lua") -- Cobblestone
|
||||
dofile(path.."/seethrough.lua") -- Glasslike nodes
|
||||
dofile(path.."/specials.lua") -- Nodes with something special (or misc. blocks)
|
||||
|
||||
-- Non-trivial blocks (definition require API)
|
||||
dofile(path.."/stairslabs.lua") -- Stairs and slabs
|
||||
dofile(path.."/wallfences.lua") -- Walls and fences
|
||||
dofile(path.."/xpanes.lua") -- Panes (xpanes mod)
|
||||
dofile(path.."/doors.lua") -- Doors and trapdoors
|
||||
dofile(path.."/ladders.lua") -- Ladders
|
||||
|
||||
-- Support for other mods
|
||||
dofile(path.."/extras.lua") -- Additional blocks and crafts for optional mods
|
||||
dofile(path.."/awards.lua") -- Achievements for the awards mod
|
||||
|
||||
-- Compability
|
||||
dofile(path.."/compat_xdecor.lua") -- xdecor compability
|
||||
dofile(path.."/aliases.lua") -- Aliases for compability
|
125
mods/mtg_plus/ladders.lua
Normal file
|
@ -0,0 +1,125 @@
|
|||
local S = minetest.get_translator("mtg_plus")
|
||||
|
||||
local metal_sounds, wood_sounds
|
||||
if default.node_sound_metal_defaults then
|
||||
metal_sounds = default.node_sound_metal_defaults()
|
||||
else
|
||||
metal_sounds = default.node_sound_stone_defaults()
|
||||
end
|
||||
wood_sounds = default.node_sound_wood_defaults()
|
||||
|
||||
-- Ladders
|
||||
minetest.register_node("mtg_plus:ladder_papyrus", {
|
||||
description = S("Papyrus Ladder"),
|
||||
_doc_items_longdesc = S("A particulary strong piece of ladder which allows you to move vertically."),
|
||||
drawtype = "signlike",
|
||||
tiles = {"mtg_plus_ladder_papyrus.png"},
|
||||
inventory_image = "mtg_plus_ladder_papyrus.png",
|
||||
wield_image = "mtg_plus_ladder_papyrus.png",
|
||||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
climbable = true,
|
||||
is_ground_content = false,
|
||||
selection_box = { type = "wallmounted", },
|
||||
groups = { snappy = 2, choppy = 1, flammable = 2 },
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:ladder_papyrus 2",
|
||||
recipe = { {"default:papyrus", "", "default:papyrus"},
|
||||
{"farming:string", "default:papyrus", "farming:string"},
|
||||
{"default:papyrus", "", "default:papyrus"}},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "mtg_plus:ladder_papyrus",
|
||||
burntime = 2,
|
||||
})
|
||||
|
||||
local simple_ladders = {
|
||||
{ "gold", "metal", S("Golden Ladder"), "default:gold_ingot", { cracky = 3 }, true },
|
||||
{ "bronze", "metal", S("Bronze Ladder"), "default:bronze_ingot", { cracky = 2 } },
|
||||
{ "copper", "metal", S("Copper Ladder"), "default:copper_ingot", { cracky = 2 } },
|
||||
{ "tin", "metal", S("Tin Ladder"), "default:tin_ingot", { cracky = 2 } },
|
||||
{ "aspen_wood", "wood", S("Aspen Wood Ladder"), "default:aspen_wood", { choppy = 3, flammable = 1 }, nil, 5 },
|
||||
{ "acacia_wood", "wood", S("Acacia Wood Ladder"), "default:acacia_wood", { choppy = 3, flammable = 1 }, nil, 8 },
|
||||
{ "pine_wood", "wood", S("Pine Wood Ladder"), "default:pine_wood", { choppy = 3, flammable = 1 }, nil, 6 },
|
||||
{ "junglewood", "wood", S("Jungle Wood Ladder"), "default:junglewood", { choppy = 3, flammable = 1 }, nil, 9 },
|
||||
{ "goldwood", "wood", S("Goldwood Ladder"), "mtg_plus:goldwood", { choppy = 2 }, true },
|
||||
}
|
||||
|
||||
for m=1, #simple_ladders do
|
||||
local ladder = simple_ladders[m]
|
||||
local longdesc
|
||||
if ladder[6] then
|
||||
longdesc = S("A luxurious piece of ladder which allows you to move vertically.")
|
||||
else
|
||||
longdesc = S("A piece of ladder which allows you to move vertically.")
|
||||
end
|
||||
if ladder[2] == "metal" then
|
||||
sounds = metal_sounds
|
||||
else
|
||||
sounds = wood_sounds
|
||||
end
|
||||
minetest.register_node("mtg_plus:ladder_"..ladder[1], {
|
||||
description = ladder[3],
|
||||
_doc_items_longdesc = longdesc,
|
||||
drawtype = "signlike",
|
||||
tiles = {"mtg_plus_ladder_"..ladder[1]..".png"},
|
||||
inventory_image = "mtg_plus_ladder_"..ladder[1]..".png",
|
||||
wield_image = "mtg_plus_ladder_"..ladder[1]..".png",
|
||||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
climbable = true,
|
||||
is_ground_content = false,
|
||||
selection_box = { type = "wallmounted", },
|
||||
groups = ladder[5],
|
||||
sounds = sounds,
|
||||
})
|
||||
if ladder[2] == "metal" then
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:ladder_"..ladder[1].." 15",
|
||||
recipe = {
|
||||
{ladder[4], "", ladder[4]},
|
||||
{ladder[4], ladder[4], ladder[4]},
|
||||
{ladder[4], "", ladder[4]},
|
||||
},
|
||||
})
|
||||
else
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:ladder_"..ladder[1].." 9",
|
||||
recipe = {
|
||||
{"group:stick", "", "group:stick"},
|
||||
{"group:stick", ladder[4], "group:stick"},
|
||||
{"group:stick", "", "group:stick"},
|
||||
},
|
||||
})
|
||||
if ladder[7] ~= nil then
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "mtg_plus:ladder_"..ladder[1],
|
||||
burntime = ladder[7],
|
||||
})
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
-- Tweak the default ladder
|
||||
minetest.override_item("default:ladder_wood", { description = S("Apple Wood Ladder") })
|
||||
minetest.register_craft({
|
||||
output = "default:ladder_wood 9",
|
||||
recipe = {
|
||||
{"group:stick", "", "group:stick"},
|
||||
{"group:stick", "default:wood", "group:stick"},
|
||||
{"group:stick", "", "group:stick"},
|
||||
},
|
||||
})
|
||||
|
||||
-- The default stick-only recipe for default ladder will be intentionally kept for
|
||||
-- convenience.
|
167
mods/mtg_plus/locale/mtg_plus.de.tr
Normal file
|
@ -0,0 +1,167 @@
|
|||
# textdomain:mtg_plus
|
||||
Aggregated Diamond Block=Aggregieter Diamantblock
|
||||
Bronze Brick=Bronzeziegel
|
||||
Bronze Brick Slab=Bronzeziegelplatte
|
||||
Bronze Brick Stair=Bronzeziegeltreppe
|
||||
Copper Brick=Kupferziegel
|
||||
Copper Brick Slab=Kupferziegelplatte
|
||||
Copper Brick Stair=Kupferziegeltreppe
|
||||
Dense Ice Tile=Kompakteiskachel
|
||||
Desert Stone Brick with Golden Edges=Wüstensteinziegel mit Goldkanten
|
||||
Diamond Block with Golden Frame=Diamantblock mit Goldrahmen
|
||||
Dirty Glass=Schmutziges Glas
|
||||
Soft Dirt Brick=Weicher Erdziegel
|
||||
Hardened Dirt Brick=Gehärteter Erdziegel
|
||||
Hardened Dirt Brick Slab=Gehärtete Erdziegelplatte
|
||||
Hardened Dirt Brick Stair=Gehärtete Erdziegeltreppe
|
||||
Cobbled Gravel=Kiespflaster
|
||||
Cobbled Gravel Slab=Kiespflasterplatte
|
||||
Cobbled Gravel Stair=Kiespflastertreppe
|
||||
Cobbled Gravel Wall=Kiespflastermauer
|
||||
Gravel Dirt=Kieserde
|
||||
Gold Brick=Goldziegel
|
||||
Gold Brick Slab=Goldziegelplatte
|
||||
Gold Brick Stair=Goldziegeltreppe
|
||||
Golden Ladder=Goldleiter
|
||||
Copper Ladder=Kupferleiter
|
||||
Bronze Ladder=Bronzeleiter
|
||||
Tin Ladder=Zinnleiter
|
||||
Golden Window=Goldfenster
|
||||
Goldglass=Goldglas
|
||||
Goldglass Pane=Goldglasscheibe
|
||||
Goldwood=Goldholz
|
||||
Goldwood Fence=Goldholzzaun
|
||||
Goldwood Fence Gate=Goldholzzauntor
|
||||
Goldwood Fence Rail=Goldholzzaungeländer
|
||||
Goldwood Slab=Goldholzplatte
|
||||
Goldwood Stair=Goldholztreppe
|
||||
Hard Snow Brick=Hartschneeziegel
|
||||
Hard Snow Brick Slab=Hartschneeziegelplatte
|
||||
Hard Snow Brick Stair=Hartschneeziegeltreppe
|
||||
Ice Block=Eisblock
|
||||
Ice Block Slab=Eisblockplatte
|
||||
Ice Block Stair=Eisblocktreppe
|
||||
Ice Brick=Eisziegel
|
||||
Ice Brick Slab=Eisziegelplatte
|
||||
Ice Brick Stair=Eisziegeltreppe
|
||||
Ice Door=Eistür
|
||||
Ice Trapdoor=Eisfalltür
|
||||
Ice Tile=Eiskachel
|
||||
Ice Tile Slab=Eiskachelplatte
|
||||
Ice Tile Stair=Eiskacheltreppe
|
||||
Ice Window=Eisfenster
|
||||
Ice Window Pane=Eisfensterscheibe
|
||||
Icy Snow Brick=Eisschneeziegel
|
||||
Icy Snow Brick Slab=Eisschneeziegelplatte
|
||||
Icy Snow Brick Stair=Eisschneeziegeltreppe
|
||||
Icy Steel Door=Eisstahltür
|
||||
Icy Steel Trapdoor=Eisstahlfalltür
|
||||
Jungle Cobblestone=Dschungelkopfsteinpflaster
|
||||
Jungle Cobblestone Slab=Dschungelkopfsteinpflasterplatte
|
||||
Jungle Cobblestone Stair=Dschungelkopfsteinpflastertreppe
|
||||
Obsidian Brick with Golden Edges=Obsidianziegel mit Goldkanten
|
||||
Paper Barrier=Papierbarriere
|
||||
Papyrus Block=Papyrusblock
|
||||
Papyrus Door=Papyrustür
|
||||
Papyrus Ladder=Papyrusleiter
|
||||
Papyrus Lattice=Papyrusgitter
|
||||
Sandstone Brick with Golden Edges=Sandsteinziegel mit Goldkanten
|
||||
Cobbled Sandstone=Sandsteinpflaster
|
||||
Cobbled Sandstone Slab=Sandsteinpflasterplatte
|
||||
Cobbled Sandstone Stair=Sandsteinpflastertreppe
|
||||
Soft Snow Brick=Weichschneeziegel
|
||||
Steel Brick=Stahlziegel
|
||||
Steel Brick Slab=Stahlziegelplatte
|
||||
Steel Brick Stair=Stahlziegeltreppe
|
||||
Stone Brick with Golden Edges=Steinziegel mit Goldkanten
|
||||
Wooden Bar Door=Holzgittertür
|
||||
Wooden Bars=Holzgitter
|
||||
Jungle Cobblestone Wall=Dschungelkopfsteinpflastermauer
|
||||
Dense Ice Tile Wall=Kompakteiskachelmauer
|
||||
Cobbled Sandstone Wall=Sandsteinpflastermauer
|
||||
Goldwood Chair=Goldholzstuhl
|
||||
Goldwood Stool=Goldholzhocker
|
||||
Goldwood Table=Goldholztisch
|
||||
Jungle Cobblestone Stool=Dschungelkopfsteinpflasterhocker
|
||||
Jungle Cobblestone Table=Dschungelkopfsteinpflastertisch
|
||||
Cobbled Sandstone Stool=Sandsteinpflasterhocker
|
||||
Cobbled Sandstone Table=Sandsteinpflastertisch
|
||||
Cobbled Gravel Stool=Kiespflasterhocker
|
||||
Cobbled Gravel Table=Kiespflastertisch
|
||||
Flint Block=Feuersteinblock
|
||||
Flint Block Stair=Feuersteinblocktreppe
|
||||
Flint Block Slab=Feuersteinblockplatte
|
||||
Desert Sandstone Brick with Golden Edges=Wüstensandsteinziegel mit Goldkanten
|
||||
Silver Sandstone Brick with Golden Edges=Silbersandsteinziegel mit Goldkanten
|
||||
Tin Brick=Zinnziegel
|
||||
Tin Brick Slab=Zinnziegelplatte
|
||||
Tin Brick Stair=Zinnziegeltreppe
|
||||
Cobbled Silver Sandstone=Silbersandsteinpflaster
|
||||
Cobbled Silver Sandstone Slab=Silbersandsteinpflasterplatte
|
||||
Cobbled Silver Sandstone Stair=Silbersandsteinpflastertreppe
|
||||
Cobbled Silver Sandstone Wall=Silbersandsteinpflastermauer
|
||||
Cobbled Desert Sandstone=Wüstensandsteinpflaster
|
||||
Cobbled Desert Sandstone Slab=Wüstensandsteinpflasterplatte
|
||||
Cobbled Desert Sandstone Stair=Wüstensandsteinpflastertreppe
|
||||
Cobbled Desert Sandstone Wall=Wüstensandsteinpflastermauer
|
||||
Cobbled Silver Sandstone Stool=Silbersandsteinpflasterhocker
|
||||
Cobbled Silver Sandstone Table=Silbersandsteinpflastertisch
|
||||
Cobbled Desert Sandstone Stool=Wüstensandsteinpflasterhocker
|
||||
Cobbled Desert Sandstone Table=Wüstensandsteinpflastertisch
|
||||
Soft Snow Brick Slab=Weichschneeziegelplatte
|
||||
Soft Snow Brick Stair=Weichschneeziegeltreppe
|
||||
Historic City=Historische Stadt
|
||||
Place a aggregated diamond block.=Platzieren Sie einen aggregierten Diamantblock.
|
||||
Ice doors can be opened and closed. They are solid, but some of the light hitting ice doors can still go through, making them an interesting decoration in icy areas.=Eistüren können geöffnet und geschlossen werden. Sie sind solide, aber etwas des Lichts, welches auf Eistüren einfällt, gelangt hindurch, was sie zu einer interessanten Dekoration in eiskalten Gebieten macht.
|
||||
A luxurious piece of ladder which allows you to move vertically.=Ein luxoriöses Leitersegment, auf dem Sie sich vertikal bewegen können.
|
||||
A piece of ladder which allows you to move vertically.=Ein Leitersegment, auf dem Sie sich vertikal bewegen können.
|
||||
Green Jungle=Grüner Dschungel
|
||||
This is a fence made out of precious goldwood. The fence will neatly connect to its neighbors, making it easy to build nice-looking fence structures. The fence can be jumped over.=Dies ist ein Zaun, angefertigt aus dem wertvollen Goldholz. Der Zaun verbindet sich praktischerweise mit seinen Nachbarn; damit kann man leicht lange Zäune errichten. Man kann über den Zaun springen.
|
||||
This is a fence rail made out of precious goldwood. It will neatly connect to its neighbors, but without creating fence posts. It can be jumped over.=Dies ist ein Zaungeländer, angefertigt aus dem wertvollen Goldholz. Er verbindet sich praktischerweise mit seinen Nachbarn, aber ohne dabei Zaunpfosten zu erzeugen. Man kann über das Geländer springen.
|
||||
Goldwood is a precious artificial kind of wood made by enriching wood with gold. Goldwood is fireproof and notable for its bright yellowy appearance.=Goldholz ist eine wertvolle künstliches Art Holz, welches mit Gold angereichert wurde. Goldholz ist feuersicher und fällt durch seine helle gelbliche Farbe auf.
|
||||
Ice window panes are thinner than the full ice windows and neatly connect to each other as you build them=Eisfensterscheiben sind dünner als die vollen Eisfenster und verbinden sich praktischerweise zu den anderen Fensterscheiben beim Bauen.
|
||||
Craft 100 goldwood.=Fertigen Sie 100 Goldholz.
|
||||
Icy steel doors are a combination of ice doors and steel doors which can only be opened and closed by their owners. They are solid, but some of the light hitting icy steel doors can still go through.=Eisstahltüren sind eine Verbindung von Eistüren und Stahltüren, welche nur von ihrem Eigentümer geöffnet werden können. Sie sind solide, aber etwas Licht scheint durch Eisstahltüren hindurch.
|
||||
A ornamental and mostly transparent block, made by combining glass with gold.=Ein größtenteils durchsichtiger Zierblock, der durch die Kombinierung von Glas mit Gold entstanden ist.
|
||||
This decorational ice tile has been crafted in a way that it is partially transparent and looks like a real window.=Diese dekorative Eiskachel wurde so gefertigt, dass sie teilweise durchsichtig ist und wie ein echtes Fenster aussieht.
|
||||
Small Gold-framed Diamond Block=Kleiner mit Gold umrahmter Diamantblock
|
||||
Luxurious Adornment=Luxuriöse Verzierung
|
||||
Craft 4 small gold-framed diamond blocks.=Fertigen sie 4 kleine mit Gold umrahmte Diamantblöcke an.
|
||||
Papyrus Panic=Papyruspanik
|
||||
An ice trapdoor covers the floor and can be opened and closed by anyone. Ice trapdoors are solid, but some light can pass through nonetheless.=Eine Eisfalltür bedeckt den Boden und kann von jedem geöffnet und geschlossen werden. Eisfalltüren sind solide, aber etwas Licht scheint durch.
|
||||
Rich Carpenter=Die Luxus-Zimmerei
|
||||
Let's build an igloo!=Lasst uns ein Iglu bauen!
|
||||
Yellow Desert=Gelbe Wüste
|
||||
Cobbled gravel is solidified gravel, carefully arranged in a mosaic-like pattern. It makes a nice building material.=Kiespflaster ist ein verfestigte Form von Kies, welches behutsam in ein eine Art Mosaik angeordnet wurde.
|
||||
Gravel dirt is a type of dirt consisting of equal parts of gravel and dirt. It combines some of the properties of gravel and dirt.=Kieserde ist eine Art Erde, welche zu gleichen Teilen aus Kies und Erde besteht. Sie kombiniert ein paar der Eigenschaften von Kies und Erde.
|
||||
Build 100 papyrus blocks.=Fertigen Sie 100 Papyrusblöcke.
|
||||
This block is even harder than diamond; diamond pickaxes can't break it. TNT is able to destroy this block.=Dieser Block ist sogar härter als Diamant; Diamantspitzhacken können ihn nicht zerbrechen. TNT kann diesen Block zerstören.
|
||||
Craft 400 cobbled gravel.=Fertigen Sie 400 Kiespflaster.
|
||||
A particulary strong piece of ladder which allows you to move vertically.=Ein besonders robustes Leitersegment, auf dem Sie sich vertikal bewegen können.
|
||||
Self-proclaimed Winner=Selbsternannter Sieger
|
||||
Place 225 hard snow bricks.=Fertigen Sie 225 Hartschneeziegel.
|
||||
Craft 512 jungle cobblestone.=Fertigen Sie 512 Dschungelkopfsteinpflaster.
|
||||
Ice Crazy=Verrückt nach Eis
|
||||
Craft 128 dense ice tiles.=Fertigen Sie 128 Kompakteiskacheln
|
||||
A fence gate made from precious goldwood. It blocks the path, but it can be opened and easily jumped over. Other fence posts will neatly connect to this fence gate.=Ein Zauntor aus wertvollem Goldholz. Er blockiert den Durchgang, aber er kann geöffnet werden und man kann einfach rüberspringen. Andere Zaunpfosten werden sich automatisch mit diesem Zauntor verbinden.
|
||||
Can't dig me!=Ich bin unzerbrechlich!
|
||||
Craft a golden cup.=Fertigen Sie einen Goldpokal.
|
||||
Craft 512 cobbled sandstone.=Fertigen Sie 512 Sandsteinpflaster.
|
||||
An icy steel trapdoor is a combination of an ice trapdoor and a steel trapdoor. It covers the floor and can only be opened and closed by its placer. Icy steel trapdoors are solid, but some light can pass through nonetheless.=Eine Eisstahlfalltür ist eine Kombination aus Eisfalltür und Stahlfalltür. Sie bedeckt den Boden und kann nur vom Eigentümer geöffnet oder geschlossen werden. Eisstahlfalltüren sind solide, aber etwas Licht scheint hindurch.
|
||||
A decorative, semitransparent block. The dirt makes it hard for the sunlight to pass through.=Ein dekorativer halbtransparenter Block. Der Dreck reduziert die Lichtstärke.
|
||||
Papier barriers are thin solid layers of paper which neatly connect to their neighbors as you build them. They could be useful to separate rooms.=Papierbarrieren sind dünne feste Papierschichten, die sich mit ihren Nachbarblöcken verbinden. Sie könnten nützlich sein, um Räume zu teilen.
|
||||
Wooden bars are barriers which neatly connect to their neighbors as you build them.=Holzgitter sind Barrieren, die sich mit ihren Nachbarblöcken verbinden.
|
||||
Goldglass panes are thin layers of goldglass which neatly connect to their neighbors as you build them.=Goldglasscheiben sind dünne Goldglasschichten, die sich mit ihren Nachbarblöcken verbinden.
|
||||
Golden windows are decorative blocks which can be placed into holes for nice-looking windows. Golden windows automatically connect to their neighbors as you build them.=Goldfenster sind dünne dekorative Blöcke, die in Lücken als gutaussehende Fenster platziert werden können. Goldfenster verbinden sich automatisch mit ihren Nachbarn.
|
||||
Papyrus lattices are strong barriers which neatly connect to their neighbors as you build them.=Papyrusgitter sind stabile Barrieren, die sich automatisch mit ihren Nachbarn verbinden.
|
||||
A door covers a vertical area of two blocks to block the way. It can be opened and closed by any player.=Eine Tür belegt einen vertikalen Bereich von zwei Blöcken, um den Weg zu blockieren. Sie kann von jedem Spieler geöffnet und geschlossen werden.
|
||||
Use the use key on it to open or close it.=Benutzen Sie die „Benutzen“-Taste auf ihr, um sie zu öffnen oder zu schließen.
|
||||
Point the icy steel trapdoor to see who owns it. Use the use key on it to open or close it (if you own it).=Zeigen Sie auf die Eisstahlfalltür, um zu sehen, wem sie gehört. Benutzen Sie die „Benutzen“-Taste auf ihr, um sie zu öffnen oder zu schließen (wenn sie Ihnen gehört).
|
||||
Point the door to see who owns it. Use the use key on the door to open or close it (if you own it).=Zeigen Sie auf die Tür, um zu sehen, wem sie gehört. Benutzen Sie die „Benutzen“-Taste auf ihr, um sie zu öffnen oder zu schließen (wenn sie Ihnen gehört).
|
||||
Apple Wood Ladder=Apfelholzleiter
|
||||
Acacia Wood Ladder=Akazienholzleiter
|
||||
Pine Wood Ladder=Pinienholzleiter
|
||||
Aspen Wood Ladder=Espenholzleiter
|
||||
Jungle Wood Ladder=Dschungelholzleiter
|
||||
Goldwood Ladder=Goldholzleiter
|
||||
A piece of wall creates simple barriers that connect to neighbor blocks. Walls can be jumped over.=Ein Stück Mauer erzeugt einfache Barrieren, welche sich mit den Nachbarblöcken verbinden. Man kann über Mauern springen.
|
245
mods/mtg_plus/locale/mtg_plus.fr.tr
Normal file
|
@ -0,0 +1,245 @@
|
|||
# textdomain: mtg_plus
|
||||
|
||||
|
||||
### awards.lua ###
|
||||
|
||||
Build 100 papyrus blocks.=Contruit 100 bloc de papyrus.
|
||||
Can't dig me!=Indestructible !
|
||||
Craft 100 goldwood.=Assemble 100 morceau de bois doré.
|
||||
Craft 128 dense ice tiles.=Assemble 128 tuile de glace condensée.
|
||||
Craft 4 small gold-framed diamond blocks.=Assemble 4 quatre petits blocs de diamant encadrés d'or.
|
||||
Craft 400 cobbled gravel.=Assemble 400 pavés de gravier.
|
||||
Craft 512 cobbled sandstone.=Assemble 512 pavés de grès.
|
||||
Craft 512 jungle cobblestone.=Assemble 512 pavés de la jungle.
|
||||
Green Jungle=Jungle pavée
|
||||
Historic City=Ville historique
|
||||
Ice Crazy=Fou de glace
|
||||
Let's build an igloo!=Batissons un igloo!
|
||||
Luxurious Adornment=Luxe ornemental
|
||||
Papyrus Panic=Panique au papyrus
|
||||
Place 225 hard snow bricks.=Mettre 225 briques de neige compactées.
|
||||
Place a aggregated diamond block.=Mettre un agrégat de diamant.
|
||||
Rich Carpenter=Carpentier riche
|
||||
Yellow Desert=Désert pavé
|
||||
|
||||
### brickblocks.lua ###
|
||||
|
||||
Bronze Brick=Brique de bronze
|
||||
Copper Brick=Brique de cuivre
|
||||
Dense Ice Tile=Tuile de glace condensée
|
||||
Desert Sandstone Brick with Golden Edges=Brique de grès du désert encadrée d'or
|
||||
Desert Stone Brick with Golden Edges=Roche du désert encadrée d'or
|
||||
Flint Block=Bloc de silex
|
||||
Gold Brick=Brique d'or
|
||||
Hard Snow Brick=Brique de neige compactée
|
||||
Hardened Dirt Brick=Brique de terre durcie
|
||||
Ice Block=Bloc de glace
|
||||
Ice Brick=Brique de glace
|
||||
Ice Tile=Tuile de glace
|
||||
Icy Snow Brick=Brique de neige glacée
|
||||
Obsidian Brick with Golden Edges=Brique d'obsidienne encadrée d'or
|
||||
Papyrus Block=Bloc de papyrus
|
||||
Sandstone Brick with Golden Edges=Brique de grès encadrée d'or
|
||||
Silver Sandstone Brick with Golden Edges=Brique de grès argenté encadrée d'or
|
||||
Small Gold-framed Diamond Block=Petit bloc de diamant encadré d'or
|
||||
Soft Dirt Brick=Brique de terre
|
||||
Soft Snow Brick=Brique de neige
|
||||
Steel Brick=Brique d'acier
|
||||
Stone Brick with Golden Edges=Brique de pierre encadrée d'or
|
||||
Tin Brick=Brique d'étain
|
||||
|
||||
### cobble.lua ###
|
||||
|
||||
Cobbled gravel is solidified gravel, carefully arranged in a mosaic-like pattern. It makes a nice building material.=
|
||||
|
||||
|
||||
### cobble.lua ###
|
||||
### extras.lua ###
|
||||
|
||||
Cobbled Desert Sandstone=Pavé de grès du désert
|
||||
Cobbled Gravel=Pavé de gravier
|
||||
Cobbled Sandstone=Pavé de grès
|
||||
Cobbled Silver Sandstone=Pavé de grès argenté
|
||||
Jungle Cobblestone=Pavé de la jungle
|
||||
|
||||
### doors.lua ###
|
||||
|
||||
A door covers a vertical area of two blocks to block the way. It can be opened and closed by any player.=Une porte obstrue deux blocs d'espace vertical. Elle peut être ouverte et fermée par n'importe quel joueur.
|
||||
|
||||
A fence gate made from precious goldwood. It blocks the path, but it can be opened and easily jumped over. Other fence posts will neatly connect to this fence gate.=Un portail de bois doré précieux. Il bloque le passage mais peut être ouvert et sauté par-dessus facilement. Les autres poteaux de clôture se joignent parfaitement à ce portail.
|
||||
|
||||
An ice trapdoor covers the floor and can be opened and closed by anyone. Ice trapdoors are solid, but some light can pass through nonetheless.=Une trappe de glace bouche un trou de plancher et peut être ouverte ou fermé par n'importe qui. La trappe solide mais translucide.
|
||||
|
||||
An icy steel trapdoor is a combination of an ice trapdoor and a steel trapdoor. It covers the floor and can only be opened and closed by its placer. Icy steel trapdoors are solid, but some light can pass through nonetheless.=Une trappe d'acier gelé est une combinaison d'une trappe de glace et d'une d'acier. Elle bouche un trou de plancher et ne peut être ouverte et fermée que par son propriétaire. La trappe solide mais translucide.
|
||||
|
||||
Goldwood Fence Gate=Portail de bois doré
|
||||
Ice Door=Porte de glace
|
||||
Ice Trapdoor=Trappe de glace
|
||||
|
||||
Ice doors can be opened and closed. They are solid, but some of the light hitting ice doors can still go through, making them an interesting decoration in icy areas.=Les portes de glaces peuvent être ouvertes et fermeés. Elles laissent passer la lumière, et donc forme un élément de décoration intéressant dans les endroits glacés.
|
||||
|
||||
Icy Steel Door=Porte d'acier gelée
|
||||
Icy Steel Trapdoor=Trappe d'acier gelée
|
||||
|
||||
Icy steel doors are a combination of ice doors and steel doors which can only be opened and closed by their owners. They are solid, but some of the light hitting icy steel doors can still go through.=Les portes d'acier gelée combinent une porte d'acier et une porte de glace, lesquelles ne peuvent être ouvertes ou fermeés par leur propriétaire. Elles sont solides mais translucides.
|
||||
|
||||
Papyrus Door=Porte de papyrus
|
||||
|
||||
Point the door to see who owns it. Use the use key on the door to open or close it (if you own it).=Pointez sur la porte pour en connaître le propriétaire. Utilisez la clef sur la porte pour l'ouvrir ou fermer (si vous l'avez).
|
||||
|
||||
Point the icy steel trapdoor to see who owns it. Use the use key on it to open or close it (if you own it).=Pointez sur la trappe d'acier gelé pour en connaître le propriétaire. Utilisez la clef sur la porte pour l'ouvrir ou fermer (si vous l'avez).
|
||||
|
||||
Right-click the gate to open or close it.=Clic droit sur le portillon pour l'ouvrir ou le fermer.
|
||||
Use the use key on it to open or close it.=Utilisez la clef dessus pour l'ouvrir ou la fermer.
|
||||
Wooden Bar Door=Porte de barreaux de bois
|
||||
|
||||
### extras.lua ###
|
||||
|
||||
Cobbled Desert Sandstone Stool=Tabouret en pavé de grès du désert
|
||||
Cobbled Desert Sandstone Table=Table en pavé de grès du désert
|
||||
Cobbled Gravel Stool=Tabouret en pavé de gravier
|
||||
Cobbled Gravel Table=Table en pavé de gravier
|
||||
Cobbled Sandstone Stool=Tabouret en pavé de grès
|
||||
Cobbled Sandstone Table=Table en pavé de grès
|
||||
Cobbled Silver Sandstone Stool=Tabouret en pavé de grès argenté
|
||||
Cobbled Silver Sandstone Table=Table en pavé de grès argenté
|
||||
Goldwood Chair=Chaise de bois doré
|
||||
Goldwood Stool=Tabouret de bois doré
|
||||
Goldwood Table=Table de bois doré
|
||||
Jungle Cobblestone Stool=Tabouret en pavé de la jungle
|
||||
Jungle Cobblestone Table=Table en pavé de la jungle
|
||||
|
||||
### extras.lua ###
|
||||
### specials.lua ###
|
||||
|
||||
Goldwood=Bois doré
|
||||
|
||||
### ladders.lua ###
|
||||
|
||||
A luxurious piece of ladder which allows you to move vertically.=
|
||||
|
||||
A particulary strong piece of ladder which allows you to move vertically.=
|
||||
|
||||
A piece of ladder which allows you to move vertically.=Un morceau d'échelle qui permet de grimper.
|
||||
Acacia Wood Ladder=Échelle d'acacia
|
||||
Apple Wood Ladder=Échelle de pommier
|
||||
Aspen Wood Ladder=Échelle de tremble
|
||||
Bronze Ladder=Échelle de bronze
|
||||
Copper Ladder=Échelle de cuivre
|
||||
Golden Ladder=Échelle d'or
|
||||
Goldwood Ladder=Échelle de bois doré
|
||||
Jungle Wood Ladder=Échelle de bois de la jungle
|
||||
Papyrus Ladder=Échelle de papyrus
|
||||
Pine Wood Ladder=Échelle de pin
|
||||
Tin Ladder=Échelle d'étain
|
||||
|
||||
### seethrough.lua ###
|
||||
|
||||
# textdomain:mtg_plus
|
||||
A decorative, semitransparent block. The dirt makes it hard for the sunlight to pass through.=
|
||||
|
||||
A ornamental and mostly transparent block, made by combining glass with gold.=Un bloc ornemental transparent, assemblé de verre et d'or.
|
||||
|
||||
Dirty Glass=Verre sale
|
||||
Goldglass=Verre doré
|
||||
Ice Window=Fenêtre de glace
|
||||
|
||||
This decorational ice tile has been crafted in a way that it is partially transparent and looks like a real window.=Cette pièce de glace décorative a été confectionnée pour ressemblé à une vrai fenêtre.
|
||||
|
||||
|
||||
### specials.lua ###
|
||||
|
||||
Aggregated Diamond Block=Agrégat de diamant
|
||||
|
||||
Goldwood is a precious artificial kind of wood made by enriching wood with gold. Goldwood is fireproof and notable for its bright yellowy appearance.=Le bois doré est un bois artificel précieux créé en injectant de l'or. Le bois doré est ininflammable et remarquable de son apparence jaune brillant.
|
||||
|
||||
Gravel Dirt=Gravier terreux
|
||||
|
||||
Gravel dirt is a type of dirt consisting of equal parts of gravel and dirt. It combines some of the properties of gravel and dirt.=Le gravier terreux est un mélange à parts égales de gravier et de terre. Il combine certaines propriétés des deux.
|
||||
|
||||
This block is even harder than diamond; diamond pickaxes can't break it. TNT is able to destroy this block.=Ce bloc est encore plus endurci que le diamant ; même les pioches de diamant ne peuvent le faire craquer. Seul le TNT peut le détruire.
|
||||
|
||||
|
||||
### stairslabs.lua ###
|
||||
|
||||
Bronze Brick Slab=Dalle en brique de bronze
|
||||
Bronze Brick Stair=Marche en brique de bronze
|
||||
Cobbled Desert Sandstone Slab=Dalle en pavé de grès du désert
|
||||
Cobbled Desert Sandstone Stair=Marche en pavé de grès du désert
|
||||
Cobbled Gravel Slab=Dalle en pavé de gravier
|
||||
Cobbled Gravel Stair=Marche en pavé de gravier
|
||||
Cobbled Sandstone Slab=Dalle en pavé de grès
|
||||
Cobbled Sandstone Stair=Marche en pavé de grès
|
||||
Cobbled Silver Sandstone Slab=Dalle en pavé de grès argenté
|
||||
Cobbled Silver Sandstone Stair=Marche en pavé de grès argenté
|
||||
Copper Brick Slab=Dalle en brique de cuivre
|
||||
Copper Brick Stair=Marche en brique de cuivre
|
||||
Flint Block Slab=Dalle en silex
|
||||
Flint Block Stair=Marche en silex
|
||||
Gold Brick Slab=Dalle en brique d'or
|
||||
Gold Brick Stair=Marche en brique d'or
|
||||
Goldwood Slab=Dalle en bois doré
|
||||
Goldwood Stair=Marche en bois doré
|
||||
Hard Snow Brick Slab=Dalle en brique de neige compactée
|
||||
Hard Snow Brick Stair=Marche en brique de neige compactée
|
||||
Hardened Dirt Brick Slab=Dalle en terre durcie
|
||||
Hardened Dirt Brick Stair=Marche en terre durcie
|
||||
Ice Block Slab=Dalle de glace
|
||||
Ice Block Stair=Marche de glace
|
||||
Ice Brick Slab=Dalle en brique de glace
|
||||
Ice Brick Stair=Marche en brique de glace
|
||||
Ice Tile Slab=Dalle en tuile de glace
|
||||
Ice Tile Stair=Marche en tuile de glace
|
||||
Icy Snow Brick Slab=Dalle en brique de neige glacée
|
||||
Icy Snow Brick Stair=Marche en brique de neige glacée
|
||||
Jungle Cobblestone Slab=Dalle en pavé de la jungle
|
||||
Jungle Cobblestone Stair=Marche en pavé de la jungle
|
||||
Soft Snow Brick Slab=Dalle en brique de neige
|
||||
Soft Snow Brick Stair=Marche en brique de neige
|
||||
Steel Brick Slab=Dalle en brique d'acier
|
||||
Steel Brick Stair=Marche en brique d'acier
|
||||
Tin Brick Slab=Dalle en brique d'étain
|
||||
Tin Brick Stair=Marche en brique d'étain
|
||||
|
||||
### wallfences.lua ###
|
||||
|
||||
A piece of wall creates simple barriers that connect to neighbor blocks. Walls can be jumped over.=Un morceau de mur sert de simple barrière qui s'agence aux blocs voisins. Vous pouvez sauter par dessus les murs.
|
||||
|
||||
Cobbled Desert Sandstone Wall=Mur en pavé de grès du désert
|
||||
Cobbled Gravel Wall=Mur en pavé de gravier
|
||||
Cobbled Sandstone Wall=Mur en pavé de grès
|
||||
Cobbled Silver Sandstone Wall=Mur en pavé de grès argenté
|
||||
Dense Ice Tile Wall=Mur en tuile de glace condensée
|
||||
Goldwood Fence=Barrière de bois doré
|
||||
Goldwood Fence Rail=Clôture de bois doré
|
||||
Jungle Cobblestone Wall=Mur en pavé de la jungle
|
||||
|
||||
This is a fence made out of precious goldwood. The fence will neatly connect to its neighbors, making it easy to build nice-looking fence structures. The fence can be jumped over.=Cette barrière est faite de bois doré précieux. Elle s'agence proprement aux blocs voisins, ce qui rend la construction de belle clôture simple. Il est possible de sauter par dessus.
|
||||
|
||||
This is a fence rail made out of precious goldwood. It will neatly connect to its neighbors, but without creating fence posts. It can be jumped over.=Cette clôture est faite de bois doré précieux. Elle s'agence proprement aux blocs voisins, ce qui rend la construction de belle clôture simple. Il est possible de sauter par dessus.
|
||||
|
||||
### xpanes.lua ###
|
||||
|
||||
Golden Window=Fenêtre dorée
|
||||
|
||||
Golden windows are decorative blocks which can be placed into holes for nice-looking windows. Golden windows automatically connect to their neighbors as you build them.=Les fenêtres dorées sont des blocs décoratifs qui penvent être placé dans des trous pour obtenir de jolies fenêtres. Elles s'agencent automatiquement avec leurs nœuds avoisiants durant la construction.
|
||||
|
||||
Goldglass Pane=Panneau de verre doré
|
||||
|
||||
Goldglass panes are thin layers of goldglass which neatly connect to their neighbors as you build them.=Les panneaux de verre dorés sont de mince couche de verre doré qui s'agencent bien avec leurs nœuds avoisiants durant la construction.
|
||||
|
||||
Ice Window Pane=Panneau en verre de glace
|
||||
|
||||
Ice window panes are thinner than the full ice windows and neatly connect to each other as you build them=Les panneaux en verre de glace sont plus mince que les fenêtres complète et s'agencent bien avec leurs nœuds avoisiants durant la construction.
|
||||
|
||||
Paper Barrier=Barrière de papier
|
||||
|
||||
Papier barriers are thin solid layers of paper which neatly connect to their neighbors as you build them. They could be useful to separate rooms.=Les barrières de papier sont de minces couches solides qui s'agencent bien avec leurs nœuds avoisiants durant la construction. Elles penvent être utiles pour séparer des pièces dans une bâtisse.
|
||||
|
||||
Papyrus Lattice=Trellis de papyrus
|
||||
|
||||
Papyrus lattices are strong barriers which neatly connect to their neighbors as you build them.=Les trellis de papyrus sont forment des barrières solides et s'agencent bien avec leur nœuds avoisiants durant la construction.
|
||||
|
||||
Wooden Bars=Barreaux de bois.
|
||||
|
||||
Wooden bars are barriers which neatly connect to their neighbors as you build them.=Les barreaux de bois forment une cloison qui s'agencent bien avec leurs nœuds avoisiants durant la construction.
|
166
mods/mtg_plus/locale/template.txt
Normal file
|
@ -0,0 +1,166 @@
|
|||
# textdomain:mtg_plus
|
||||
A decorative, semitransparent block. The dirt makes it hard for the sunlight to pass through.=
|
||||
A fence gate made from precious goldwood. It blocks the path, but it can be opened and easily jumped over. Other fence posts will neatly connect to this fence gate.=
|
||||
Aggregated Diamond Block=
|
||||
A luxurious piece of ladder which allows you to move vertically.=
|
||||
A piece of ladder which allows you to move vertically.=
|
||||
An ice trapdoor covers the floor and can be opened and closed by anyone. Ice trapdoors are solid, but some light can pass through nonetheless.=
|
||||
An icy steel trapdoor is a combination of an ice trapdoor and a steel trapdoor. It covers the floor and can only be opened and closed by its placer. Icy steel trapdoors are solid, but some light can pass through nonetheless.=
|
||||
A ornamental and mostly transparent block, made by combining glass with gold.=
|
||||
A particulary strong piece of ladder which allows you to move vertically.=
|
||||
Bronze Brick=
|
||||
Bronze Brick Slab=
|
||||
Bronze Brick Stair=
|
||||
Build 100 papyrus blocks.=
|
||||
Can't dig me!=
|
||||
Cobbled Desert Sandstone=
|
||||
Cobbled Desert Sandstone Slab=
|
||||
Cobbled Desert Sandstone Stair=
|
||||
Cobbled Desert Sandstone Stool=
|
||||
Cobbled Desert Sandstone Table=
|
||||
Cobbled Desert Sandstone Wall=
|
||||
Cobbled Gravel=
|
||||
Cobbled gravel is solidified gravel, carefully arranged in a mosaic-like pattern. It makes a nice building material.=
|
||||
Cobbled Gravel Slab=
|
||||
Cobbled Gravel Stair=
|
||||
Cobbled Gravel Stool=
|
||||
Cobbled Gravel Table=
|
||||
Cobbled Gravel Wall=
|
||||
Cobbled Sandstone=
|
||||
Cobbled Sandstone Slab=
|
||||
Cobbled Sandstone Stair=
|
||||
Cobbled Sandstone Stool=
|
||||
Cobbled Sandstone Table=
|
||||
Cobbled Sandstone Wall=
|
||||
Cobbled Silver Sandstone=
|
||||
Cobbled Silver Sandstone Slab=
|
||||
Cobbled Silver Sandstone Stair=
|
||||
Cobbled Silver Sandstone Stool=
|
||||
Cobbled Silver Sandstone Table=
|
||||
Cobbled Silver Sandstone Wall=
|
||||
Copper Brick=
|
||||
Copper Brick Slab=
|
||||
Copper Brick Stair=
|
||||
Craft 100 goldwood.=
|
||||
Craft 128 dense ice tiles.=
|
||||
Craft 400 cobbled gravel.=
|
||||
Craft 4 small gold-framed diamond blocks.=
|
||||
Craft 512 cobbled sandstone.=
|
||||
Craft 512 jungle cobblestone.=
|
||||
Craft a golden cup.=
|
||||
Dense Ice Tile=
|
||||
Dense Ice Tile Wall=
|
||||
Desert Sandstone Brick with Golden Edges=
|
||||
Desert Stone Brick with Golden Edges=
|
||||
Dirty Glass=
|
||||
Flint Block=
|
||||
Flint Block Slab=
|
||||
Flint Block Stair=
|
||||
Gold Brick=
|
||||
Gold Brick Slab=
|
||||
Gold Brick Stair=
|
||||
Golden Ladder=
|
||||
Copper Ladder=
|
||||
Tin Ladder=
|
||||
Bronze Ladder=
|
||||
Golden Window=
|
||||
Goldglass=
|
||||
Goldglass Pane=
|
||||
Goldwood=
|
||||
Goldwood Chair=
|
||||
Goldwood Fence=
|
||||
Goldwood Fence Gate=
|
||||
Goldwood Fence Rail=
|
||||
Goldwood is a precious artificial kind of wood made by enriching wood with gold. Goldwood is fireproof and notable for its bright yellowy appearance.=
|
||||
Goldwood Slab=
|
||||
Goldwood Stair=
|
||||
Goldwood Stool=
|
||||
Goldwood Table=
|
||||
Gravel Dirt=
|
||||
Gravel dirt is a type of dirt consisting of equal parts of gravel and dirt. It combines some of the properties of gravel and dirt.=
|
||||
Green Jungle=
|
||||
Hardened Dirt Brick=
|
||||
Hardened Dirt Brick Slab=
|
||||
Hardened Dirt Brick Stair=
|
||||
Hard Snow Brick=
|
||||
Hard Snow Brick Slab=
|
||||
Hard Snow Brick Stair=
|
||||
Historic City=
|
||||
Ice Block=
|
||||
Ice Block Slab=
|
||||
Ice Block Stair=
|
||||
Ice Brick=
|
||||
Ice Brick Slab=
|
||||
Ice Brick Stair=
|
||||
Ice Crazy=
|
||||
Ice Door=
|
||||
Ice doors can be opened and closed. They are solid, but some of the light hitting ice doors can still go through, making them an interesting decoration in icy areas.=
|
||||
Ice Tile=
|
||||
Ice Tile Slab=
|
||||
Ice Tile Stair=
|
||||
Ice Trapdoor=
|
||||
Ice Window=
|
||||
Ice Window Pane=
|
||||
Ice window panes are thinner than the full ice windows and neatly connect to each other as you build them=
|
||||
Icy Snow Brick=
|
||||
Icy Snow Brick Slab=
|
||||
Icy Snow Brick Stair=
|
||||
Icy Steel Door=
|
||||
Icy steel doors are a combination of ice doors and steel doors which can only be opened and closed by their owners. They are solid, but some of the light hitting icy steel doors can still go through.=
|
||||
Icy Steel Trapdoor=
|
||||
Jungle Cobblestone=
|
||||
Jungle Cobblestone Slab=
|
||||
Jungle Cobblestone Stair=
|
||||
Jungle Cobblestone Stool=
|
||||
Jungle Cobblestone Table=
|
||||
Jungle Cobblestone Wall=
|
||||
Let's build an igloo!=
|
||||
Luxurious Adornment=
|
||||
Obsidian Brick with Golden Edges=
|
||||
Paper Barrier=
|
||||
Papyrus Block=
|
||||
Papyrus Door=
|
||||
Papyrus Ladder=
|
||||
Papyrus Lattice=
|
||||
Papyrus Panic=
|
||||
Place 225 hard snow bricks.=
|
||||
Place a aggregated diamond block.=
|
||||
Rich Carpenter=
|
||||
Sandstone Brick with Golden Edges=
|
||||
Self-proclaimed Winner=
|
||||
Silver Sandstone Brick with Golden Edges=
|
||||
Small Gold-framed Diamond Block=
|
||||
Soft Dirt Brick=
|
||||
Soft Snow Brick=
|
||||
Soft Snow Brick Slab=
|
||||
Soft Snow Brick Stair=
|
||||
Steel Brick=
|
||||
Steel Brick Slab=
|
||||
Steel Brick Stair=
|
||||
Stone Brick with Golden Edges=
|
||||
This block is even harder than diamond; diamond pickaxes can't break it. TNT is able to destroy this block.=
|
||||
This decorational ice tile has been crafted in a way that it is partially transparent and looks like a real window.=
|
||||
This is a fence made out of precious goldwood. The fence will neatly connect to its neighbors, making it easy to build nice-looking fence structures. The fence can be jumped over.=
|
||||
This is a fence rail made out of precious goldwood. It will neatly connect to its neighbors, but without creating fence posts. It can be jumped over.=
|
||||
Tin Brick=
|
||||
Tin Brick Slab=
|
||||
Tin Brick Stair=
|
||||
Wooden Bar Door=
|
||||
Wooden Bars=
|
||||
Yellow Desert=
|
||||
Papier barriers are thin solid layers of paper which neatly connect to their neighbors as you build them. They could be useful to separate rooms.=
|
||||
Wooden bars are barriers which neatly connect to their neighbors as you build them.=
|
||||
Goldglass panes are thin layers of goldglass which neatly connect to their neighbors as you build them.=
|
||||
Golden windows are decorative blocks which can be placed into holes for nice-looking windows. Golden windows automatically connect to their neighbors as you build them.=
|
||||
Papyrus lattices are strong barriers which neatly connect to their neighbors as you build them.=
|
||||
A door covers a vertical area of two blocks to block the way. It can be opened and closed by any player.=
|
||||
Use the use key on it to open or close it.=
|
||||
Point the icy steel trapdoor to see who owns it. Use the use key on it to open or close it (if you own it).=
|
||||
Point the door to see who owns it. Use the use key on the door to open or close it (if you own it).=
|
||||
Apple Wood Ladder=
|
||||
Acacia Wood Ladder=
|
||||
Pine Wood Ladder=
|
||||
Aspen Wood Ladder=
|
||||
Jungle Wood Ladder=
|
||||
Goldwood Ladder=
|
||||
A piece of wall creates simple barriers that connect to neighbor blocks. Walls can be jumped over.=
|
7
mods/mtg_plus/mod.conf
Normal file
|
@ -0,0 +1,7 @@
|
|||
name = mtg_plus
|
||||
description = Adds various simple decorative blocks, doors, panes and other items to Minetest Game, focusing on snow, ice, luxury, bamboo and more.
|
||||
depends = default, doors, farming, xpanes, walls, stairs
|
||||
optional_depends = moreblocks, xdecor, furniture, doc_items, awards
|
||||
release = 11968
|
||||
author = Wuzzy
|
||||
title = Minetest Game Plus
|
BIN
mods/mtg_plus/screenshot.png
Normal file
After Width: | Height: | Size: 101 KiB |
61
mods/mtg_plus/seethrough.lua
Normal file
|
@ -0,0 +1,61 @@
|
|||
local S = minetest.get_translator("mtg_plus")
|
||||
|
||||
-- Blocks that you can see through
|
||||
|
||||
minetest.register_node("mtg_plus:goldglass", {
|
||||
description = S("Goldglass"),
|
||||
_doc_items_longdesc = S("A ornamental and mostly transparent block, made by combining glass with gold."),
|
||||
drawtype = "glasslike_framed_optional",
|
||||
tiles = {"mtg_plus_goldglass.png", "mtg_plus_goldglass_detail.png"},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = { cracky = 3, oddly_breakable_by_hand = 2},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:goldglass 1",
|
||||
recipe = { { "default:gold_ingot", },
|
||||
{ "default:glass",},
|
||||
{ "default:gold_ingot", },
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_node("mtg_plus:dirty_glass", {
|
||||
description = S("Dirty Glass"),
|
||||
_doc_items_longdesc = S("A decorative, semitransparent block. The dirt makes it hard for the sunlight to pass through."),
|
||||
drawtype = "glasslike_framed_optional",
|
||||
tiles = {"mtg_plus_dirty_glass.png", "mtg_plus_dirty_glass_detail.png"},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = false,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, oddly_breakable_by_hand = 3},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:dirty_glass 3",
|
||||
recipe = { { "", "default:dirt", "" },
|
||||
{"default:glass", "default:glass", "default:glass"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_node("mtg_plus:ice_window", {
|
||||
description = S("Ice Window"),
|
||||
_doc_items_longdesc = S("This decorational ice tile has been crafted in a way that it is partially transparent and looks like a real window."),
|
||||
drawtype = "glasslike",
|
||||
tiles = {"mtg_plus_ice_window.png"},
|
||||
sunlight_propagates = true,
|
||||
groups = {cracky = 3, cools_lava = 1, slippery = 3 },
|
||||
is_ground_content = false,
|
||||
paramtype = "light",
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:ice_window",
|
||||
type = "cooking",
|
||||
recipe = "mtg_plus:ice_tile4",
|
||||
cooktime = 1,
|
||||
})
|
BIN
mods/mtg_plus/sounds/mtg_plus_door_ice_close.ogg
Normal file
BIN
mods/mtg_plus/sounds/mtg_plus_door_ice_open.ogg
Normal file
BIN
mods/mtg_plus/sounds/mtg_plus_door_icesteel_close.ogg
Normal file
BIN
mods/mtg_plus/sounds/mtg_plus_door_icesteel_open.ogg
Normal file
BIN
mods/mtg_plus/sounds/mtg_plus_paper_dig.1.ogg
Normal file
BIN
mods/mtg_plus/sounds/mtg_plus_paper_dig.2.ogg
Normal file
BIN
mods/mtg_plus/sounds/mtg_plus_paper_dig.3.ogg
Normal file
BIN
mods/mtg_plus/sounds/mtg_plus_paper_dug.1.ogg
Normal file
BIN
mods/mtg_plus/sounds/mtg_plus_paper_step.1.ogg
Normal file
60
mods/mtg_plus/specials.lua
Normal file
|
@ -0,0 +1,60 @@
|
|||
local S = minetest.get_translator("mtg_plus")
|
||||
local deco
|
||||
if minetest.get_modpath("doc_items") then
|
||||
deco = doc.sub.items.temp.deco
|
||||
end
|
||||
|
||||
-- Special: Variant of dirt without the grass/plant spread
|
||||
minetest.register_node("mtg_plus:graveldirt", {
|
||||
description = S("Gravel Dirt"),
|
||||
_doc_items_longdesc = S("Gravel dirt is a type of dirt consisting of equal parts of gravel and dirt. It combines some of the properties of gravel and dirt."),
|
||||
tiles = {"mtg_plus_graveldirt.png"},
|
||||
is_ground_content = true,
|
||||
groups = { crumbly = 2, level = 1, soil = 1, },
|
||||
sounds = default.node_sound_dirt_defaults(),
|
||||
drop = {
|
||||
items = {
|
||||
{ items = { "default:gravel" } },
|
||||
{ items = { "default:dirt" } },
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "mtg_plus:graveldirt",
|
||||
recipe = { "default:gravel", "default:dirt" },
|
||||
})
|
||||
|
||||
-- Special: Extremely hard block
|
||||
minetest.register_node("mtg_plus:harddiamondblock",{
|
||||
description = S("Aggregated Diamond Block"),
|
||||
_doc_items_longdesc = S("This block is even harder than diamond; diamond pickaxes can't break it. TNT is able to destroy this block."),
|
||||
tiles = { "mtg_plus_hard_diamond_block.png" },
|
||||
is_ground_content = false,
|
||||
groups = { cracky = 1, level = 4 },
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:harddiamondblock 1",
|
||||
type = "shapeless",
|
||||
recipe = { "default:diamondblock", "default:diamondblock" }
|
||||
})
|
||||
|
||||
-- Special: Wood that doesn't burn
|
||||
minetest.register_node("mtg_plus:goldwood", {
|
||||
description = S("Goldwood"),
|
||||
_doc_items_longdesc = S("Goldwood is a precious artificial kind of wood made by enriching wood with gold. Goldwood is fireproof and notable for its bright yellowy appearance."),
|
||||
tiles = {"mtg_plus_goldwood.png"},
|
||||
is_ground_content = false,
|
||||
-- Intentionally not part of the 'wood' group, so it can be used for crafting wood items or as fuel
|
||||
groups = {choppy = 2},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mtg_plus:goldwood",
|
||||
type = "shapeless",
|
||||
recipe = { "group:wood", "default:gold_ingot" },
|
||||
})
|
39
mods/mtg_plus/stairslabs.lua
Normal file
|
@ -0,0 +1,39 @@
|
|||
local S = minetest.get_translator("mtg_plus")
|
||||
|
||||
-- Stairs/slabs
|
||||
|
||||
-- Add custom stairs and slabs
|
||||
local stairslab_ignore_groups = { "wood", "stone", "soil", }
|
||||
|
||||
local function simple_stair_slab(subname, desc_stair, desc_slab)
|
||||
local itemstring = "mtg_plus:"..subname
|
||||
local groups = table.copy(minetest.registered_nodes[itemstring].groups)
|
||||
for i=1,#stairslab_ignore_groups do
|
||||
groups[stairslab_ignore_groups[i]] = nil
|
||||
end
|
||||
stairs.register_stair_and_slab(subname, itemstring, groups, minetest.registered_nodes[itemstring].tiles, desc_stair, desc_slab, minetest.registered_nodes[itemstring].sounds)
|
||||
end
|
||||
|
||||
simple_stair_slab("sandstone_cobble", S("Cobbled Sandstone Stair"), S("Cobbled Sandstone Slab"))
|
||||
simple_stair_slab("desert_sandstone_cobble", S("Cobbled Desert Sandstone Stair"), S("Cobbled Desert Sandstone Slab"))
|
||||
simple_stair_slab("silver_sandstone_cobble", S("Cobbled Silver Sandstone Stair"), S("Cobbled Silver Sandstone Slab"))
|
||||
simple_stair_slab("jungle_cobble", S("Jungle Cobblestone Stair"), S("Jungle Cobblestone Slab"))
|
||||
simple_stair_slab("snow_brick", S("Soft Snow Brick Stair"), S("Soft Snow Brick Slab"))
|
||||
simple_stair_slab("hard_snow_brick", S("Hard Snow Brick Stair"), S("Hard Snow Brick Slab"))
|
||||
simple_stair_slab("ice_snow_brick", S("Icy Snow Brick Stair"), S("Icy Snow Brick Slab"))
|
||||
simple_stair_slab("ice_brick", S("Ice Brick Stair"), S("Ice Brick Slab"))
|
||||
simple_stair_slab("ice_tile4", S("Ice Tile Stair"), S("Ice Tile Slab"))
|
||||
simple_stair_slab("goldwood", S("Goldwood Stair"), S("Goldwood Slab"))
|
||||
simple_stair_slab("goldbrick", S("Gold Brick Stair"), S("Gold Brick Slab"))
|
||||
simple_stair_slab("bronzebrick", S("Bronze Brick Stair"), S("Bronze Brick Slab"))
|
||||
simple_stair_slab("tinbrick", S("Tin Brick Stair"), S("Tin Brick Slab"))
|
||||
simple_stair_slab("copperbrick", S("Copper Brick Stair"), S("Copper Brick Slab"))
|
||||
simple_stair_slab("steelbrick", S("Steel Brick Stair"), S("Steel Brick Slab"))
|
||||
simple_stair_slab("harddirtbrick", S("Hardened Dirt Brick Stair"), S("Hardened Dirt Brick Slab"))
|
||||
simple_stair_slab("gravel_cobble", S("Cobbled Gravel Stair"), S("Cobbled Gravel Slab"))
|
||||
|
||||
stairs.register_slab("flint_block", "mtg_plus:flint_block", {cracky=2}, {"mtg_plus_flint_block.png", "mtg_plus_flint_block.png", "mtg_plus_flint_block_slab.png", "mtg_plus_flint_block_slab.png", "mtg_plus_flint_block_slab.png", "mtg_plus_flint_block_slab.png"}, S("Flint Block Slab"), minetest.registered_items["mtg_plus:flint_block"].sounds)
|
||||
stairs.register_stair("flint_block", "mtg_plus:flint_block", {cracky=2}, {"mtg_plus_flint_block_slab.png", "mtg_plus_flint_block.png", "mtg_plus_flint_block_stair1.png", "mtg_plus_flint_block_stair2.png", "mtg_plus_flint_block.png", "mtg_plus_flint_block_slab.png"}, S("Flint Block Stair"), minetest.registered_items["mtg_plus:flint_block"].sounds)
|
||||
|
||||
stairs.register_slab("ice_block", "mtg_plus:ice_block", {cracky=3, cools_lava=1, slippery=3}, {"mtg_plus_ice_block.png", "mtg_plus_ice_block.png", "mtg_plus_ice_block_slab.png", "mtg_plus_ice_block_slab.png", "mtg_plus_ice_block_slab.png", "mtg_plus_ice_block_slab.png"}, S("Ice Block Slab"), minetest.registered_items["mtg_plus:ice_block"].sounds)
|
||||
stairs.register_stair("ice_block", "mtg_plus:ice_block", {cracky=3, cools_lava=1, slippery=3}, {"mtg_plus_ice_block_slab.png", "mtg_plus_ice_block.png", "mtg_plus_ice_block_stair1.png", "mtg_plus_ice_block_stair2.png", "mtg_plus_ice_block.png", "mtg_plus_ice_block_slab.png"}, S("Ice Block Stair"), minetest.registered_items["mtg_plus:ice_block"].sounds)
|
BIN
mods/mtg_plus/textures/mtg_plus_bronze_brick.png
Normal file
After Width: | Height: | Size: 537 B |
BIN
mods/mtg_plus/textures/mtg_plus_cobble_jungle.png
Normal file
After Width: | Height: | Size: 732 B |
BIN
mods/mtg_plus/textures/mtg_plus_copper_brick.png
Normal file
After Width: | Height: | Size: 565 B |
BIN
mods/mtg_plus/textures/mtg_plus_desert_sandstone_brick_gold.png
Normal file
After Width: | Height: | Size: 480 B |
BIN
mods/mtg_plus/textures/mtg_plus_desert_sandstone_cobble.png
Normal file
After Width: | Height: | Size: 588 B |
BIN
mods/mtg_plus/textures/mtg_plus_desert_stone_brick_gold.png
Normal file
After Width: | Height: | Size: 637 B |
BIN
mods/mtg_plus/textures/mtg_plus_dirt_brick.png
Normal file
After Width: | Height: | Size: 646 B |
BIN
mods/mtg_plus/textures/mtg_plus_dirt_brick_hard.png
Normal file
After Width: | Height: | Size: 591 B |
BIN
mods/mtg_plus/textures/mtg_plus_dirty_glass.png
Normal file
After Width: | Height: | Size: 334 B |
BIN
mods/mtg_plus/textures/mtg_plus_dirty_glass_detail.png
Normal file
After Width: | Height: | Size: 349 B |
BIN
mods/mtg_plus/textures/mtg_plus_door_ice.png
Normal file
After Width: | Height: | Size: 1,020 B |
BIN
mods/mtg_plus/textures/mtg_plus_door_ice_item.png
Normal file
After Width: | Height: | Size: 216 B |
BIN
mods/mtg_plus/textures/mtg_plus_door_icesteel.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
mods/mtg_plus/textures/mtg_plus_door_icesteel_item.png
Normal file
After Width: | Height: | Size: 186 B |
BIN
mods/mtg_plus/textures/mtg_plus_door_papyrus.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
mods/mtg_plus/textures/mtg_plus_door_papyrus_item.png
Normal file
After Width: | Height: | Size: 190 B |
BIN
mods/mtg_plus/textures/mtg_plus_door_wood_bar.png
Normal file
After Width: | Height: | Size: 982 B |
BIN
mods/mtg_plus/textures/mtg_plus_door_wood_bar_item.png
Normal file
After Width: | Height: | Size: 188 B |
BIN
mods/mtg_plus/textures/mtg_plus_fence_rail_goldwood.png
Normal file
After Width: | Height: | Size: 619 B |
BIN
mods/mtg_plus/textures/mtg_plus_flint_block.png
Normal file
After Width: | Height: | Size: 530 B |
BIN
mods/mtg_plus/textures/mtg_plus_flint_block_slab.png
Normal file
After Width: | Height: | Size: 555 B |
BIN
mods/mtg_plus/textures/mtg_plus_flint_block_stair1.png
Normal file
After Width: | Height: | Size: 544 B |
BIN
mods/mtg_plus/textures/mtg_plus_flint_block_stair2.png
Normal file
After Width: | Height: | Size: 527 B |
BIN
mods/mtg_plus/textures/mtg_plus_gold_brick.png
Normal file
After Width: | Height: | Size: 604 B |
BIN
mods/mtg_plus/textures/mtg_plus_gold_diamond_block.png
Normal file
After Width: | Height: | Size: 592 B |
BIN
mods/mtg_plus/textures/mtg_plus_goldglass.png
Normal file
After Width: | Height: | Size: 550 B |
BIN
mods/mtg_plus/textures/mtg_plus_goldglass2.png
Normal file
After Width: | Height: | Size: 558 B |
BIN
mods/mtg_plus/textures/mtg_plus_goldglass_detail.png
Normal file
After Width: | Height: | Size: 548 B |
BIN
mods/mtg_plus/textures/mtg_plus_goldglass_pane_half.png
Normal file
After Width: | Height: | Size: 283 B |
BIN
mods/mtg_plus/textures/mtg_plus_goldglass_pane_top.png
Normal file
After Width: | Height: | Size: 527 B |
BIN
mods/mtg_plus/textures/mtg_plus_goldwood.png
Normal file
After Width: | Height: | Size: 686 B |
BIN
mods/mtg_plus/textures/mtg_plus_gravel_cobble.png
Normal file
After Width: | Height: | Size: 741 B |
BIN
mods/mtg_plus/textures/mtg_plus_graveldirt.png
Normal file
After Width: | Height: | Size: 722 B |
BIN
mods/mtg_plus/textures/mtg_plus_hard_diamond_block.png
Normal file
After Width: | Height: | Size: 637 B |
BIN
mods/mtg_plus/textures/mtg_plus_hard_snow_brick.png
Normal file
After Width: | Height: | Size: 472 B |
BIN
mods/mtg_plus/textures/mtg_plus_ice_block.png
Normal file
After Width: | Height: | Size: 429 B |
BIN
mods/mtg_plus/textures/mtg_plus_ice_block_slab.png
Normal file
After Width: | Height: | Size: 400 B |
BIN
mods/mtg_plus/textures/mtg_plus_ice_block_stair.png
Normal file
After Width: | Height: | Size: 378 B |
BIN
mods/mtg_plus/textures/mtg_plus_ice_block_stair1.png
Normal file
After Width: | Height: | Size: 359 B |
BIN
mods/mtg_plus/textures/mtg_plus_ice_block_stair2.png
Normal file
After Width: | Height: | Size: 369 B |
BIN
mods/mtg_plus/textures/mtg_plus_ice_brick.png
Normal file
After Width: | Height: | Size: 546 B |
BIN
mods/mtg_plus/textures/mtg_plus_ice_snow_brick.png
Normal file
After Width: | Height: | Size: 618 B |
BIN
mods/mtg_plus/textures/mtg_plus_ice_tile16.png
Normal file
After Width: | Height: | Size: 288 B |
BIN
mods/mtg_plus/textures/mtg_plus_ice_tile4.png
Normal file
After Width: | Height: | Size: 316 B |
BIN
mods/mtg_plus/textures/mtg_plus_ice_window.png
Normal file
After Width: | Height: | Size: 424 B |
BIN
mods/mtg_plus/textures/mtg_plus_jungle_cobble.png
Normal file
After Width: | Height: | Size: 689 B |
BIN
mods/mtg_plus/textures/mtg_plus_ladder_acacia_wood.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
mods/mtg_plus/textures/mtg_plus_ladder_aspen_wood.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
mods/mtg_plus/textures/mtg_plus_ladder_bronze.png
Normal file
After Width: | Height: | Size: 266 B |
BIN
mods/mtg_plus/textures/mtg_plus_ladder_copper.png
Normal file
After Width: | Height: | Size: 341 B |
BIN
mods/mtg_plus/textures/mtg_plus_ladder_gold.png
Normal file
After Width: | Height: | Size: 536 B |
BIN
mods/mtg_plus/textures/mtg_plus_ladder_goldwood.png
Normal file
After Width: | Height: | Size: 553 B |
BIN
mods/mtg_plus/textures/mtg_plus_ladder_junglewood.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
mods/mtg_plus/textures/mtg_plus_ladder_papyrus.png
Normal file
After Width: | Height: | Size: 486 B |
BIN
mods/mtg_plus/textures/mtg_plus_ladder_pine_wood.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
mods/mtg_plus/textures/mtg_plus_ladder_tin.png
Normal file
After Width: | Height: | Size: 272 B |
BIN
mods/mtg_plus/textures/mtg_plus_obsidian_brick_gold.png
Normal file
After Width: | Height: | Size: 536 B |
BIN
mods/mtg_plus/textures/mtg_plus_paperwall.png
Normal file
After Width: | Height: | Size: 486 B |
BIN
mods/mtg_plus/textures/mtg_plus_papyrus_block_side.png
Normal file
After Width: | Height: | Size: 566 B |
BIN
mods/mtg_plus/textures/mtg_plus_papyrus_block_side2.png
Normal file
After Width: | Height: | Size: 613 B |
BIN
mods/mtg_plus/textures/mtg_plus_papyrus_block_y.png
Normal file
After Width: | Height: | Size: 776 B |
BIN
mods/mtg_plus/textures/mtg_plus_papyrus_lattice.png
Normal file
After Width: | Height: | Size: 573 B |
BIN
mods/mtg_plus/textures/mtg_plus_sandstone_brick_gold.png
Normal file
After Width: | Height: | Size: 718 B |
BIN
mods/mtg_plus/textures/mtg_plus_sandstone_cobble.png
Normal file
After Width: | Height: | Size: 746 B |
BIN
mods/mtg_plus/textures/mtg_plus_silver_sandstone_brick_gold.png
Normal file
After Width: | Height: | Size: 491 B |
BIN
mods/mtg_plus/textures/mtg_plus_silver_sandstone_cobble.png
Normal file
After Width: | Height: | Size: 526 B |
BIN
mods/mtg_plus/textures/mtg_plus_snow_brick.png
Normal file
After Width: | Height: | Size: 525 B |
BIN
mods/mtg_plus/textures/mtg_plus_steel_brick.png
Normal file
After Width: | Height: | Size: 592 B |
BIN
mods/mtg_plus/textures/mtg_plus_stone_brick_gold.png
Normal file
After Width: | Height: | Size: 676 B |
BIN
mods/mtg_plus/textures/mtg_plus_tin_brick.png
Normal file
After Width: | Height: | Size: 345 B |
BIN
mods/mtg_plus/textures/mtg_plus_trapdoor_ice.png
Normal file
After Width: | Height: | Size: 436 B |
BIN
mods/mtg_plus/textures/mtg_plus_trapdoor_ice_side.png
Normal file
After Width: | Height: | Size: 212 B |
BIN
mods/mtg_plus/textures/mtg_plus_trapdoor_icesteel.png
Normal file
After Width: | Height: | Size: 549 B |