Remove the beds (low-quality and ugly)

master
Wuzzy 2017-06-07 16:26:21 +02:00
parent e30178eb8d
commit 8419c29845
3 changed files with 7 additions and 104 deletions

107
init.lua
View File

@ -826,106 +826,6 @@ stairs.register_stair("flint_block", "mtg_plus:flint_block", {cracky=2}, {"mtg_p
stairs.register_slab("ice_block", "mtg_plus:ice_block", {cracky=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}, {"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)
-- Beds
beds.register_bed("mtg_plus:bed_simple_white", {
description = S("White Simple Bed"),
--TODO: _doc_items_longdesc =
inventory_image = "mtg_plus_bed_simple_white.png",
wield_image = "mtg_plus_bed_simple_white.png",
tiles = {
bottom = {
"mtg_plus_bed_simple_white_top_bottom.png^[transformR90",
"default_wood.png",
"mtg_plus_bed_simple_white_side_bottom_r.png",
"mtg_plus_bed_simple_white_side_bottom_r.png^[transformfx",
"beds_transparent.png",
"mtg_plus_bed_simple_white_side_bottom.png"
},
top = {
"mtg_plus_bed_simple_white_top_top.png^[transformR90",
"default_wood.png",
"mtg_plus_bed_simple_white_side_top_r.png",
"mtg_plus_bed_simple_white_side_top_r.png^[transformfx",
"mtg_plus_bed_simple_white_side_top.png",
"beds_transparent.png",
}
},
nodebox = {
bottom = {-0.5, -0.5, -0.5, 0.5, 0.06, 0.5},
top = {-0.5, -0.5, -0.5, 0.5, 0.06, 0.5},
},
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.06, 1.5},
recipe = {
{"wool:white", "wool:white", "wool:white"},
{"group:wood", "group:wood", "group:wood"}
},
})
minetest.register_craft({
type = "fuel",
recipe = "mtg_plus:bed_simple_white_bottom",
burntime = 12,
})
beds.register_bed("mtg_plus:gold_bed", {
description = S("Golden Bed"),
--TODO: _doc_items_longdesc =
inventory_image = "mtg_plus_gold_bed.png",
wield_image = "mtg_plus_gold_bed.png",
tiles = {
bottom = {
"mtg_plus_gold_bed_top1.png",
"default_gold_block.png",
"mtg_plus_gold_bed_side1.png",
"mtg_plus_gold_bed_side1.png^[transformFX",
"default_gold_block.png",
"mtg_plus_gold_bed_foot.png",
},
top = {
"mtg_plus_gold_bed_top2.png",
"default_gold_block.png",
"mtg_plus_gold_bed_side2.png",
"mtg_plus_gold_bed_side2.png^[transformFX",
"mtg_plus_gold_bed_head.png",
"default_gold_block.png",
}
},
nodebox = {
bottom = {
{-0.5, -0.5, -0.5, -0.375, -0.065, -0.4375},
{0.375, -0.5, -0.5, 0.5, -0.065, -0.4375},
{-0.5, -0.375, -0.5, 0.5, -0.125, -0.4375},
{-0.5, -0.375, -0.5, -0.4375, -0.125, 0.5},
{0.4375, -0.375, -0.5, 0.5, -0.125, 0.5},
{-0.4375, -0.3125, -0.4375, 0.4375, -0.0625, 0.5},
},
top = {
{-0.5, -0.5, 0.4375, -0.375, 0.1875, 0.5},
{0.375, -0.5, 0.4375, 0.5, 0.1875, 0.5},
{-0.5, 0, 0.4375, 0.5, 0.125, 0.5},
{-0.5, -0.375, 0.4375, 0.5, -0.125, 0.5},
{-0.5, -0.375, -0.5, -0.4375, -0.125, 0.5},
{0.4375, -0.375, -0.5, 0.5, -0.125, 0.5},
{-0.4375, -0.3125, -0.5, 0.4375, -0.0625, 0.4375},
}
},
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.06, 1.5},
recipe = {
{"", "", "group:stick"},
{"wool:yellow", "wool:yellow", "wool:yellow"},
{"default:gold_ingot", "default:gold_ingot", "default:gold_ingot"},
},
})
-- TODO: Remove this when Minetest Game's API supports setting groups and sounds manually
local goldbeddef = {
groups = { bed = 1, cracky = 2, snappy = 1 },
sounds = metal_sounds,
}
minetest.override_item("mtg_plus:gold_bed_bottom", goldbeddef)
minetest.override_item("mtg_plus:gold_bed_top", goldbeddef)
-- Doors
doors.register("door_wood_bar", {
tiles = {{ name = "mtg_plus_door_wood_bar.png", backface_culling = true }},
@ -1426,3 +1326,10 @@ if minetest.get_modpath("awards") then
}
})
end
-- 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")

View File

@ -24,7 +24,6 @@ Gold Brick = Goldziegel
Gold Brick Slab = Goldziegelplatte
Gold Brick Stair = Goldziegeltreppe
Golden Decor Apple = Goldener Dekoapfel
Golden Bed = Goldbett
Golden Cup = Goldpokal
Golden Ladder = Goldleiter
Golden Window = Goldfenster
@ -76,7 +75,6 @@ Steel Brick = Stahlziegel
Steel Brick Slab = Stahlziegelplatte
Steel Brick Stair = Stahlziegeltreppe
Stone Brick with Golden Edges = Steinziegel mit Goldkanten
White Simple Bed = Weißes einfaches Bett
Wooden Bar Door = Holzgittertür
Wooden Bars = Holzgitter
Jungle Cobblestone Wall = Dschungelkopfsteinpflastermauer

View File

@ -25,7 +25,6 @@ Gold Brick =
Gold Brick Slab =
Gold Brick Stair =
Golden Decor Apple =
Golden Bed =
Golden Cup =
Golden Ladder =
Golden Window =
@ -79,7 +78,6 @@ Steel Brick =
Steel Brick Slab =
Steel Brick Stair =
Stone Brick with Golden Edges =
White Simple Bed =
Wooden Bar Door =
Wooden Bars =
Goldwood Chair =