write something there
420
mods/colorful_beds/bounce_mech.lua
Normal file
|
@ -0,0 +1,420 @@
|
|||
-- colorful_beds/bounce_mech.lua
|
||||
|
||||
-- Modifies Beds To Be Bouncy
|
||||
-- If You Land On The Bottom Portion You Add To The Height by 5%
|
||||
-- While Landing Near The Top Portion Reduces Height By 5%
|
||||
-- For Safety There Is 100% Damage Reduction When Falling Onto A Bed.
|
||||
|
||||
-- Original Beds
|
||||
minetest.override_item("beds:fancy_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("beds:fancy_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
minetest.override_item("beds:bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("beds:bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
-- Black Beds
|
||||
minetest.override_item("colorful_beds:black_fancy_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("colorful_beds:black_fancy_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
minetest.override_item("colorful_beds:black_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("colorful_beds:black_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
-- Black Beds
|
||||
minetest.override_item("colorful_beds:black_fancy_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("colorful_beds:black_fancy_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
minetest.override_item("colorful_beds:black_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("colorful_beds:black_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
-- Blue Beds
|
||||
minetest.override_item("colorful_beds:blue_fancy_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("colorful_beds:blue_fancy_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
minetest.override_item("colorful_beds:blue_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("colorful_beds:blue_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
-- Brown Beds
|
||||
minetest.override_item("colorful_beds:brown_fancy_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("colorful_beds:brown_fancy_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
minetest.override_item("colorful_beds:brown_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("colorful_beds:brown_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
-- Cyan Beds
|
||||
minetest.override_item("colorful_beds:cyan_fancy_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("colorful_beds:cyan_fancy_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
minetest.override_item("colorful_beds:cyan_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("colorful_beds:cyan_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
-- Dark Green Beds
|
||||
minetest.override_item("colorful_beds:dark_green_fancy_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("colorful_beds:dark_green_fancy_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
minetest.override_item("colorful_beds:dark_green_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("colorful_beds:dark_green_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
-- Dark Grey Beds
|
||||
minetest.override_item("colorful_beds:dark_grey_fancy_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("colorful_beds:dark_grey_fancy_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
minetest.override_item("colorful_beds:dark_grey_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("colorful_beds:dark_grey_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
-- Green Beds
|
||||
minetest.override_item("colorful_beds:green_fancy_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("colorful_beds:green_fancy_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
minetest.override_item("colorful_beds:green_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("colorful_beds:green_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
-- Grey Beds
|
||||
minetest.override_item("colorful_beds:grey_fancy_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("colorful_beds:grey_fancy_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
minetest.override_item("colorful_beds:grey_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("colorful_beds:grey_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
-- Light Blue Beds
|
||||
minetest.override_item("colorful_beds:light_blue_fancy_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("colorful_beds:light_blue_fancy_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
minetest.override_item("colorful_beds:light_blue_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("colorful_beds:light_blue_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
-- Magenta Beds
|
||||
minetest.override_item("colorful_beds:magenta_fancy_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("colorful_beds:magenta_fancy_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
minetest.override_item("colorful_beds:magenta_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("colorful_beds:magenta_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
-- Orange Beds
|
||||
minetest.override_item("colorful_beds:orange_fancy_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("colorful_beds:orange_fancy_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
minetest.override_item("colorful_beds:orange_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("colorful_beds:orange_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
-- Pink Beds
|
||||
minetest.override_item("colorful_beds:pink_fancy_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("colorful_beds:pink_fancy_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
minetest.override_item("colorful_beds:pink_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("colorful_beds:pink_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
-- Red Beds
|
||||
minetest.override_item("colorful_beds:red_fancy_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("colorful_beds:red_fancy_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
minetest.override_item("colorful_beds:red_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("colorful_beds:red_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
-- Violet Beds
|
||||
minetest.override_item("colorful_beds:violet_fancy_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("colorful_beds:violet_fancy_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
minetest.override_item("colorful_beds:violet_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("colorful_beds:violet_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
-- White Beds
|
||||
minetest.override_item("colorful_beds:white_fancy_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("colorful_beds:white_fancy_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
minetest.override_item("colorful_beds:white_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("colorful_beds:white_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
-- Yellow Beds
|
||||
minetest.override_item("colorful_beds:yellow_fancy_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("colorful_beds:yellow_fancy_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
|
||||
minetest.override_item("colorful_beds:yellow_bed_bottom", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 105, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
||||
minetest.override_item("colorful_beds:yellow_bed_top", {
|
||||
groups = {
|
||||
choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, bouncy = 95, fall_damage_add_percent = -100
|
||||
}
|
||||
})
|
87
mods/colorful_beds/colorful_beds_black.lua
Normal file
|
@ -0,0 +1,87 @@
|
|||
-- colorful_beds/colorful_beds_black.lua
|
||||
|
||||
-- Fancy Beds Section
|
||||
|
||||
beds.register_bed("colorful_beds:black_fancy_bed", {
|
||||
description = ("Black Fancy Bed"),
|
||||
inventory_image = "black_beds_fancy.png",
|
||||
wield_image = "black_beds_fancy.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"black_beds_bed_top1.png",
|
||||
"beds_bed_under.png",
|
||||
"black_beds_bed_side1.png",
|
||||
"black_beds_bed_side1.png^[transformFX",
|
||||
"black_beds_bed_foot.png",
|
||||
"black_beds_bed_foot.png",
|
||||
},
|
||||
top = {
|
||||
"black_beds_bed_top2.png",
|
||||
"beds_bed_under.png",
|
||||
"black_beds_bed_side2.png",
|
||||
"black_beds_bed_side2.png^[transformFX",
|
||||
"beds_bed_head.png",
|
||||
"beds_bed_head.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:black", "wool:black", "wool:black"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
||||
|
||||
-- Simple Beds Section
|
||||
|
||||
beds.register_bed("colorful_beds:black_bed", {
|
||||
description = ("Black Simple Bed"),
|
||||
inventory_image = "black_beds_bed.png",
|
||||
wield_image = "black_beds_bed.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"black_beds_bed_top_bottom.png^[transformR90",
|
||||
"beds_bed_under.png",
|
||||
"black_beds_bed_side_bottom_r.png",
|
||||
"black_beds_bed_side_bottom_r.png^[transformfx",
|
||||
"blank.png",
|
||||
"black_beds_bed_side_bottom.png"
|
||||
},
|
||||
top = {
|
||||
"black_beds_bed_top_top.png^[transformR90",
|
||||
"beds_bed_under.png",
|
||||
"black_beds_bed_side_top_r.png",
|
||||
"black_beds_bed_side_top_r.png^[transformfx",
|
||||
"beds_bed_side_top.png",
|
||||
"blank.png",
|
||||
}
|
||||
},
|
||||
nodebox = {
|
||||
bottom = {-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5},
|
||||
top = {-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5},
|
||||
},
|
||||
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.0625, 1.5},
|
||||
recipe = {
|
||||
{"wool:black", "wool:black", "wool:black"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
93
mods/colorful_beds/colorful_beds_blue.lua
Normal file
|
@ -0,0 +1,93 @@
|
|||
-- colorful_beds/colorful_beds_blue.lua
|
||||
|
||||
-- Fancy Beds Section
|
||||
|
||||
beds.register_bed("colorful_beds:blue_fancy_bed", {
|
||||
description = ("Blue Fancy Bed"),
|
||||
inventory_image = "blue_beds_fancy.png",
|
||||
wield_image = "blue_beds_fancy.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"blue_beds_bed_top1.png",
|
||||
"beds_bed_under.png",
|
||||
"blue_beds_bed_side1.png",
|
||||
"blue_beds_bed_side1.png^[transformFX",
|
||||
"blue_beds_bed_foot.png",
|
||||
"blue_beds_bed_foot.png",
|
||||
},
|
||||
top = {
|
||||
"blue_beds_bed_top2.png",
|
||||
"beds_bed_under.png",
|
||||
"blue_beds_bed_side2.png",
|
||||
"blue_beds_bed_side2.png^[transformFX",
|
||||
"beds_bed_head.png",
|
||||
"beds_bed_head.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:blue", "wool:blue", "wool:blue"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
||||
|
||||
-- Simple Beds Section
|
||||
|
||||
beds.register_bed("colorful_beds:blue_bed", {
|
||||
description = ("Blue Simple Bed"),
|
||||
inventory_image = "blue_beds_bed.png",
|
||||
wield_image = "blue_beds_bed.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"blue_beds_bed_top_bottom.png^[transformR90",
|
||||
"beds_bed_under.png",
|
||||
"blue_beds_bed_side_bottom_r.png",
|
||||
"blue_beds_bed_side_bottom_r.png^[transformfx",
|
||||
"blank.png",
|
||||
"blue_beds_bed_side_bottom.png"
|
||||
},
|
||||
top = {
|
||||
"blue_beds_bed_top_top.png^[transformR90",
|
||||
"beds_bed_under.png",
|
||||
"blue_beds_bed_side_top_r.png",
|
||||
"blue_beds_bed_side_top_r.png^[transformfx",
|
||||
"beds_bed_side_top.png",
|
||||
"blank.png",
|
||||
}
|
||||
},
|
||||
nodebox = {
|
||||
bottom = {-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5},
|
||||
top = {-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5},
|
||||
},
|
||||
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.0625, 1.5},
|
||||
recipe = {
|
||||
{"wool:blue", "wool:blue", "wool:blue"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
||||
|
||||
-- If The Cropocalypse Mod Is Installed This Adds Light Blue Beds
|
||||
|
||||
if minetest.global_exists("cropocalypse") then
|
||||
dofile(path .. "/colorful_beds_light_blue.lua")
|
||||
end
|
87
mods/colorful_beds/colorful_beds_brown.lua
Normal file
|
@ -0,0 +1,87 @@
|
|||
-- colorful_beds/colorful_beds_brown.lua
|
||||
|
||||
-- Fancy Beds Section
|
||||
|
||||
beds.register_bed("colorful_beds:brown_fancy_bed", {
|
||||
description = ("Brown Fancy Bed"),
|
||||
inventory_image = "brown_beds_fancy.png",
|
||||
wield_image = "brown_beds_fancy.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"brown_beds_bed_top1.png",
|
||||
"beds_bed_under.png",
|
||||
"brown_beds_bed_side1.png",
|
||||
"brown_beds_bed_side1.png^[transformFX",
|
||||
"brown_beds_bed_foot.png",
|
||||
"brown_beds_bed_foot.png",
|
||||
},
|
||||
top = {
|
||||
"brown_beds_bed_top2.png",
|
||||
"beds_bed_under.png",
|
||||
"brown_beds_bed_side2.png",
|
||||
"brown_beds_bed_side2.png^[transformFX",
|
||||
"beds_bed_head.png",
|
||||
"beds_bed_head.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:brown", "wool:brown", "wool:brown"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
||||
|
||||
-- Simple Beds Section
|
||||
|
||||
beds.register_bed("colorful_beds:brown_bed", {
|
||||
description = ("Brown Simple Bed"),
|
||||
inventory_image = "brown_beds_bed.png",
|
||||
wield_image = "brown_beds_bed.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"brown_beds_bed_top_bottom.png^[transformR90",
|
||||
"beds_bed_under.png",
|
||||
"brown_beds_bed_side_bottom_r.png",
|
||||
"brown_beds_bed_side_bottom_r.png^[transformfx",
|
||||
"blank.png",
|
||||
"brown_beds_bed_side_bottom.png"
|
||||
},
|
||||
top = {
|
||||
"brown_beds_bed_top_top.png^[transformR90",
|
||||
"beds_bed_under.png",
|
||||
"brown_beds_bed_side_top_r.png",
|
||||
"brown_beds_bed_side_top_r.png^[transformfx",
|
||||
"beds_bed_side_top.png",
|
||||
"blank.png",
|
||||
}
|
||||
},
|
||||
nodebox = {
|
||||
bottom = {-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5},
|
||||
top = {-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5},
|
||||
},
|
||||
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.0625, 1.5},
|
||||
recipe = {
|
||||
{"wool:brown", "wool:brown", "wool:brown"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
87
mods/colorful_beds/colorful_beds_cyan.lua
Normal file
|
@ -0,0 +1,87 @@
|
|||
-- colorful_beds/colorful_beds_cyan.lua
|
||||
|
||||
-- Fancy Beds Section
|
||||
|
||||
beds.register_bed("colorful_beds:cyan_fancy_bed", {
|
||||
description = ("Cyan Fancy Bed"),
|
||||
inventory_image = "cyan_beds_fancy.png",
|
||||
wield_image = "cyan_beds_fancy.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"cyan_beds_bed_top1.png",
|
||||
"beds_bed_under.png",
|
||||
"cyan_beds_bed_side1.png",
|
||||
"cyan_beds_bed_side1.png^[transformFX",
|
||||
"cyan_beds_bed_foot.png",
|
||||
"cyan_beds_bed_foot.png",
|
||||
},
|
||||
top = {
|
||||
"cyan_beds_bed_top2.png",
|
||||
"beds_bed_under.png",
|
||||
"cyan_beds_bed_side2.png",
|
||||
"cyan_beds_bed_side2.png^[transformFX",
|
||||
"beds_bed_head.png",
|
||||
"beds_bed_head.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:cyan", "wool:cyan", "wool:cyan"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
||||
|
||||
-- Simple Beds Section
|
||||
|
||||
beds.register_bed("colorful_beds:cyan_bed", {
|
||||
description = ("Cyan Simple Bed"),
|
||||
inventory_image = "cyan_beds_bed.png",
|
||||
wield_image = "cyan_beds_bed.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"cyan_beds_bed_top_bottom.png^[transformR90",
|
||||
"beds_bed_under.png",
|
||||
"cyan_beds_bed_side_bottom_r.png",
|
||||
"cyan_beds_bed_side_bottom_r.png^[transformfx",
|
||||
"blank.png",
|
||||
"cyan_beds_bed_side_bottom.png"
|
||||
},
|
||||
top = {
|
||||
"cyan_beds_bed_top_top.png^[transformR90",
|
||||
"beds_bed_under.png",
|
||||
"cyan_beds_bed_side_top_r.png",
|
||||
"cyan_beds_bed_side_top_r.png^[transformfx",
|
||||
"beds_bed_side_top.png",
|
||||
"blank.png",
|
||||
}
|
||||
},
|
||||
nodebox = {
|
||||
bottom = {-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5},
|
||||
top = {-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5},
|
||||
},
|
||||
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.0625, 1.5},
|
||||
recipe = {
|
||||
{"wool:cyan", "wool:cyan", "wool:cyan"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
87
mods/colorful_beds/colorful_beds_dark_green.lua
Normal file
|
@ -0,0 +1,87 @@
|
|||
-- colorful_beds/colorful_beds_dark_green.lua
|
||||
|
||||
-- Fancy Beds Section
|
||||
|
||||
beds.register_bed("colorful_beds:dark_green_fancy_bed", {
|
||||
description = ("Dark Green Fancy Bed"),
|
||||
inventory_image = "dark_green_beds_fancy.png",
|
||||
wield_image = "dark_green_beds_fancy.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"dark_green_beds_bed_top1.png",
|
||||
"beds_bed_under.png",
|
||||
"dark_green_beds_bed_side1.png",
|
||||
"dark_green_beds_bed_side1.png^[transformFX",
|
||||
"dark_green_beds_bed_foot.png",
|
||||
"dark_green_beds_bed_foot.png",
|
||||
},
|
||||
top = {
|
||||
"dark_green_beds_bed_top2.png",
|
||||
"beds_bed_under.png",
|
||||
"dark_green_beds_bed_side2.png",
|
||||
"dark_green_beds_bed_side2.png^[transformFX",
|
||||
"beds_bed_head.png",
|
||||
"beds_bed_head.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:dark_green", "wool:dark_green", "wool:dark_green"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
||||
|
||||
-- Simple Beds Section
|
||||
|
||||
beds.register_bed("colorful_beds:dark_green_bed", {
|
||||
description = ("Dark Green Simple Bed"),
|
||||
inventory_image = "dark_green_beds_bed.png",
|
||||
wield_image = "dark_green_beds_bed.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"dark_green_beds_bed_top_bottom.png^[transformR90",
|
||||
"beds_bed_under.png",
|
||||
"dark_green_beds_bed_side_bottom_r.png",
|
||||
"dark_green_beds_bed_side_bottom_r.png^[transformfx",
|
||||
"blank.png",
|
||||
"dark_green_beds_bed_side_bottom.png"
|
||||
},
|
||||
top = {
|
||||
"dark_green_beds_bed_top_top.png^[transformR90",
|
||||
"beds_bed_under.png",
|
||||
"dark_green_beds_bed_side_top_r.png",
|
||||
"dark_green_beds_bed_side_top_r.png^[transformfx",
|
||||
"beds_bed_side_top.png",
|
||||
"blank.png",
|
||||
}
|
||||
},
|
||||
nodebox = {
|
||||
bottom = {-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5},
|
||||
top = {-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5},
|
||||
},
|
||||
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.0625, 1.5},
|
||||
recipe = {
|
||||
{"wool:dark_green", "wool:dark_green", "wool:dark_green"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
87
mods/colorful_beds/colorful_beds_dark_grey.lua
Normal file
|
@ -0,0 +1,87 @@
|
|||
-- colorful_beds/colorful_beds_dark_grey.lua
|
||||
|
||||
-- Fancy Beds Section
|
||||
|
||||
beds.register_bed("colorful_beds:dark_grey_fancy_bed", {
|
||||
description = ("Dark Grey Fancy Bed"),
|
||||
inventory_image = "dark_grey_beds_fancy.png",
|
||||
wield_image = "dark_grey_beds_fancy.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"dark_grey_beds_bed_top1.png",
|
||||
"beds_bed_under.png",
|
||||
"dark_grey_beds_bed_side1.png",
|
||||
"dark_grey_beds_bed_side1.png^[transformFX",
|
||||
"dark_grey_beds_bed_foot.png",
|
||||
"dark_grey_beds_bed_foot.png",
|
||||
},
|
||||
top = {
|
||||
"dark_grey_beds_bed_top2.png",
|
||||
"beds_bed_under.png",
|
||||
"dark_grey_beds_bed_side2.png",
|
||||
"dark_grey_beds_bed_side2.png^[transformFX",
|
||||
"beds_bed_head.png",
|
||||
"beds_bed_head.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:dark_grey", "wool:dark_grey", "wool:dark_grey"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
||||
|
||||
-- Simple Beds Section
|
||||
|
||||
beds.register_bed("colorful_beds:dark_grey_bed", {
|
||||
description = ("Dark Grey Simple Bed"),
|
||||
inventory_image = "dark_grey_beds_bed.png",
|
||||
wield_image = "dark_grey_beds_bed.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"dark_grey_beds_bed_top_bottom.png^[transformR90",
|
||||
"beds_bed_under.png",
|
||||
"dark_grey_beds_bed_side_bottom_r.png",
|
||||
"dark_grey_beds_bed_side_bottom_r.png^[transformfx",
|
||||
"blank.png",
|
||||
"dark_grey_beds_bed_side_bottom.png"
|
||||
},
|
||||
top = {
|
||||
"dark_grey_beds_bed_top_top.png^[transformR90",
|
||||
"beds_bed_under.png",
|
||||
"dark_grey_beds_bed_side_top_r.png",
|
||||
"dark_grey_beds_bed_side_top_r.png^[transformfx",
|
||||
"beds_bed_side_top.png",
|
||||
"blank.png",
|
||||
}
|
||||
},
|
||||
nodebox = {
|
||||
bottom = {-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5},
|
||||
top = {-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5},
|
||||
},
|
||||
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.0625, 1.5},
|
||||
recipe = {
|
||||
{"wool:dark_grey", "wool:dark_grey", "wool:dark_grey"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
87
mods/colorful_beds/colorful_beds_green.lua
Normal file
|
@ -0,0 +1,87 @@
|
|||
-- colorful_beds/colorful_beds_green.lua
|
||||
|
||||
-- Fancy Beds Section
|
||||
|
||||
beds.register_bed("colorful_beds:green_fancy_bed", {
|
||||
description = ("Green Fancy Bed"),
|
||||
inventory_image = "green_beds_fancy.png",
|
||||
wield_image = "green_beds_fancy.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"green_beds_bed_top1.png",
|
||||
"beds_bed_under.png",
|
||||
"green_beds_bed_side1.png",
|
||||
"green_beds_bed_side1.png^[transformFX",
|
||||
"green_beds_bed_foot.png",
|
||||
"green_beds_bed_foot.png",
|
||||
},
|
||||
top = {
|
||||
"green_beds_bed_top2.png",
|
||||
"beds_bed_under.png",
|
||||
"green_beds_bed_side2.png",
|
||||
"green_beds_bed_side2.png^[transformFX",
|
||||
"beds_bed_head.png",
|
||||
"beds_bed_head.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:green", "wool:green", "wool:green"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
||||
|
||||
-- Simple Beds Section
|
||||
|
||||
beds.register_bed("colorful_beds:green_bed", {
|
||||
description = ("Green Simple Bed"),
|
||||
inventory_image = "green_beds_bed.png",
|
||||
wield_image = "green_beds_bed.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"green_beds_bed_top_bottom.png^[transformR90",
|
||||
"beds_bed_under.png",
|
||||
"green_beds_bed_side_bottom_r.png",
|
||||
"green_beds_bed_side_bottom_r.png^[transformfx",
|
||||
"blank.png",
|
||||
"green_beds_bed_side_bottom.png"
|
||||
},
|
||||
top = {
|
||||
"green_beds_bed_top_top.png^[transformR90",
|
||||
"beds_bed_under.png",
|
||||
"green_beds_bed_side_top_r.png",
|
||||
"green_beds_bed_side_top_r.png^[transformfx",
|
||||
"beds_bed_side_top.png",
|
||||
"blank.png",
|
||||
}
|
||||
},
|
||||
nodebox = {
|
||||
bottom = {-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5},
|
||||
top = {-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5},
|
||||
},
|
||||
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.0625, 1.5},
|
||||
recipe = {
|
||||
{"wool:green", "wool:green", "wool:green"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
87
mods/colorful_beds/colorful_beds_grey.lua
Normal file
|
@ -0,0 +1,87 @@
|
|||
-- colorful_beds/colorful_beds_grey.lua
|
||||
|
||||
-- Fancy Beds Section
|
||||
|
||||
beds.register_bed("colorful_beds:grey_fancy_bed", {
|
||||
description = ("Grey Fancy Bed"),
|
||||
inventory_image = "grey_beds_fancy.png",
|
||||
wield_image = "grey_beds_fancy.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"grey_beds_bed_top1.png",
|
||||
"beds_bed_under.png",
|
||||
"grey_beds_bed_side1.png",
|
||||
"grey_beds_bed_side1.png^[transformFX",
|
||||
"grey_beds_bed_foot.png",
|
||||
"grey_beds_bed_foot.png",
|
||||
},
|
||||
top = {
|
||||
"grey_beds_bed_top2.png",
|
||||
"beds_bed_under.png",
|
||||
"grey_beds_bed_side2.png",
|
||||
"grey_beds_bed_side2.png^[transformFX",
|
||||
"beds_bed_head.png",
|
||||
"beds_bed_head.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:grey", "wool:grey", "wool:grey"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
||||
|
||||
-- Simple Beds Section
|
||||
|
||||
beds.register_bed("colorful_beds:grey_bed", {
|
||||
description = ("Grey Simple Bed"),
|
||||
inventory_image = "grey_beds_bed.png",
|
||||
wield_image = "grey_beds_bed.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"grey_beds_bed_top_bottom.png^[transformR90",
|
||||
"beds_bed_under.png",
|
||||
"grey_beds_bed_side_bottom_r.png",
|
||||
"grey_beds_bed_side_bottom_r.png^[transformfx",
|
||||
"blank.png",
|
||||
"grey_beds_bed_side_bottom.png"
|
||||
},
|
||||
top = {
|
||||
"grey_beds_bed_top_top.png^[transformR90",
|
||||
"beds_bed_under.png",
|
||||
"grey_beds_bed_side_top_r.png",
|
||||
"grey_beds_bed_side_top_r.png^[transformfx",
|
||||
"beds_bed_side_top.png",
|
||||
"blank.png",
|
||||
}
|
||||
},
|
||||
nodebox = {
|
||||
bottom = {-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5},
|
||||
top = {-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5},
|
||||
},
|
||||
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.0625, 1.5},
|
||||
recipe = {
|
||||
{"wool:grey", "wool:grey", "wool:grey"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
104
mods/colorful_beds/colorful_beds_light_blue.lua
Normal file
|
@ -0,0 +1,104 @@
|
|||
-- colorful_beds/colorful_beds_light_blue.lua
|
||||
|
||||
-- Adds Light Blue Wool Node
|
||||
|
||||
minetest.register_node("colorful_beds:wool_light_blue", {
|
||||
description = ("Light Blue Wool"),
|
||||
tiles = {"cb_wool_light_blue.png"},
|
||||
is_ground_content = false,
|
||||
groups = {snappy = 2, choppy = 2, oddly_breakable_by_hand = 3,
|
||||
flammable = 3, wool = 1},
|
||||
sounds = default.node_sound_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "colorful_beds:wool_light_blue 1",
|
||||
recipe = {"cropocalypse:light_blue_dye", "group:wool"}
|
||||
})
|
||||
|
||||
-- Fancy Beds Section
|
||||
|
||||
beds.register_bed("colorful_beds:light_blue_fancy_bed", {
|
||||
description = ("Light Blue Fancy Bed"),
|
||||
inventory_image = "light_blue_beds_fancy.png",
|
||||
wield_image = "light_blue_beds_fancy.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"light_blue_beds_bed_top1.png",
|
||||
"beds_bed_under.png",
|
||||
"light_blue_beds_bed_side1.png",
|
||||
"light_blue_beds_bed_side1.png^[transformFX",
|
||||
"light_blue_beds_bed_foot.png",
|
||||
"light_blue_beds_bed_foot.png",
|
||||
},
|
||||
top = {
|
||||
"light_blue_beds_bed_top2.png",
|
||||
"beds_bed_under.png",
|
||||
"light_blue_beds_bed_side2.png",
|
||||
"light_blue_beds_bed_side2.png^[transformFX",
|
||||
"beds_bed_head.png",
|
||||
"beds_bed_head.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"},
|
||||
{"colorful_beds:wool_light_blue", "colorful_beds:wool_light_blue", "colorful_beds:wool_light_blue"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
||||
|
||||
-- Simple Beds Section
|
||||
|
||||
beds.register_bed("colorful_beds:light_blue_bed", {
|
||||
description = ("Light Blue Simple Bed"),
|
||||
inventory_image = "light_blue_beds_bed.png",
|
||||
wield_image = "light_blue_beds_bed.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"light_blue_beds_bed_top_bottom.png^[transformR90",
|
||||
"beds_bed_under.png",
|
||||
"light_blue_beds_bed_side_bottom_r.png",
|
||||
"light_blue_beds_bed_side_bottom_r.png^[transformfx",
|
||||
"blank.png",
|
||||
"light_blue_beds_bed_side_bottom.png"
|
||||
},
|
||||
top = {
|
||||
"light_blue_beds_bed_top_top.png^[transformR90",
|
||||
"beds_bed_under.png",
|
||||
"light_blue_beds_bed_side_top_r.png",
|
||||
"light_blue_beds_bed_side_top_r.png^[transformfx",
|
||||
"beds_bed_side_top.png",
|
||||
"blank.png",
|
||||
}
|
||||
},
|
||||
nodebox = {
|
||||
bottom = {-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5},
|
||||
top = {-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5},
|
||||
},
|
||||
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.0625, 1.5},
|
||||
recipe = {
|
||||
{"colorful_beds:wool_light_blue", "colorful_beds:wool_light_blue", "colorful_beds:wool_light_blue"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
87
mods/colorful_beds/colorful_beds_magenta.lua
Normal file
|
@ -0,0 +1,87 @@
|
|||
-- colorful_beds/colorful_beds_magenta.lua
|
||||
|
||||
-- Fancy Beds Section
|
||||
|
||||
beds.register_bed("colorful_beds:magenta_fancy_bed", {
|
||||
description = ("Magenta Fancy Bed"),
|
||||
inventory_image = "magenta_beds_fancy.png",
|
||||
wield_image = "magenta_beds_fancy.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"magenta_beds_bed_top1.png",
|
||||
"beds_bed_under.png",
|
||||
"magenta_beds_bed_side1.png",
|
||||
"magenta_beds_bed_side1.png^[transformFX",
|
||||
"magenta_beds_bed_foot.png",
|
||||
"magenta_beds_bed_foot.png",
|
||||
},
|
||||
top = {
|
||||
"magenta_beds_bed_top2.png",
|
||||
"beds_bed_under.png",
|
||||
"magenta_beds_bed_side2.png",
|
||||
"magenta_beds_bed_side2.png^[transformFX",
|
||||
"beds_bed_head.png",
|
||||
"beds_bed_head.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:magenta", "wool:magenta", "wool:magenta"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
||||
|
||||
-- Simple Beds Section
|
||||
|
||||
beds.register_bed("colorful_beds:magenta_bed", {
|
||||
description = ("Magenta Simple Bed"),
|
||||
inventory_image = "magenta_beds_bed.png",
|
||||
wield_image = "magenta_beds_bed.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"magenta_beds_bed_top_bottom.png^[transformR90",
|
||||
"beds_bed_under.png",
|
||||
"magenta_beds_bed_side_bottom_r.png",
|
||||
"magenta_beds_bed_side_bottom_r.png^[transformfx",
|
||||
"blank.png",
|
||||
"magenta_beds_bed_side_bottom.png"
|
||||
},
|
||||
top = {
|
||||
"magenta_beds_bed_top_top.png^[transformR90",
|
||||
"beds_bed_under.png",
|
||||
"magenta_beds_bed_side_top_r.png",
|
||||
"magenta_beds_bed_side_top_r.png^[transformfx",
|
||||
"beds_bed_side_top.png",
|
||||
"blank.png",
|
||||
}
|
||||
},
|
||||
nodebox = {
|
||||
bottom = {-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5},
|
||||
top = {-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5},
|
||||
},
|
||||
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.0625, 1.5},
|
||||
recipe = {
|
||||
{"wool:magenta", "wool:magenta", "wool:magenta"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
87
mods/colorful_beds/colorful_beds_orange.lua
Normal file
|
@ -0,0 +1,87 @@
|
|||
-- colorful_beds/colorful_beds_orange.lua
|
||||
|
||||
-- Fancy Beds Section
|
||||
|
||||
beds.register_bed("colorful_beds:orange_fancy_bed", {
|
||||
description = ("Orange Fancy Bed"),
|
||||
inventory_image = "orange_beds_fancy.png",
|
||||
wield_image = "orange_beds_fancy.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"orange_beds_bed_top1.png",
|
||||
"beds_bed_under.png",
|
||||
"orange_beds_bed_side1.png",
|
||||
"orange_beds_bed_side1.png^[transformFX",
|
||||
"orange_beds_bed_foot.png",
|
||||
"orange_beds_bed_foot.png",
|
||||
},
|
||||
top = {
|
||||
"orange_beds_bed_top2.png",
|
||||
"beds_bed_under.png",
|
||||
"orange_beds_bed_side2.png",
|
||||
"orange_beds_bed_side2.png^[transformFX",
|
||||
"beds_bed_head.png",
|
||||
"beds_bed_head.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:orange", "wool:orange", "wool:orange"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
||||
|
||||
-- Simple Beds Section
|
||||
|
||||
beds.register_bed("colorful_beds:orange_bed", {
|
||||
description = ("Orange Simple Bed"),
|
||||
inventory_image = "orange_beds_bed.png",
|
||||
wield_image = "orange_beds_bed.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"orange_beds_bed_top_bottom.png^[transformR90",
|
||||
"beds_bed_under.png",
|
||||
"orange_beds_bed_side_bottom_r.png",
|
||||
"orange_beds_bed_side_bottom_r.png^[transformfx",
|
||||
"blank.png",
|
||||
"orange_beds_bed_side_bottom.png"
|
||||
},
|
||||
top = {
|
||||
"orange_beds_bed_top_top.png^[transformR90",
|
||||
"beds_bed_under.png",
|
||||
"orange_beds_bed_side_top_r.png",
|
||||
"orange_beds_bed_side_top_r.png^[transformfx",
|
||||
"beds_bed_side_top.png",
|
||||
"blank.png",
|
||||
}
|
||||
},
|
||||
nodebox = {
|
||||
bottom = {-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5},
|
||||
top = {-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5},
|
||||
},
|
||||
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.0625, 1.5},
|
||||
recipe = {
|
||||
{"wool:orange", "wool:orange", "wool:orange"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
87
mods/colorful_beds/colorful_beds_pink.lua
Normal file
|
@ -0,0 +1,87 @@
|
|||
-- colorful_beds/colorful_beds_pink.lua
|
||||
|
||||
-- Fancy Beds Section
|
||||
|
||||
beds.register_bed("colorful_beds:pink_fancy_bed", {
|
||||
description = ("Pink Fancy Bed"),
|
||||
inventory_image = "pink_beds_fancy.png",
|
||||
wield_image = "pink_beds_fancy.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"pink_beds_bed_top1.png",
|
||||
"beds_bed_under.png",
|
||||
"pink_beds_bed_side1.png",
|
||||
"pink_beds_bed_side1.png^[transformFX",
|
||||
"pink_beds_bed_foot.png",
|
||||
"pink_beds_bed_foot.png",
|
||||
},
|
||||
top = {
|
||||
"pink_beds_bed_top2.png",
|
||||
"beds_bed_under.png",
|
||||
"pink_beds_bed_side2.png",
|
||||
"pink_beds_bed_side2.png^[transformFX",
|
||||
"beds_bed_head.png",
|
||||
"beds_bed_head.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:pink", "wool:pink", "wool:pink"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
||||
|
||||
-- Simple Beds Section
|
||||
|
||||
beds.register_bed("colorful_beds:pink_bed", {
|
||||
description = ("Pink Simple Bed"),
|
||||
inventory_image = "pink_beds_bed.png",
|
||||
wield_image = "pink_beds_bed.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"pink_beds_bed_top_bottom.png^[transformR90",
|
||||
"beds_bed_under.png",
|
||||
"pink_beds_bed_side_bottom_r.png",
|
||||
"pink_beds_bed_side_bottom_r.png^[transformfx",
|
||||
"blank.png",
|
||||
"pink_beds_bed_side_bottom.png"
|
||||
},
|
||||
top = {
|
||||
"pink_beds_bed_top_top.png^[transformR90",
|
||||
"beds_bed_under.png",
|
||||
"pink_beds_bed_side_top_r.png",
|
||||
"pink_beds_bed_side_top_r.png^[transformfx",
|
||||
"beds_bed_side_top.png",
|
||||
"blank.png",
|
||||
}
|
||||
},
|
||||
nodebox = {
|
||||
bottom = {-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5},
|
||||
top = {-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5},
|
||||
},
|
||||
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.0625, 1.5},
|
||||
recipe = {
|
||||
{"wool:pink", "wool:pink", "wool:pink"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
105
mods/colorful_beds/colorful_beds_red.lua
Normal file
|
@ -0,0 +1,105 @@
|
|||
-- colorful_beds/colorful_beds_red.lua
|
||||
|
||||
-- Fancy Beds Section
|
||||
|
||||
beds.register_bed("colorful_beds:red_fancy_bed", {
|
||||
description = ("Red Fancy Bed"),
|
||||
inventory_image = "red_beds_fancy.png",
|
||||
wield_image = "red_beds_fancy.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"red_beds_bed_top1.png",
|
||||
"beds_bed_under.png",
|
||||
"red_beds_bed_side1.png",
|
||||
"red_beds_bed_side1.png^[transformFX",
|
||||
"red_beds_bed_foot.png",
|
||||
"red_beds_bed_foot.png",
|
||||
},
|
||||
top = {
|
||||
"red_beds_bed_top2.png",
|
||||
"beds_bed_under.png",
|
||||
"red_beds_bed_side2.png",
|
||||
"red_beds_bed_side2.png^[transformFX",
|
||||
"beds_bed_head.png",
|
||||
"beds_bed_head.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:red", "wool:red", "wool:red"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
||||
|
||||
-- Simple Beds Section
|
||||
|
||||
beds.register_bed("colorful_beds:red_bed", {
|
||||
description = ("Red Simple Bed"),
|
||||
inventory_image = "red_beds_bed.png",
|
||||
wield_image = "red_beds_bed.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"red_beds_bed_top_bottom.png^[transformR90",
|
||||
"beds_bed_under.png",
|
||||
"red_beds_bed_side_bottom_r.png",
|
||||
"red_beds_bed_side_bottom_r.png^[transformfx",
|
||||
"blank.png",
|
||||
"red_beds_bed_side_bottom.png"
|
||||
},
|
||||
top = {
|
||||
"red_beds_bed_top_top.png^[transformR90",
|
||||
"beds_bed_under.png",
|
||||
"red_beds_bed_side_top_r.png",
|
||||
"red_beds_bed_side_top_r.png^[transformfx",
|
||||
"beds_bed_side_top.png",
|
||||
"blank.png",
|
||||
}
|
||||
},
|
||||
nodebox = {
|
||||
bottom = {-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5},
|
||||
top = {-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5},
|
||||
},
|
||||
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.0625, 1.5},
|
||||
recipe = {
|
||||
{"wool:red", "wool:red", "wool:red"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
||||
|
||||
-- Crafting Legacy Beds
|
||||
minetest.register_craft({
|
||||
output = "beds:bed 1",
|
||||
recipe = {
|
||||
{"wool:red", "wool:red", "wool:white"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "beds:fancy_bed 1",
|
||||
recipe = {
|
||||
{"", "", "group:stick"},
|
||||
{"wool:red", "wool:red", "wool:white"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
87
mods/colorful_beds/colorful_beds_violet.lua
Normal file
|
@ -0,0 +1,87 @@
|
|||
-- colorful_beds/colorful_beds_violet.lua
|
||||
|
||||
-- Fancy Beds Section
|
||||
|
||||
beds.register_bed("colorful_beds:violet_fancy_bed", {
|
||||
description = ("Violet Fancy Bed"),
|
||||
inventory_image = "violet_beds_fancy.png",
|
||||
wield_image = "violet_beds_fancy.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"violet_beds_bed_top1.png",
|
||||
"beds_bed_under.png",
|
||||
"violet_beds_bed_side1.png",
|
||||
"violet_beds_bed_side1.png^[transformFX",
|
||||
"violet_beds_bed_foot.png",
|
||||
"violet_beds_bed_foot.png",
|
||||
},
|
||||
top = {
|
||||
"violet_beds_bed_top2.png",
|
||||
"beds_bed_under.png",
|
||||
"violet_beds_bed_side2.png",
|
||||
"violet_beds_bed_side2.png^[transformFX",
|
||||
"beds_bed_head.png",
|
||||
"beds_bed_head.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:violet", "wool:violet", "wool:violet"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
||||
|
||||
-- Simple Beds Section
|
||||
|
||||
beds.register_bed("colorful_beds:violet_bed", {
|
||||
description = ("Violet Simple Bed"),
|
||||
inventory_image = "violet_beds_bed.png",
|
||||
wield_image = "violet_beds_bed.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"violet_beds_bed_top_bottom.png^[transformR90",
|
||||
"beds_bed_under.png",
|
||||
"violet_beds_bed_side_bottom_r.png",
|
||||
"violet_beds_bed_side_bottom_r.png^[transformfx",
|
||||
"blank.png",
|
||||
"violet_beds_bed_side_bottom.png"
|
||||
},
|
||||
top = {
|
||||
"violet_beds_bed_top_top.png^[transformR90",
|
||||
"beds_bed_under.png",
|
||||
"violet_beds_bed_side_top_r.png",
|
||||
"violet_beds_bed_side_top_r.png^[transformfx",
|
||||
"beds_bed_side_top.png",
|
||||
"blank.png",
|
||||
}
|
||||
},
|
||||
nodebox = {
|
||||
bottom = {-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5},
|
||||
top = {-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5},
|
||||
},
|
||||
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.0625, 1.5},
|
||||
recipe = {
|
||||
{"wool:violet", "wool:violet", "wool:violet"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
87
mods/colorful_beds/colorful_beds_white.lua
Normal file
|
@ -0,0 +1,87 @@
|
|||
-- colorful_beds/colorful_beds_white.lua
|
||||
|
||||
-- Fancy Beds Section
|
||||
|
||||
beds.register_bed("colorful_beds:white_fancy_bed", {
|
||||
description = ("White Fancy Bed"),
|
||||
inventory_image = "white_beds_fancy.png",
|
||||
wield_image = "white_beds_fancy.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"white_beds_bed_top1.png",
|
||||
"beds_bed_under.png",
|
||||
"white_beds_bed_side1.png",
|
||||
"white_beds_bed_side1.png^[transformFX",
|
||||
"white_beds_bed_foot.png",
|
||||
"white_beds_bed_foot.png",
|
||||
},
|
||||
top = {
|
||||
"white_beds_bed_top2.png",
|
||||
"beds_bed_under.png",
|
||||
"white_beds_bed_side2.png",
|
||||
"white_beds_bed_side2.png^[transformFX",
|
||||
"beds_bed_head.png",
|
||||
"beds_bed_head.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:white", "wool:white", "wool:white"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
||||
|
||||
-- Simple Beds Section
|
||||
|
||||
beds.register_bed("colorful_beds:white_bed", {
|
||||
description = ("White Simple Bed"),
|
||||
inventory_image = "white_beds_bed.png",
|
||||
wield_image = "white_beds_bed.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"white_beds_bed_top_bottom.png^[transformR90",
|
||||
"beds_bed_under.png",
|
||||
"white_beds_bed_side_bottom_r.png",
|
||||
"white_beds_bed_side_bottom_r.png^[transformfx",
|
||||
"blank.png",
|
||||
"white_beds_bed_side_bottom.png"
|
||||
},
|
||||
top = {
|
||||
"white_beds_bed_top_top.png^[transformR90",
|
||||
"beds_bed_under.png",
|
||||
"white_beds_bed_side_top_r.png",
|
||||
"white_beds_bed_side_top_r.png^[transformfx",
|
||||
"beds_bed_side_top.png",
|
||||
"blank.png",
|
||||
}
|
||||
},
|
||||
nodebox = {
|
||||
bottom = {-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5},
|
||||
top = {-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5},
|
||||
},
|
||||
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.0625, 1.5},
|
||||
recipe = {
|
||||
{"wool:white", "wool:white", "wool:white"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
87
mods/colorful_beds/colorful_beds_yellow.lua
Normal file
|
@ -0,0 +1,87 @@
|
|||
-- colorful_beds/colorful_beds_yellow.lua
|
||||
|
||||
-- Fancy Beds Section
|
||||
|
||||
beds.register_bed("colorful_beds:yellow_fancy_bed", {
|
||||
description = ("Yellow Fancy Bed"),
|
||||
inventory_image = "yellow_beds_fancy.png",
|
||||
wield_image = "yellow_beds_fancy.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"yellow_beds_bed_top1.png",
|
||||
"beds_bed_under.png",
|
||||
"yellow_beds_bed_side1.png",
|
||||
"yellow_beds_bed_side1.png^[transformFX",
|
||||
"yellow_beds_bed_foot.png",
|
||||
"yellow_beds_bed_foot.png",
|
||||
},
|
||||
top = {
|
||||
"yellow_beds_bed_top2.png",
|
||||
"beds_bed_under.png",
|
||||
"yellow_beds_bed_side2.png",
|
||||
"yellow_beds_bed_side2.png^[transformFX",
|
||||
"beds_bed_head.png",
|
||||
"beds_bed_head.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"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
||||
|
||||
-- Simple Beds Section
|
||||
|
||||
beds.register_bed("colorful_beds:yellow_bed", {
|
||||
description = ("Yellow Simple Bed"),
|
||||
inventory_image = "yellow_beds_bed.png",
|
||||
wield_image = "yellow_beds_bed.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"yellow_beds_bed_top_bottom.png^[transformR90",
|
||||
"beds_bed_under.png",
|
||||
"yellow_beds_bed_side_bottom_r.png",
|
||||
"yellow_beds_bed_side_bottom_r.png^[transformfx",
|
||||
"blank.png",
|
||||
"yellow_beds_bed_side_bottom.png"
|
||||
},
|
||||
top = {
|
||||
"yellow_beds_bed_top_top.png^[transformR90",
|
||||
"beds_bed_under.png",
|
||||
"yellow_beds_bed_side_top_r.png",
|
||||
"yellow_beds_bed_side_top_r.png^[transformfx",
|
||||
"beds_bed_side_top.png",
|
||||
"blank.png",
|
||||
}
|
||||
},
|
||||
nodebox = {
|
||||
bottom = {-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5},
|
||||
top = {-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5},
|
||||
},
|
||||
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.0625, 1.5},
|
||||
recipe = {
|
||||
{"wool:yellow", "wool:yellow", "wool:yellow"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
197
mods/colorful_beds/colorful_fuel.lua
Normal file
|
@ -0,0 +1,197 @@
|
|||
-- colorful_beds/colorful_fuel.lua
|
||||
|
||||
-- Fuel Fancy Beds
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "colorful_beds:black_fancy_bed",
|
||||
burntime = 13
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "colorful_beds:blue_fancy_bed",
|
||||
burntime = 13
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "colorful_beds:brown_fancy_bed",
|
||||
burntime = 13
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "colorful_beds:cyan_fancy_bed",
|
||||
burntime = 13
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "colorful_beds:dark_green_fancy_bed",
|
||||
burntime = 13
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "colorful_beds:dark_grey_fancy_bed",
|
||||
burntime = 13
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "colorful_beds:green_fancy_bed",
|
||||
burntime = 13
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "colorful_beds:grey_fancy_bed",
|
||||
burntime = 13
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "colorful_beds:light_blue_fancy_bed",
|
||||
burntime = 13
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "colorful_beds:magenta_fancy_bed",
|
||||
burntime = 13
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "colorful_beds:orange_fancy_bed",
|
||||
burntime = 13
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "colorful_beds:pink_fancy_bed",
|
||||
burntime = 13
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "colorful_beds:red_fancy_bed",
|
||||
burntime = 13
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "colorful_beds:violet_fancy_bed",
|
||||
burntime = 13
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "colorful_beds:white_fancy_bed",
|
||||
burntime = 13
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "colorful_beds:yellow_fancy_bed",
|
||||
burntime = 13
|
||||
})
|
||||
|
||||
-- Fuel Simple Beds
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "colorful_beds:black_bed",
|
||||
burntime = 12
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "colorful_beds:blue_bed",
|
||||
burntime = 12
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "colorful_beds:brown_bed",
|
||||
burntime = 12
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "colorful_beds:cyan_bed",
|
||||
burntime = 12
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "colorful_beds:dark_green_bed",
|
||||
burntime = 12
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "colorful_beds:dark_grey_bed",
|
||||
burntime = 12
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "colorful_beds:green_bed",
|
||||
burntime = 12
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "colorful_beds:grey_bed",
|
||||
burntime = 12
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "colorful_beds:light_blue_bed",
|
||||
burntime = 12
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "colorful_beds:magenta_bed",
|
||||
burntime = 12
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "colorful_beds:orange_bed",
|
||||
burntime = 12
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "colorful_beds:pink_bed",
|
||||
burntime = 12
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "colorful_beds:red_bed",
|
||||
burntime = 12
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "colorful_beds:violet_bed",
|
||||
burntime = 12
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "colorful_beds:white_bed",
|
||||
burntime = 12
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "colorful_beds:yellow_bed",
|
||||
burntime = 12
|
||||
})
|
32
mods/colorful_beds/init.lua
Normal file
|
@ -0,0 +1,32 @@
|
|||
-- colorful_beds/init.lua
|
||||
|
||||
-- Loads The LUA Files For The Mod
|
||||
|
||||
local path = minetest.get_modpath("colorful_beds")
|
||||
|
||||
dofile(path .. "/colorful_beds_black.lua")
|
||||
dofile(path .. "/colorful_beds_blue.lua")
|
||||
dofile(path .. "/colorful_beds_brown.lua")
|
||||
dofile(path .. "/colorful_beds_cyan.lua")
|
||||
dofile(path .. "/colorful_beds_dark_green.lua")
|
||||
dofile(path .. "/colorful_beds_dark_grey.lua")
|
||||
dofile(path .. "/colorful_beds_green.lua")
|
||||
dofile(path .. "/colorful_beds_grey.lua")
|
||||
dofile(path .. "/colorful_beds_magenta.lua")
|
||||
dofile(path .. "/colorful_beds_orange.lua")
|
||||
dofile(path .. "/colorful_beds_pink.lua")
|
||||
dofile(path .. "/colorful_beds_red.lua")
|
||||
dofile(path .. "/colorful_beds_violet.lua")
|
||||
dofile(path .. "/colorful_beds_white.lua")
|
||||
dofile(path .. "/colorful_beds_yellow.lua")
|
||||
|
||||
-- Adds Some Light Blue Beds And Wool
|
||||
-- They Are Only Obtainable In Survival If You Have The Cropocalypse Mod
|
||||
-- To Craft Light Blue Dye
|
||||
dofile(path .. "/colorful_beds_light_blue.lua")
|
||||
|
||||
-- For Use As Fuel
|
||||
dofile(path .. "/colorful_fuel.lua")
|
||||
|
||||
-- For That Extra Bounce
|
||||
dofile(path .. "/bounce_mech.lua")
|
62
mods/colorful_beds/license.txt
Normal file
|
@ -0,0 +1,62 @@
|
|||
MIT License
|
||||
|
||||
Copyright (C) 2014-2016 BlockMen
|
||||
Copyright (C) 2014-2016 Various Minetest developers and contributors
|
||||
Copyright (c) 2023 Tarruvi
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this
|
||||
software and associated documentation files (the “Software”), to deal in the Software
|
||||
without restriction, including without limitation the rights to use, copy, modify,
|
||||
merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to the following
|
||||
conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies
|
||||
or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
||||
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
||||
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
||||
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
|
||||
OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
For more details:
|
||||
https://opensource.org/licenses/MIT
|
||||
|
||||
|
||||
Licenses of media (textures)
|
||||
----------------------------
|
||||
|
||||
Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
|
||||
Copyright (C) 2014-2016 BlockMen
|
||||
Copyright (C) 2018 TumeniNodes
|
||||
Copyright (c) 2023 Tarruvi
|
||||
|
||||
You are free to:
|
||||
Share — copy and redistribute the material in any medium or format.
|
||||
Adapt — remix, transform, and build upon the material for any purpose, even commercially.
|
||||
The licensor cannot revoke these freedoms as long as you follow the license terms.
|
||||
|
||||
Under the following terms:
|
||||
|
||||
Attribution — You must give appropriate credit, provide a link to the license, and
|
||||
indicate if changes were made. You may do so in any reasonable manner, but not in any way
|
||||
that suggests the licensor endorses you or your use.
|
||||
|
||||
ShareAlike — If you remix, transform, or build upon the material, you must distribute
|
||||
your contributions under the same license as the original.
|
||||
|
||||
No additional restrictions — You may not apply legal terms or technological measures that
|
||||
legally restrict others from doing anything the license permits.
|
||||
|
||||
Notices:
|
||||
|
||||
You do not have to comply with the license for elements of the material in the public
|
||||
domain or where your use is permitted by an applicable exception or limitation.
|
||||
No warranties are given. The license may not give you all of the permissions necessary
|
||||
for your intended use. For example, other rights such as publicity, privacy, or moral
|
||||
rights may limit how you use the material.
|
||||
|
||||
For more details:
|
||||
http://creativecommons.org/licenses/by-sa/3.0/
|
4
mods/colorful_beds/mod.conf
Normal file
|
@ -0,0 +1,4 @@
|
|||
name = colorful_beds
|
||||
description = Minetest Game mod: colorful_beds
|
||||
depends = beds, default, wool
|
||||
optional_depends = cropocalypse
|
BIN
mods/colorful_beds/textures/black_beds_bed.png
Normal file
After Width: | Height: | Size: 551 B |
BIN
mods/colorful_beds/textures/black_beds_bed_foot.png
Normal file
After Width: | Height: | Size: 427 B |
BIN
mods/colorful_beds/textures/black_beds_bed_side1.png
Normal file
After Width: | Height: | Size: 346 B |
BIN
mods/colorful_beds/textures/black_beds_bed_side2.png
Normal file
After Width: | Height: | Size: 373 B |
BIN
mods/colorful_beds/textures/black_beds_bed_side_bottom.png
Normal file
After Width: | Height: | Size: 541 B |
BIN
mods/colorful_beds/textures/black_beds_bed_side_bottom_r.png
Normal file
After Width: | Height: | Size: 512 B |
BIN
mods/colorful_beds/textures/black_beds_bed_side_top_r.png
Normal file
After Width: | Height: | Size: 592 B |
BIN
mods/colorful_beds/textures/black_beds_bed_top1.png
Normal file
After Width: | Height: | Size: 466 B |
BIN
mods/colorful_beds/textures/black_beds_bed_top2.png
Normal file
After Width: | Height: | Size: 594 B |
BIN
mods/colorful_beds/textures/black_beds_bed_top_bottom.png
Normal file
After Width: | Height: | Size: 419 B |
BIN
mods/colorful_beds/textures/black_beds_bed_top_top.png
Normal file
After Width: | Height: | Size: 604 B |
BIN
mods/colorful_beds/textures/black_beds_fancy.png
Normal file
After Width: | Height: | Size: 536 B |
BIN
mods/colorful_beds/textures/blue_beds_bed.png
Normal file
After Width: | Height: | Size: 557 B |
BIN
mods/colorful_beds/textures/blue_beds_bed_foot.png
Normal file
After Width: | Height: | Size: 427 B |
BIN
mods/colorful_beds/textures/blue_beds_bed_side1.png
Normal file
After Width: | Height: | Size: 346 B |
BIN
mods/colorful_beds/textures/blue_beds_bed_side2.png
Normal file
After Width: | Height: | Size: 373 B |
BIN
mods/colorful_beds/textures/blue_beds_bed_side_bottom.png
Normal file
After Width: | Height: | Size: 536 B |
BIN
mods/colorful_beds/textures/blue_beds_bed_side_bottom_r.png
Normal file
After Width: | Height: | Size: 506 B |
BIN
mods/colorful_beds/textures/blue_beds_bed_side_top_r.png
Normal file
After Width: | Height: | Size: 589 B |
BIN
mods/colorful_beds/textures/blue_beds_bed_top1.png
Normal file
After Width: | Height: | Size: 466 B |
BIN
mods/colorful_beds/textures/blue_beds_bed_top2.png
Normal file
After Width: | Height: | Size: 599 B |
BIN
mods/colorful_beds/textures/blue_beds_bed_top_bottom.png
Normal file
After Width: | Height: | Size: 416 B |
BIN
mods/colorful_beds/textures/blue_beds_bed_top_top.png
Normal file
After Width: | Height: | Size: 624 B |
BIN
mods/colorful_beds/textures/blue_beds_fancy.png
Normal file
After Width: | Height: | Size: 541 B |
BIN
mods/colorful_beds/textures/brown_beds_bed.png
Normal file
After Width: | Height: | Size: 554 B |
BIN
mods/colorful_beds/textures/brown_beds_bed_foot.png
Normal file
After Width: | Height: | Size: 425 B |
BIN
mods/colorful_beds/textures/brown_beds_bed_side1.png
Normal file
After Width: | Height: | Size: 346 B |
BIN
mods/colorful_beds/textures/brown_beds_bed_side2.png
Normal file
After Width: | Height: | Size: 375 B |
BIN
mods/colorful_beds/textures/brown_beds_bed_side_bottom.png
Normal file
After Width: | Height: | Size: 536 B |
BIN
mods/colorful_beds/textures/brown_beds_bed_side_bottom_r.png
Normal file
After Width: | Height: | Size: 505 B |
BIN
mods/colorful_beds/textures/brown_beds_bed_side_top_r.png
Normal file
After Width: | Height: | Size: 589 B |
BIN
mods/colorful_beds/textures/brown_beds_bed_top1.png
Normal file
After Width: | Height: | Size: 454 B |
BIN
mods/colorful_beds/textures/brown_beds_bed_top2.png
Normal file
After Width: | Height: | Size: 593 B |
BIN
mods/colorful_beds/textures/brown_beds_bed_top_bottom.png
Normal file
After Width: | Height: | Size: 417 B |
BIN
mods/colorful_beds/textures/brown_beds_bed_top_top.png
Normal file
After Width: | Height: | Size: 612 B |
BIN
mods/colorful_beds/textures/brown_beds_fancy.png
Normal file
After Width: | Height: | Size: 534 B |
BIN
mods/colorful_beds/textures/cb_wool_light_blue.png
Normal file
After Width: | Height: | Size: 251 B |
BIN
mods/colorful_beds/textures/cyan_beds_bed.png
Normal file
After Width: | Height: | Size: 561 B |
BIN
mods/colorful_beds/textures/cyan_beds_bed_foot.png
Normal file
After Width: | Height: | Size: 426 B |
BIN
mods/colorful_beds/textures/cyan_beds_bed_side1.png
Normal file
After Width: | Height: | Size: 347 B |
BIN
mods/colorful_beds/textures/cyan_beds_bed_side2.png
Normal file
After Width: | Height: | Size: 378 B |
BIN
mods/colorful_beds/textures/cyan_beds_bed_side_bottom.png
Normal file
After Width: | Height: | Size: 535 B |
BIN
mods/colorful_beds/textures/cyan_beds_bed_side_bottom_r.png
Normal file
After Width: | Height: | Size: 507 B |
BIN
mods/colorful_beds/textures/cyan_beds_bed_side_top_r.png
Normal file
After Width: | Height: | Size: 590 B |
BIN
mods/colorful_beds/textures/cyan_beds_bed_top1.png
Normal file
After Width: | Height: | Size: 467 B |
BIN
mods/colorful_beds/textures/cyan_beds_bed_top2.png
Normal file
After Width: | Height: | Size: 601 B |
BIN
mods/colorful_beds/textures/cyan_beds_bed_top_bottom.png
Normal file
After Width: | Height: | Size: 413 B |
BIN
mods/colorful_beds/textures/cyan_beds_bed_top_top.png
Normal file
After Width: | Height: | Size: 622 B |
BIN
mods/colorful_beds/textures/cyan_beds_fancy.png
Normal file
After Width: | Height: | Size: 545 B |
BIN
mods/colorful_beds/textures/dark_green_beds_bed.png
Normal file
After Width: | Height: | Size: 548 B |
BIN
mods/colorful_beds/textures/dark_green_beds_bed_foot.png
Normal file
After Width: | Height: | Size: 429 B |
BIN
mods/colorful_beds/textures/dark_green_beds_bed_side1.png
Normal file
After Width: | Height: | Size: 346 B |
BIN
mods/colorful_beds/textures/dark_green_beds_bed_side2.png
Normal file
After Width: | Height: | Size: 377 B |
BIN
mods/colorful_beds/textures/dark_green_beds_bed_side_bottom.png
Normal file
After Width: | Height: | Size: 543 B |
After Width: | Height: | Size: 513 B |
BIN
mods/colorful_beds/textures/dark_green_beds_bed_side_top_r.png
Normal file
After Width: | Height: | Size: 596 B |
BIN
mods/colorful_beds/textures/dark_green_beds_bed_top1.png
Normal file
After Width: | Height: | Size: 458 B |
BIN
mods/colorful_beds/textures/dark_green_beds_bed_top2.png
Normal file
After Width: | Height: | Size: 600 B |
BIN
mods/colorful_beds/textures/dark_green_beds_bed_top_bottom.png
Normal file
After Width: | Height: | Size: 418 B |
BIN
mods/colorful_beds/textures/dark_green_beds_bed_top_top.png
Normal file
After Width: | Height: | Size: 616 B |
BIN
mods/colorful_beds/textures/dark_green_beds_fancy.png
Normal file
After Width: | Height: | Size: 532 B |
BIN
mods/colorful_beds/textures/dark_grey_beds_bed.png
Normal file
After Width: | Height: | Size: 552 B |
BIN
mods/colorful_beds/textures/dark_grey_beds_bed_foot.png
Normal file
After Width: | Height: | Size: 426 B |
BIN
mods/colorful_beds/textures/dark_grey_beds_bed_side1.png
Normal file
After Width: | Height: | Size: 349 B |
BIN
mods/colorful_beds/textures/dark_grey_beds_bed_side2.png
Normal file
After Width: | Height: | Size: 375 B |
BIN
mods/colorful_beds/textures/dark_grey_beds_bed_side_bottom.png
Normal file
After Width: | Height: | Size: 540 B |
BIN
mods/colorful_beds/textures/dark_grey_beds_bed_side_bottom_r.png
Normal file
After Width: | Height: | Size: 511 B |
BIN
mods/colorful_beds/textures/dark_grey_beds_bed_side_top_r.png
Normal file
After Width: | Height: | Size: 591 B |
BIN
mods/colorful_beds/textures/dark_grey_beds_bed_top1.png
Normal file
After Width: | Height: | Size: 462 B |
BIN
mods/colorful_beds/textures/dark_grey_beds_bed_top2.png
Normal file
After Width: | Height: | Size: 590 B |
BIN
mods/colorful_beds/textures/dark_grey_beds_bed_top_bottom.png
Normal file
After Width: | Height: | Size: 422 B |
BIN
mods/colorful_beds/textures/dark_grey_beds_bed_top_top.png
Normal file
After Width: | Height: | Size: 605 B |
BIN
mods/colorful_beds/textures/dark_grey_beds_fancy.png
Normal file
After Width: | Height: | Size: 537 B |
BIN
mods/colorful_beds/textures/green_beds_bed.png
Normal file
After Width: | Height: | Size: 572 B |
BIN
mods/colorful_beds/textures/green_beds_bed_foot.png
Normal file
After Width: | Height: | Size: 443 B |
BIN
mods/colorful_beds/textures/green_beds_bed_side1.png
Normal file
After Width: | Height: | Size: 350 B |
BIN
mods/colorful_beds/textures/green_beds_bed_side2.png
Normal file
After Width: | Height: | Size: 378 B |
BIN
mods/colorful_beds/textures/green_beds_bed_side_bottom.png
Normal file
After Width: | Height: | Size: 563 B |
BIN
mods/colorful_beds/textures/green_beds_bed_side_bottom_r.png
Normal file
After Width: | Height: | Size: 534 B |