Add translator credits
[minetest_mtg_plus.git] / seethrough.lua
blobc259f22c7f5a06d43df116a25043e9b6c8d530d7
1 local S = minetest.get_translator("mtg_plus")
3 -- Blocks that you can see through
5 minetest.register_node("mtg_plus:goldglass", {
6 description = S("Goldglass"),
7 _doc_items_longdesc = S("A ornamental and mostly transparent block, made by combining glass with gold."),
8 drawtype = "glasslike_framed_optional",
9 tiles = {"mtg_plus_goldglass.png", "mtg_plus_goldglass_detail.png"},
10 paramtype = "light",
11 sunlight_propagates = true,
12 is_ground_content = false,
13 groups = { cracky = 3, oddly_breakable_by_hand = 2},
14 sounds = default.node_sound_glass_defaults(),
17 minetest.register_craft({
18 output = "mtg_plus:goldglass 1",
19 recipe = { { "default:gold_ingot", },
20 { "default:glass",},
21 { "default:gold_ingot", },
25 minetest.register_node("mtg_plus:dirty_glass", {
26 description = S("Dirty Glass"),
27 _doc_items_longdesc = S("A decorative, semitransparent block. The dirt makes it hard for the sunlight to pass through."),
28 drawtype = "glasslike_framed_optional",
29 tiles = {"mtg_plus_dirty_glass.png", "mtg_plus_dirty_glass_detail.png"},
30 paramtype = "light",
31 sunlight_propagates = false,
32 is_ground_content = false,
33 groups = {cracky = 3, oddly_breakable_by_hand = 3},
34 sounds = default.node_sound_glass_defaults(),
37 minetest.register_craft({
38 output = "mtg_plus:dirty_glass 3",
39 recipe = { { "", "default:dirt", "" },
40 {"default:glass", "default:glass", "default:glass"},
44 minetest.register_node("mtg_plus:ice_window", {
45 description = S("Ice Window"),
46 _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."),
47 drawtype = "glasslike",
48 tiles = {"mtg_plus_ice_window.png"},
49 sunlight_propagates = true,
50 groups = {cracky = 3, cools_lava = 1, slippery = 3 },
51 is_ground_content = false,
52 paramtype = "light",
53 sounds = default.node_sound_glass_defaults(),
56 minetest.register_craft({
57 output = "mtg_plus:ice_window",
58 type = "cooking",
59 recipe = "mtg_plus:ice_tile4",
60 cooktime = 1,